Subject: Re: [SWIPL] prolog and the web

From: Anjo Anjewierden <anjo>
Date: Wed, 29 Aug 2001 00:36:40 +0200 (MET DST)

> 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.