From: Per Bothner <per@bothner.com>
Cc: George Moschovitis <gm@navel.gr>, guile-user@gnu.org
Subject: Re: integrating guile in an apache module
Date: Sat, 02 Aug 2003 23:11:15 -0700 [thread overview]
Message-ID: <3F2CA783.4070605@bothner.com> (raw)
In-Reply-To: <20030729113532.GD4273@www>
rm@fabula.de wrote:
> On Tue, Jul 29, 2003 at 01:44:28PM +0300, George Moschovitis wrote:
>
>>Hello everybody!
>>
>>I am trying to code an apache2.0 module that uses guile for scripting
>>dynamic html pages.
>
> Well, with Apache2 you might encounter other, more severe, problems as
> well. Apache2 might run in multithreaded manner and hence there's a
> high chance for several modules to execute in parallel. AFAIK guile
> is'nt meant to be run in parallel (only one thread can use guile).
You might consider using Kawa for scripting dynamic html web pages in
Scheme. Kawa supports compiling a Scheme program to a "servlet" which
can run quite efficiently in a "servlet engine" such as Tomcat. And
of course servlets are designed to be run using multiple threads.
This article show how simple it can be:
http://www.gnu.org/software/qexo/simple-xquery-webapp.html
The article uses the XQuery language, but using Scheme should
also work in the same way (though I haven't tried writing a
Scheme version of the example). (To avoid mis-understandings:
Kawa is now a multi-language framework, providing implementations
of Scheme, Emacs Lisp, XQuery, and other languages.)
You might also consider BRL: http://brl.sourceforge.net/
--
--Per Bothner
per@bothner.com http://per.bothner.com/
_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-user
next prev parent reply other threads:[~2003-08-03 6:11 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-07-29 10:44 integrating guile in an apache module George Moschovitis
2003-07-29 11:35 ` rm
2003-07-30 3:21 ` Sergey Dolin
2003-07-30 8:34 ` tomas
2003-08-03 6:11 ` Per Bothner [this message]
2003-07-29 12:19 ` Dale P. Smith
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3F2CA783.4070605@bothner.com \
--to=per@bothner.com \
--cc=gm@navel.gr \
--cc=guile-user@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).