views:

595

answers:

4

I would like to use Haskell more for my projects, and I think if I can get started using it for web apps, it would really help that cause. I have tried happs once or twice but had trouble getting off the ground. Are there simpler/more conventional (more like lamp) frameworks out there that I can use or should I just give happs another try?

+3  A: 

Here is a list of web related blog posts about Haskell: http://haskell.org/haskellwiki/Blog_articles/Web.

Furthermore, the next big Haskell web framework is WASH: http://www.informatik.uni-freiburg.de/~thiemann/haskell/WASH/.

And there is an Apple webobjects based domain specific language: http://www.cs.uu.nl/wiki/WebFunctions/WebHome

Michiel Overeem
+1  A: 

You can use CGI and an (x)html combinator library, as in http://www.haskell.org/haskellwiki/Practical_web_programming_in_Haskell. A larger overview of libraries, frameworks etc. for web programming in haskell is at http://www.haskell.org/haskellwiki/Applications_and_libraries/Web_programming.

Erik Hesselink
CGI is very simple, especially on systems running Apache. You just make an executable that prints out an HTML page (or part of it). You can parse the url (GET) string and getting POST data from the system using environment variables. It's simple but building a sytem from those pieces takes work.
Jared Updike
+4  A: 

If you decide to go with HApps you'll probably want to checkout this excellent example driven tutorial that is being developed as a HApps application: HApps Tutorial

Jason Dagit
A: 

There is also Hope: http://hope.bringert.net/about although it doesn't seem to have gained as much traction as HApps and WASH. The site has also been quiet for about a year.

benefactual