Welcome to the PiLLoW Library Examples page (CS550)

PiLLoW
These examples correspond to the PiLLoW tutorial slides. These versions have been tested and are currently running on the CS machines. To download the code (to see it) in most browsers simply click with the right mouse button on the source link and select download link or similar.

hw.html (html text file)
hw_csh.cgi (source) (CGI executable, using csh script)
hw_prolog.cgi (source - you have to fight your browser's tendency to interpret .pl as perl in order to see it) (a Ciao executable)
hw_pshell.cgi (source) (a Ciao Prolog script)
hw_pillow.cgi (source) (using PiLLoW library)
simple_form.html (html text file - select 'view-source' to view the source)
simple_handler.cgi (source) (using PiLLoW library)
simple_form_pillow.cgi (source) (form generated using PiLLoW library)
simple_form_pillow_sugar.cgi (source) (form generated using PiLLoW library, using some syntactic sugar)
combined_form.cgi (source) (using PiLLoW library)
html_forms.cgi (source) (generated using PiLLoW library)
Simple phones database: phone_db.cgi (source) (using PiLLoW library)
html_template.html (with "holes") (html text file - select 'view-source' to view the source)
Simple phones database: phone_db_template.cgi (source) (using PiLLoW library and templates)
Link checker (source) (using PiLLoW library)

Note that the servers (the active modules) must be running for the following to work:

Simple phones database: phone_db_client.cgi (client and server source.) (Using using PiLLoW library, templates, active modules).
Template for phones database with change: html_template2.html. (html text file - select 'view-source' to view the source)
Phones database with change: phone_db_client2.cgi (client and server source.) (Using PiLLoW library, templates, active modules).
Phones database with change and persistence: phone_db_client2pers.cgi (client and server source.) (Using PiLLoW library, templates, active modules, persistent predicates).

FYI, this is the Makefile I am using.