The hsp package
Haskell Server Pages (HSP) is an extension of vanilla Haskell, targetted at the task of writing dynamic server-side web pages. Features include:
Embedded XML syntax
A (low-to-mid-level) programming model for writing dynamic web pages
A runtime system, in the guise of a server utility, with support for:
o session (through cookies) and application (through the server) state
o interfacing to the HTTP request-response model
o on-request compilation of pages (using hs-plugins)
A cgi-handler utility for use where the server can't be used (i.e. if you have no control over the resident web server). Supports everything the server does except application state and setting outgoing headers (plus it is atm considerably slower to respond).
You will also want hspr, the runtime utilities package. Consists of (the source for) a server utility hspr and a cgi-handler hspr-cgi.
For details on usage, please see the website, and the author's thesis.
Properties
| Versions | 0.2, 0.4, 0.4.4, 0.4.5, 0.5.0, 0.5.1, 0.5.2, 0.6.0, 0.6.1, 0.7.0, 0.7.1, 0.7.2, 0.8.0 |
|---|---|
| Dependencies | base (>3), containers, harp, haskell-src-exts, mtl, network, old-time |
| License | BSD3 |
| Author | Niklas Broberg |
| Maintainer | Niklas Broberg <nibro@cs.chalmers.se> |
| Stability | Experimental |
| Category | Language |
| Home page | http://www.cs.chalmers.se/~d00nibro/hsp/ |
| Upload date | Mon Feb 25 17:46:40 UTC 2008 |
| Uploaded by | GwernBranwen |
| Build failure | ghc-6.10 (log), ghc-6.12 (log), ghc-6.8 (log) |
| Distributions | Debian: 0.8.0 |
Modules
- CGI
- CGI.CGIEnv
- HSP
- HSP.Application
- HSP.Data
- HSP.Data.Application
- HSP.Data.CSS
- HSP.Data.PCDATA
- HSP.Data.RequestEnv
- HSP.Data.Response
- HSP.Data.Session
- HSP.Data.XML
- HSP.Exception
- HSP.Request
- HSP.Response
- HSP.Session
- HTTP
- HTTP.Common
- HTTP.Request
- HTTP.Response
- HTTP.Util
Downloads
- hsp-0.2.tar.gz (Cabal source package)
- package description (included in the package)