Brian Campbell <email@example.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 Warnock, 31-2-510 firstname.lastname@example.org
Network Engineering http://reality.sgi.com/rpw3/
Silicon Graphics, Inc. Phone: 650-933-1673
1600 Amphitheatre Pkwy. PP-ASEL-IA
Mountain View, CA 94043