Mel's demos include examples of all the services
available through his service program.|
Giovanni's demos just stick on the basic services of Mel's service program.
They are therefore much simpler.
Our suggestion is to start looking at Giovanni's demos, then to go into Mel's ones.
Note. All demos (the ones mentioned in this page, plus the Boats Demo) implement the HTML ResponsiveWeb Design techniques. These techniques allow to automatically resize, hide, shrink, or enlarge, a website, to make it look good on all devices (desktops, tablets, and phones). Read about it on this W3Schools page.
(The first two Mel's demos are skipped, because they are technically superseded)
Note 3.1. This demo uses the zhbgetinput subprocedure to read the input string.
Note 3.1. It uses subprocedure zhbgetvar to retrieve unique input variables into program defined fields.
Note 3.3. Subprocedures zhbgetvarcnt and zhbgetvar are used to retrieve multiple occurrences of the same variable in the input string.
Computer Discount House No. 4
Note 4.1. This demo is the same as Computer Discount House No. 3. The only difference here is that the external HTML script is loaded from an IFS stream file, rather than from a source member.
Computer Discount House No. 5
Note 5.1. This demo is the same as Computer Discount House No. 4. The only difference here is that the external HTML script is loaded from several IFS stream file, using subprocedure getHtmlifsMult.
This is the simplest CGI demo in the world. You type your name and you get it back along with the current release of your OS/400.
It is used to validate the HTTP PTF status on your OS/400.
Just an opinion
This is another simple CGI demo. You ask the CGI to provide you with its opinion about a subject of your choice. The CGI gives you one out of five predefined answers, randomly.
Our delivery times
This demo illustrates how to create a listing, to be viewed page by page. This -in concepts- is similar to processing a traditional 5250 single page subfile.
If features dynamic position to, pageup, and pagedown buttons.
Read-Change a subfile
This demo illustrates how to process the input fields from a table in a way similar to the 5250 subfile READC.
The program also features techniques to convert character-numeric input fields to program numeric variables (an area where programmers usually feel quite unconfortable).