Subject: Re: Scheme for Web Application Development
From: rpw3@rigden.engr.sgi.com (Rob Warnock)
Date: 11 Dec 2000 07:28:38 GMT
Newsgroups: comp.lang.scheme
Message-ID: <911vn6$9047g$1@fido.engr.sgi.com>
Brian Campbell  <lambda3@hotmail.com> 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:http://www.fractalconcept.com> 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:http://www.fractalconcept.com/asp/debug>
and <URL:https://www.fractalconcept.com/asp/debug> (SSL) run the
same demo Lisp code.


-Rob

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