What is the ecosystem for Haskell web development?

haskell

Solution

First of all, a disclaimer: I've never done any Haskell web development, so I don't speak from experience.

If you look at the Web category on Hackage, there are lots of web-related packages.

I think most Haskell web application run on a custom server (possibly using Apache's `mod_proxy` or IIS's Advanced Request Routing as a front end). However, there are also some FastCGI bindings.

The most prominent Haskell webserver/framework/datastorage infrastruction is Happstack, which is interesting for several reasons, the most obvious being that it stores all its state in-memory and doesn't use a relational database.

Another more recent webserver interface is hack, which I don't know much about except that the 1 minute tutorial looks interesting.

There are many more webservers/frameworks in Haskell, but these two are just the ones I know of the top of my head.

Problem

Inspired by this question and a recent affair, I'm wondering what's involved with Haskell web development. - Are there any Haskell web frameworks or template engines? - How would hosting a Haskell site work, are there suitable web servers? - Is Haskell too complex for the usual rapid development and prototyping based workflow often used in web development? - Are there examples of existing Haskell web applications?

Original source

Related problems