Difference between revisions of "Web/Framework Interfaces"
m (Adding info box) |
(Use tables) |
||
Line 8: | Line 8: | ||
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-". |
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-". |
||
+ | {| class="wikitable" |
||
− | '''License''' BSD3 |
||
+ | ! License |
||
− | |||
+ | | BSD3 |
||
⚫ | |||
+ | |- |
||
− | |||
+ | ! Author |
||
⚫ | |||
⚫ | |||
− | |||
+ | |- |
||
⚫ | |||
+ | ! Maintainer |
||
− | |||
⚫ | |||
− | * Hackage: http://hackage.haskell.org/package/hack |
||
+ | |- |
||
− | * Github: http://github.com/nfjinjing/hack |
||
⚫ | |||
+ | | [http://hackage.haskell.org/package/hack Hackage] - [http://github.com/nfjinjing/hack Github] |
||
+ | |} |
||
== WAI == |
== WAI == |
||
Line 23: | Line 26: | ||
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. |
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. |
||
+ | {| class="wikitable" |
||
− | + | ! License: |
|
− | |||
+ | | BSD3 |
||
⚫ | |||
+ | |- |
||
− | |||
+ | ! Author: |
||
⚫ | |||
⚫ | |||
− | |||
+ | |- |
||
⚫ | |||
+ | ! Maintainer: |
||
− | |||
⚫ | |||
⚫ | |||
+ | |- |
||
− | |||
+ | ! Announcement: |
||
− | * Hackage: http://hackage.haskell.org/package/wai |
||
⚫ | |||
− | * Github: http://github.com/snoyberg/wai |
||
+ | |- |
||
⚫ | |||
+ | | [http://hackage.haskell.org/package/wai Hackage] - [http://github.com/snoyberg/wai Github] |
||
+ | |} |
Revision as of 00:26, 4 October 2010
Below are high-level abstractions of various Haskell web frameworks, called interfaces, because they provide a generic interface with various frameworks.
Hack
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 | Hackage - Github |
WAI
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: | Haskell-Cafe |
Package & repositories | Hackage - Github |