Haskell as REST server
Posted
by Dev er dev
on Stack Overflow
See other posts from Stack Overflow
or by Dev er dev
Published on 2010-04-06T13:59:11Z
Indexed on
2010/04/06
14:03 UTC
Read the original article
Hit count: 355
I would like to try Haskell on a smallish project which should be well suited to it. I would like to use it as a backend to a small ajax application.
Haskell backend should be able to do authentication (basic, form, whatever, ...), keep track of user session (not much data there except for username) and to dispatch request to handlers based on uri and request type. It should also be able to serialize response to both xml and json format, depending on request parameter.
I suppose the handlers are ideally suited for Haskell, since the service is basically stateless, but I don't know where to start for the rest of the story.
Searching hackage didn't give me much hints.
© Stack Overflow or respective owner