Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the ecosystem for Haskell web development? [closed]

Tags:

haskell

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?
like image 486
deceze Avatar asked Aug 10 '09 06:08

deceze


1 Answers

I have done real production web applications in Haskell. Here is the stack I used:

  • PostgreSQL database backend
  • HDBC Postgres to connect to it
  • XHTML to generate Html. It is a bit of a funny syntax, but at least you have lambda-abstraction.
  • Fastcgi to connect the backend to the lighttpd, doing the web serving.

The whole web application is a single haskell program, compiled to native code ghc. I wrote the code to do request routing (and reverse routing) by hand.

like image 99
Phil Avatar answered Sep 23 '22 08:09

Phil