From anjo Wed Aug 29 00:36:40 2001
Received: (from anjo@localhost)
	by swi.psy.uva.nl (8.11.2/8.11.2) id f7SMae218816;
	Wed, 29 Aug 2001 00:36:40 +0200 (MET DST)
Date: Wed, 29 Aug 2001 00:36:40 +0200 (MET DST)
Message-Id: <200108282236.f7SMae218816@swi.psy.uva.nl>
From: Anjo Anjewierden <anjo>
Subject: Re: [SWIPL] prolog and the web
To: prolog@swi.psy.uva.nl, prolog-request@swi.psy.uva.nl
Content-Type: text

> Hi,
> 
> What is the best way to put pl apps on the web? cgi?  prolog and 
> java? In the case of cgis  which is a better way pillow or xcpe, and 
> what  about java?
> -- 

SWI-Prolog contains a library that encapsulates a web
interface.  This is available as a class inside XPCE
(class http).   With it you can run Prolog programs
as part of your web pages.  A more recent development
is that it is also possible to use the http post requests
making it possible to exchange data.  The latter is under
development, although I have been using it in a number
of applications.

Someone has also written a connection between Java and
SWI-Prolog.  I'm not sure about the status and availability
but it is known to work.

Jan Wielemaker, in a recent presentation, has shown that
Prolog is a serious alternative to other approaches of
making web-based programs.  The http class is a good
point to start, it is really simple once you get the
hang of it. 

Anjo.

