salvia: Modular web application framework.
Salvia is a feature rich modular web server and web application framework that can be used to write dynamic websites in Haskell. From the lower level protocol code up to the high level application code, everything is written as a Salvia handler. This approach makes the server extremely extensible. To see a demo of a Salvia website, please see the salvia-demo package.
All the low level protocol code can be found in the salvia-protocol package, which exposes the datatypes, parsers and pretty-printers for the URI, HTTP, Cookie and MIME protocols.
This Salvia package itself can be separated into three different parts: the interface, the handlers and the implementation. The interface module defines a number of type classes that the user can build the web application against. Reading the request object, writing to the response, or gaining direct access to the socket, all of these actions are reflected using one type class aspect in the interface. The handlers are self contained modules that implement a single aspect of the Salvia web server. The handlers expose their interface requirements in their type context. Salvia can have multiple implementations which can be switched by using different instances for the interface type classes. This package has only one implementation, a simple accepting socket loop server. The salvia-extras package has two additional implementations. Keeping a clear distinction between the abstract server aspects and the actual implementation makes it very easy to migrate existing web application to different back-ends.
Modules
[Index]
- Network
- Network.Salvia
- Handler
- Network.Salvia.Handler.Banner
- Network.Salvia.Handler.Body
- Network.Salvia.Handler.CGI
- Network.Salvia.Handler.Close
- Network.Salvia.Handler.Cookie
- Network.Salvia.Handler.Directory
- Network.Salvia.Handler.Dispatching
- Network.Salvia.Handler.Environment
- Network.Salvia.Handler.Error
- Network.Salvia.Handler.Extension
- Network.Salvia.Handler.File
- Network.Salvia.Handler.FileSystem
- Network.Salvia.Handler.Head
- Network.Salvia.Handler.Log
- Network.Salvia.Handler.Method
- Network.Salvia.Handler.Parser
- Network.Salvia.Handler.Path
- Network.Salvia.Handler.Printer
- Network.Salvia.Handler.Put
- Network.Salvia.Handler.Range
- Network.Salvia.Handler.Redirect
- Network.Salvia.Handler.Rewrite
- Network.Salvia.Handler.VirtualHosting
- Network.Salvia.Handlers
- Network.Salvia.Impl
- Network.Salvia.Interface
- Handler
- Network.Salvia
Downloads
- salvia-1.0.0.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.0.4, 0.0.5, 0.1, 0.1.1, 0.1.2, 1.0.0 |
---|---|
Dependencies | base (>=4 && <5), bytestring (>=0.9 && <0.10), containers (>=0.2 && <0.4), directory (>=1.0 && <1.1), fclabels (>=0.4 && <0.5), MaybeT-transformers (>=0.1 && <0.2), monads-fd (>=0.0 && <0.1), network (>=2.2.1.7 && <2.3), old-locale (>=1.0 && <1.1), process (>=1.0 && <1.1), pureMD5 (>=1.0 && <1.1), random (>=1.0 && <1.1), safe (>=0.2 && <0.3), salvia-protocol (>=1.0 && <1.1), split (>=0.1 && <0.2), stm (>=2.1 && <2.2), text (>=0.5 && <0.8), threadmanager (==0.1.3), time (>=1.1 && <1.2), transformers (>=0.1 && <0.2), unix (>=2.3 && <2.5), utf8-string (>=0.3 && <0.4) [details] |
License | BSD-3-Clause |
Author | Sebastiaan Visser |
Maintainer | sfvisser@cs.uu.nl |
Category | Network, Web |
Uploaded | by SebastiaanVisser at 2010-03-21T15:55:24Z |
Distributions | |
Reverse Dependencies | 7 direct, 0 indirect [details] |
Downloads | 4433 total (8 in the last 30 days) |
Rating | (no votes yet) [estimated by Bayesian average] |
Your Rating | |
Status | Docs uploaded by user Build status unknown [no reports yet] |