A minimalist web framework for the WAI server interface

Version on this page:0.11.3
LTS Haskell 22.29:2.0.0
Stackage Nightly 2024-07-13:2.0.0
Latest on Hackage:2.0.0

See all snapshots simple appears in

LGPL-3.0-only licensed by Amit Levy, Daniel B. Giffin
Maintained by [email protected]
This version can be pinned in stack with:simple-0.11.3@sha256:86e0aa9c0ac370c6c7d00ce3dac45c84682a5c3f4e16927187c68ac88bfa55f1,3186

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