simple

A minimalist web framework for the WAI server interface

http://simple.cx

Version on this page:0.11.2
LTS Haskell 22.13:2.0.0
Stackage Nightly 2024-03-14: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.2@sha256:7ce8d09b5616994dff1c22f415f2b7beb4e11d60779a8921090119eeabf41c7e,3218

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.

Changes

Version 0.11.1 (2016-01-11)

  • Fixes test dependencies that precluded tests from compiling

Version 0.11.0.0 (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