Haskell Server Pages

Table of contents:

What is HSP?

Haskell Server Pages (HSP) is an extension of vanilla Haskell, targetted at the task of writing dynamic server-side web pages. Features include:

For more in-depth information and examples of usage, please see my thesis [ps, pdf].

History

The first version of HSP was presented by Eric Meijer and Danny van Velzen at the Haskell Workshop 2000. Their work was never fully implemented however. This system is at the same time an implementation, improvement and extension of their original system.

Download

HSP is available as a darcs repository:

The package consists of two subparts:

Installation and Usage

The packages are cabalized. The hsp package can be configured, built and installed in the standard way, but the hspr utilities need some extra work:

All of this should go in a makefile or something, but that's just one of those things that I "absolutely must do before I can release"...

To start the server utility in stand-alone mode, use the command hspr -p <portnumber>

Documentation

Currently the only existing documentation is my thesis [ps, pdf], but unfortunately many things discussed therein beyond the basics are not included in the current release.

I have also written a paper that will appear in the Haskell Workshop 2005 [ps, pdf]. This paper details the implementation of HSP and the thoughts behind it.

ToDo

Things that need polishing, and things that are altogether missing, in no particular order of significance.

Contact me