Subject: Re: Scheme for Web Application Development
From: (Rob Warnock)
Date: 11 Dec 2000 07:28:38 GMT
Newsgroups: comp.lang.scheme
Message-ID: <911vn6$9047g$>
Brian Campbell  <> wrote:
| I'm considering developing a web based application in scheme, and am
| wondering what people think of the various options... I could also use
| some scheme with an interface to unix environment variables as CGI
| scripts. Are there any good cgi libraries for various schemes? Or I
| could run the web server written in Scsh, but I think that that's
| probably not really viable. 

Another option, faster than forking a new Scheme process for each access,
might be to use Marc Battyani's "mod_lisp" for Apache [discussed recently
in comp.lang.lisp], based on "mod_JServ". He includes some sample Common
Lisp code that should be almost trivial to convert to any Scheme that has
sockets and "read-line". See <URL:> for more
details (and the code).

One advantage of using Apache as the front end is that you don't
have to do the *whole* web site in Scheme at at once. Also, yo
can let Apache handle SSL and/or authentication, if you like.
For example, both <URL:>
and <URL:> (SSL) run the
same demo Lisp code.


Rob Warnock, 31-2-510
Network Engineering
Silicon Graphics, Inc.		Phone: 650-933-1673
1600 Amphitheatre Pkwy.		PP-ASEL-IA
Mountain View, CA  94043