A minimalist web framework for the WAI server interface

Version on this page:0.11.1
LTS Haskell 8.2:0.11.1
Stackage Nightly 2017-02-22:0.11.1
Latest on Hackage:0.11.1

Simple is "framework-less" web framework for Haskell web applications based on the WAI server interface (e.g. for use with the warp server). Simple does not enforce a particular structure or paradigm for web applications. Rather, Simple contains tools to help you create your own patterns (or re-create existing ones). Simple is minimalist, providing a lightweight base - the most basic Simple app is little more than a WAI Application with some routing logic. Everything else (e.g. authentication, controllers, persistence, caching etc') is provided in composable units, so you can include only the ones you need in your app, and easily replace with your own components.

To get started, create an app skeleton with the smpl utility:

$ cabal install simple
$ smpl create my_app_name
$ cd my_app_name
$ smpl

See Web.Simple for a more detailed introduction.


Version 0.11.1 (2016-01-11)

  • Fixes test dependencies that precluded tests from compiling

Version (2015-11-23)

  • Minimize methods in HasTemplates and extract everything else into functions

  • Add layoutObject method that allows customizing the value passed to the layout

comments powered byDisqus