Web/Framework Interfaces

From HaskellWiki
< Web
Revision as of 12:55, 3 October 2010 by Chrisdone (talk | contribs) (Adding info box)
Jump to: navigation, search
Haskell Web Development

Servers - Libraries - Frameworks
Deploy - Cloud
Interfaces to frameworks
Databases and Persistence
Testing and Verification
Content Management

Community & Research:
Forums and Discussion
Literature (research, talks and blogs)
Existing Haskell web applications
Ongoing projects and ideas

Below are high-level abstractions of various Haskell web frameworks, called interfaces, because they provide a generic interface with various frameworks.


Hack is a simple interface for applications. Based on Ruby's Rack, it presents a very low barrier to entry. Unlike WAI, it uses lazy bytestrings for request and response bodies, making it easier to use for some. Many backends are available, for numerous backends; simply search hackage for "hack-handler-".

License BSD3

Author Wang, Jinjing

Maintainer Wang, Jinjing <e .nfjinjing@gmail.com>

Package & repositories


The WAI (Web Application Interface) is designed to be a type-safe and performant interface. Type safety is achieved by having data types such as RequestHeader, ResponseHeader, HttpVersion, as opposed to simply using Strings or ByteStrings. Performance is achieved by using an enumerator interface, allowing constant-space response construction without needing lazy I/O. Backends available are currently a simple server, CGI, FastCGI, SCGI and a Snap Framework backend.

License: BSD3

Author: Michael Snoyman

Maintainer: michael@snoyman.com

Announcement: http://www.haskell.org/pipermail/haskell-cafe/2010-March/074142.html

Package & repositories