The PiLLoW Web Programming Library - Introduction

Go to the first, previous, next, last section, table of contents.

# Introduction

This package implements the PiLLoW library [CHV96]. The following three chapters document, respectively, the predicates for HTML/XML/CGI programming, the predicate for HTTP conectivity, and the types used in the definition of the predicates (key for fully understanding the other predicates). You can find a paper and some additional information in the `library/pillow/doc` directory of the distribution, and in the WWW at http://clip.dia.fi.upm.es/Software/pillow/pillow.html. There is also a PiLLoW on-line tutorial (slides) at http://clip.dia.fi.upm.es/logalg/slides/C_pillow/C_pillow.html which illustrates the basic features and provides a number of examples of PiLLoW use.

- Installing PiLLoW
- Usage and interface (pillow)

## Installing PiLLoW

To correctly install PiLLoW, first, make sure you downloaded the right version of PiLLoW (there are different versions for different LP/CLP systems; the version that comes with Ciao is of course the right one for Ciao). Then, please follow these steps:

1. Copy the files in the `images` directory to a WWW accessible directory in your server.
2. Edit the file `icon_address.pl` and change the fact to point to the URL to be used to access the images above.
3. In the Ciao system the files are in the correct place, in other systems copy the files `pillow.pl` and `icon_address.pl` to a suitable directory so that your Prolog system will find them.

## Usage and interface (`pillow`)

- Library usage: `:- use_package(pillow).` or `:- module(...,...,[pillow]).`
- New operators defined: `$/2` [150,xfx], `$/1` [150,fx].

Go to the first, previous, next, last section, table of contents.