|
 |
| Slide 1:
A Simple Janus Web Application - From Soup to Nuts
|
|
 |
| Slide 2:
Menu
|
|
 |
| Slide 3:
Converting an existing 3270 app
|
|
 |
| Slide 4:
Handling the incoming request from the form
|
|
 |
| Slide 5:
<form> overview
|
|
 |
| Slide 6:
The <form> tag expanded
|
|
 |
| Slide 7:
A Little more form
|
|
 |
| Slide 8:
Entering Input
|
|
 |
| Slide 9:
Where does form data go?
|
|
 |
| Slide 10:
Improved Form
|
|
 |
| Slide 11:
Form data
|
|
 |
| Slide 12:
How do we get the form data?
|
|
 |
| Slide 13:
$WEB_PARM
|
|
 |
| Slide 14:
User Language Functions handle header and form contents
|
|
 |
| Slide 15:
Browser Header Parms
|
|
 |
| Slide 16:
Some useful header parameters
|
|
 |
| Slide 17:
Janus Web leverages the native capabilities of Model 204
|
|
 |
| Slide 18:
Form & DB lookup - 1st pass - 1st page
|
|
 |
| Slide 19:
Form & DB lookup - 1st pass - 2nd page
|
|
 |
| Slide 20:
Form & DB lookup - 1st pass - 3rd page
|
|
 |
| Slide 21:
Form & DB lookup - 1st pass - 4th page
|
|
 |
| Slide 22:
Ta-da!
|
|
 |
| Slide 23:
A Little Cleanup
|
|
 |
| Slide 24:
<BR>
|
|
 |
| Slide 25:
Complex formatting tags: tables
|
|
 |
| Slide 26:
A <table> example
|
|
 |
| Slide 27:
FOR EACH RECORD LOOP Creating a Table
|
|
 |
| Slide 28:
Browser View of Example Table
|
|
 |
| Slide 29:
Make each column a cell
|
|
 |
| Slide 30:
Browser View of Example
|
|
 |
| Slide 31:
Links
|
|
 |
| Slide 32:
Linking: Relative vs. Absolute References
|
|
 |
| Slide 33:
Wouldn't it be cool if...
|
|
 |
| Slide 34:
Piece of cake
|
|
 |
| Slide 35:
Browser View of Example
|
|
 |
| Slide 36:
INV.DISPLAY - Pg 1
|
|
 |
| Slide 37:
%INVNBR = $WEB_PARM(,1)
|
|
 |
| Slide 38:
INV.DISPLAY - Pg 2
|
|
 |
| Slide 39:
INV.DISPLAY - Pg. 3
|
|
 |
| Slide 40:
Browser View of Example
|
|
 |
| Slide 41:
Insertion of Graphics
|
|
 |
| Slide 42:
Let's insert a graphic
|
|
 |
| Slide 43:
Browser View of Example
|
|
 |
| Slide 44:
HTML / TEXT Blocks
|
|
 |
| Slide 45:
What happens when we hit the BACK button?
|
|
 |
| Slide 46:
Browser Cacheing
|
|
 |
| Slide 47:
When will it Re-load?
|
|
 |
| Slide 48:
$WEB_DATE / $WEB_EXPIRE
|
|
 |
| Slide 49:
PRAGMA HTTP Header Parm
|
|
 |
| Slide 50:
A whole lotta shakin' going on. (inside Model 204)
|
|
 |
| Slide 51:
Global substitution is easy
|
|
 |
| Slide 52:
Error Handling
|
|
 |
| Slide 53:
Whew? Did we cover it all?
|
|