hsp: Haskell Server Pages is a library for writing dynamic server-side web pages.
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.
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 [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
Versions [RSS] | 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.7.3, 0.8.0, 0.9.0, 0.9.1, 0.9.2, 0.10.0 |
---|---|
Dependencies | base (>3), containers, harp, haskell-src-exts, mtl, network, old-time [details] |
License | BSD-3-Clause |
Author | Niklas Broberg |
Maintainer | Niklas Broberg <nibro@cs.chalmers.se> |
Category | Language |
Home page | http://www.cs.chalmers.se/~d00nibro/hsp/ |
Uploaded | by GwernBranwen at 2008-02-25T17:46:40Z |
Distributions | Debian:0.10.0 |
Reverse Dependencies | 30 direct, 11 indirect [details] |
Downloads | 20156 total (72 in the last 30 days) |
Rating | (no votes yet) [estimated by Bayesian average] |
Your Rating | |
Status | Docs not available [build log] All reported builds failed as of 2017-01-03 [all 7 reports] |