PowerWeb Server++ API Sample Code
 

The Sample Library Below Consists of Four Extensions:
Extended Forms Processing for Calculations
Customised Viewer for Database Files
Simple Direct-Call to Display a Message
Display a Tree View of PowerWeb Server++ Variables
The Sample Code Illustrates the Following Benefits of PowerWeb Server++ APIs:
The Choice of Implementation Language.
You can write extensions in Rexx or in a compiled language such as C. The source code for the sample database viewer is provided in both Rexx and C.

The Ease of Writing API Extensions.
With just 80 lines of code including blank lines and comments, a customised viewer was written for presenting comma-separated-variable database files in a table in HTML. This viewer can be attached to all such files on the server through a single rule in the configuration file.

The Power of API Extensions.
The sample code hints at the level of sophistication and speed of execution that can be achieved through API Extensions.

The Minimal Overhead of API Extensions.
The entire library, including several extensions, compiles to under 8K bytes and is very fast to load.

You Can Use Your Browser to View the Following Components of the Sample Code:
C source code
Rexx source code
The other files (including make files) are all contained within the \powerweb\system\tour\source directory.

Copyright © CompuSource
All rights reserved.
[email protected]