SIMPOL Documentation

Sample Web Server Applications Shipped with SIMPOL

The \SIMPOL\Projects\ssp directory contains a group of sample programs that demonstrate how to create and run applications from the web server. These include samples that are interlinked in some cases. It also includes both database and non-database related programs. The sbiscalendar project produces a simple calendar. The current day of the month is highlighted in a different color. There is also a useful tool for examining the environment variables that are available to the programming environment, called sbisenvvars. The following demonstrate basic database usage:

  • sbiscontact

  • sbiscontactdisplay

  • sbiscontactpost

  • sbisreport

  • sbisreportfast

The starting point is the first item. To try it out at http://www.simpol.com/cgi-bin/sbiscontact.smp. These can all be set up to run on a local web server running on your development computer. The easiest approach is to install a local copy of the Apache web server. Then you will need to modify the local target in each project to match your system architecture. If the installer was able to find apache, it may have already modified the programs. The programs look for the sbis.ini file, so that may need to be modified, as will the basehref in the header.htm file. All of the items that are needed for the web server can be found in the apache inside of the ssp directory. It is a good idea to also run a local PPCS server to host the database. The samples ship with everything required in the ppcsserver directory in the project folder.

Finally there is a frame sample, which is admittedly someone outdated in terms of modern web design, but still may have some use. To run it, start the sbisframesample.smp in your browser using the correct URL or try it at http://www.simpol.com/cgi-bin/sbisframesample.smp.