SHTML Introduction
From GWAVA4
Under the hood of the GWAVA interface you are looking at is a simple, robust and standards based CGI language that dynamically interrogates the GWAVA database to display information to users of a GWAVA network.
The standard that this interface is based on is called SHTML. The original spec that the GWAVA interface is based on can be found Here
If you want to be able to customize the GWAVA interface, and associated templates, a basic understanding of SHTML is necessary. All of the GWAVA pages use SHTML as a basic scripting language to retrieve/store information from databases, and display the information in a usable fashion for the user. The notification and digest templates also use SHTML
A complete tutorial is included as part of the GWAVAMAN installation.
Among the subjects covered:
- What is SHTML
- Who should use SHTML
- How does SHTML work
- What SHTML looks like
- GWAVA SHTML vs W3C SHTML
- Using variables
- Loops
- Conditional operations
- Embedded files
- Script control
- Database access
- XML commands
- Command summary
- Variable summary
You may find the tutorial by typing http://server_ip_address:49282/shtml_tutorial/shtmltutorial.shtml into your web browser.
After you have read the tutorial, you might want to look at the samples subdirectory located at<productRoot>/http/shtml_tutorial/samples for additional examples. Then dive in! (After backing up of course).
