simple: A minimalist web framework for the WAI server interface
Simple is "framework-less" web framework for Haskell web applications using the WAI server interface (e.g. for use with the warp server). Unlike other frameoworks, Simple does not enforce a particular structure or paradigm for web applications. Rather, Simple makes it easier for you, the developer, to use whichever paradigm or structure you like. This package includes:
Web application building blocks under Web.Simple
A Sintra (http://www.sinatrarb.com) inspired DSL - Web.Frank
A Monad for building RESTful controllers - Web.REST
To get started using the warp web server:
$ cabal install simple warp
helloworld.hs:
import Web.Simple import Network.Wai.Handler.Warp main :: IO () main = runSettings defaultSettings $ mkRouter $ okHtml "Hello World"
$ runghc -XOverloadedStrings helloworld.hs
See Web.Simple for a more detailed introduction.
Modules
[Index]
Downloads
- simple-0.4.1.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
Versions [RSS] | 0.2.0, 0.3.0, 0.4.0, 0.4.1, 0.5.0, 0.6.0, 0.7.0, 0.7.0.1, 0.8.0.0, 0.8.0.1, 0.8.1.0, 0.9.0.0, 0.10.0.0, 0.10.0.1, 0.10.0.2, 0.10.0.3, 0.10.1, 0.11.0, 0.11.1, 0.11.2, 0.11.3, 1.0.0, 2.0.0 |
---|---|
Dependencies | attoparsec (>=0.10.3), base (>=4.5 && <5.0), base64-bytestring (>=1.0 && <1.1), bytestring (>=0.9), cmdargs (>=0.10.2), conduit (>=0.5), hint (>=0.3.3 && <0.4), http-types (>=0.7.1), mtl (>=2.1), network (>=2.4), old-locale, old-time, postgresql-simple (>=0.2.4.1), resource-pool (>=0.2.1 && <0.3), resourcet (>=0.4.4), system-fileio (>=0.3.11 && <0.4), system-filepath (>=0.4.7 && <0.5), text (>=0.11), transformers (>=0.3), wai (>=1.3 && <2.0), wai-extra (>=1.3 && <2.0), wai-handler-devel (>=1.3) [details] |
License | GPL-3.0-only |
Author | Amit Levy |
Maintainer | amit@amitlevy.com |
Category | Web |
Source repo | head: git clone anonymous@gitstar.com:alevy/wai-lite.git |
Uploaded | by AmitLevy at 2013-04-20T13:53:26Z |
Distributions | Debian:1.0.0, LTSHaskell:2.0.0, NixOS:2.0.0, Stackage:2.0.0 |
Reverse Dependencies | 5 direct, 0 indirect [details] |
Executables | smpl |
Downloads | 16820 total (1 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] |