simple

A minimalist web framework for the WAI server interface

http://simple.cx

LTS Haskell 22.40:2.0.0
Stackage Nightly 2024-11-05: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-2.0.0@sha256:1f170329859a9da824a207a4ba969154b0207fb2fb1efba2ece6425374541f91,3294

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