
I'm interested in running Haskell code invoked from an Apache web server request. I discovered the mod_haskell project [1] which looks prima facie v. promising. Does anyone have any recent experience of using this (there apparently being no recent activity on this project)? I wonder if there's any other project or activity in this area I should be aware of? #g -- [1] http://losser.st-lab.cs.uu.nl/mod_haskell/ ------------ Graham Klyne For email: http://www.ninebynine.org/#Contact

gk:
I'm interested in running Haskell code invoked from an Apache web server request. I discovered the mod_haskell project [1] which looks prima facie v. promising. Does anyone have any recent experience of using this (there apparently being no recent activity on this project)?
I wonder if there's any other project or activity in this area I should be aware of?
A couple that I can think of: 1) Is Niklas Broberg's HSP. Niklas has said: | Indeed, we have a working server that does runtime loading of HSP | pages (i.e. Haskell apps) using hs-plugins. We'll be releasing a first | version some time really soon, but if you want a preview just send me | a mail. =) 2) Is lambdabot's @plugs function which evaluates Haskell code via plugins through an irc interface. The code fragments are arbitrary, so there are restrictions on the type of the value, on the in-scope modules, and on the running time of the application. There's a few other small, or unannounced projects of this flavour floating around -- Don

1) Is Niklas Broberg's HSP. Niklas has said:
| Indeed, we have a working server that does runtime loading of HSP | pages (i.e. Haskell apps) using hs-plugins. We'll be releasing a first | version some time really soon, but if you want a preview just send me | a mail. =)
I still hold to that claim, however one of the things that will *not* be included in the first release is an Apache binding. I know Lemmih has a library with basic bindings that could be used but I will concentrate on getting "the rest" to work first. Still, I wonder if this is what Graham is really after. mod_haskell allows you to write Apache _modules_ in Haskell, not pages which is what HSP is about. /Niklas

On 14/04/2005, at 8:37 PM, Graham Klyne wrote:
I'm interested in running Haskell code invoked from an Apache web server request. I discovered the mod_haskell project [1] which looks prima facie v. promising. Does anyone have any recent experience of using this (there apparently being no recent activity on this project)?
If you're using GHC, I don't think a mod_haskell is a feasible option right now, since Haskell code can't be compiled to a dynamic library (unless you statically compile in mod_haskell into Apache, which is pretty unusual these days, or you're on Mac OS X which supports dynamic libraries, but then you're treading on pretty new ground). You're probably best off with a standalone CGI program. -- % Andre Pang : trust.in.love.to.save http://www.algorithm.com.au/

Graham Klyne
I'm interested in running Haskell code invoked from an Apache web server request. I discovered the mod_haskell project [1] which looks prima facie v. promising. Does anyone have any recent experience of using this (there apparently being no recent activity on this project)?
I wonder if there's any other project or activity in this area I should be aware of?
David Himmelstrup's mod_haskell code is at: darcs get http://www.scannedinavian.org/repos/modhaskell Peter Thiemann has a version of Simon Marlow's HWS (Haskell Web Server) that integrates WASH servlets and hs-plugins. I don't know if it's ready for release but you could send him email... -- Programming is the Magic Executable Fridge Poetry, | www.ScannedInAvian.com It is machines made of thought, fueled by ideas. | -- Shae Matijs Erisson
participants (5)
-
Andre Pang
-
dons@cse.unsw.edu.au
-
Graham Klyne
-
Niklas Broberg
-
Shae Matijs Erisson