<HTML> <HEAD> <!-- Created by texi2html 1.56k + clip patches and <A href="http://www.clip.dia.fi.upm.es/Software">lpdoc</A> from ciao.texi on 28 January 2007 --> <LINK rel="stylesheet" href="ciao.css" type="text/css"> <TITLE>The Ciao Prolog System - The PiLLoW Web programming library</TITLE> </HEAD> <BODY> Go to the <A HREF="ciao_1.html">first</A>, <A HREF="ciao_143.html">previous</A>, <A HREF="ciao_145.html">next</A>, <A HREF="ciao_241.html">last</A> section, <A HREF="ciao_toc.html">table of contents</A>. <P><HR><P> <H1><A NAME="SEC596" HREF="ciao_toc.html#TOC596">The PiLLoW Web programming library</A></H1> <P> <A NAME="IDX6561"></A> <P> <STRONG>Author(s):</STRONG> Daniel Cabeza, Manuel Hermenegildo, , The Computational logic, Languages, , Implementation, and Parallelism (CLIP) Group, <A HREF="mailto:webmaster@clip.dia.fi.upm.es">webmaster@clip.dia.fi.upm.es</A>, <A HREF="http://www.cliplab.org/">http://www.cliplab.org/</A>, School of CS, Technical University of Madrid, CS and ECE Departments, University of New Mexico. <P> <STRONG>Version:</STRONG> 1.10#7 (2006/4/26, 19:22:13 CEST) <P> <STRONG>Version of last change:</STRONG> 1.9#231 (2003/12/22, 17:58:8 CET) <P> <A NAME="IDX6562"></A> <A NAME="IDX6563"></A> <A NAME="IDX6564"></A> <A NAME="IDX6565"></A> <P> <A NAME="IDX6566"></A> <A NAME="IDX6567"></A> <P> <A NAME="IDX6568"></A> <A NAME="IDX6569"></A> <P> <A NAME="IDX6570"></A> <A NAME="IDX6571"></A> This package implements the PiLLoW library [CHV96a]. 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 <A NAME="IDX6572"></A> <CODE>library/pillow/doc</CODE> directory of the distribution, and in the WWW at <A HREF="http://clip.dia.fi.upm.es/Software/pillow/pillow.html">http://clip.dia.fi.upm.es/Software/pillow/pillow.html</A>. There is also a <A NAME="IDX6573"></A> <A NAME="IDX6574"></A> <EM>PiLLoW on-line tutorial</EM> (slides) at <A HREF="http://clip.dia.fi.upm.es/logalg/slides/C_pillow/C_pillow.html">http://clip.dia.fi.upm.es/logalg/slides/C_pillow/C_pillow.html</A> which illustrates the basic features and provides a number of examples of PiLLoW use. <UL> <LI><A HREF="ciao_144.html#SEC597">Installing PiLLoW</A> <LI><A HREF="ciao_144.html#SEC598">Usage and interface (pillow)</A> </UL> <H2><A NAME="SEC597" HREF="ciao_toc.html#TOC597">Installing PiLLoW</A></H2> <P> 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: <OL> <LI>Copy the files in the <CODE>images</CODE> directory to a WWW accessible directory in your server. <LI>Edit the file <A NAME="IDX6575"></A> <CODE>icon_address.pl</CODE> and change the fact to point to the URL to be used to access the images above. <LI>In the Ciao system the files are in the correct place, in other systems copy the files <A NAME="IDX6576"></A> <CODE>pillow.pl</CODE> and <A NAME="IDX6577"></A> <CODE>icon_address.pl</CODE> to a suitable directory so that your Prolog system will find them. </OL> <H2><A NAME="SEC598" HREF="ciao_toc.html#TOC598">Usage and interface (<CODE>pillow</CODE>)</A></H2> <div class="cartouche"> <UL> <LI><STRONG>Library usage:</STRONG> <CODE>:- use_package(pillow).</CODE> or <CODE>:- module(...,...,[pillow]).</CODE> <LI><STRONG>New operators defined:</STRONG> <A NAME="IDX6578"></A> <CODE>$/2</CODE> [150,xfx], <A NAME="IDX6579"></A> <CODE>$/1</CODE> [150,fx]. <LI><STRONG>Other modules used:</STRONG> <UL> <LI><EM>System library modules:</EM> <A NAME="IDX6580"></A> <CODE>pillow/http</CODE>, <A NAME="IDX6581"></A> <CODE>pillow/html</CODE>. </UL> </UL> </div class="cartouche"> <P><HR><P> Go to the <A HREF="ciao_1.html">first</A>, <A HREF="ciao_143.html">previous</A>, <A HREF="ciao_145.html">next</A>, <A HREF="ciao_241.html">last</A> section, <A HREF="ciao_toc.html">table of contents</A>. </BODY> </HTML>