simple-0.2.0: A minimalist web framework for the WAI server interface

The simple package

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:

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.

Properties

Versions0.2.0, 0.3.0, 0.4.0, 0.4.1
Dependenciesbase (≥4.5 & <5.0), bytestring (≥0.9), conduit (≥0.5), http-types (≥0.7.1), text (≥0.11), transformers (≥0.3), wai (≥1.3 & <2.0), wai-extra (≥1.3 & <2.0)
LicenseGPL-3
AuthorAmit Levy
Maintaineramit@amitlevy.com
CategoryWeb
Source repositorygit clone anonymous@gitstar.com:alevy/wai-lite.git
Upload dateTue Oct 30 22:16:18 UTC 2012
Uploaded byAmitLevy
Built onghc-7.6

Modules

Downloads