MFlow: Web application serverfor processes with type safe, composable user interfaces.

[ application-server, bsd3, library, web ] [ Propose Tags ]

It is a Web framework with some unique features thanks to the power of the Haskell language. MFlow run stateful server processes. Because flows are stateful, not event driven, the code is more understandable, because all the flow of request and responses is coded by the programmer in a single function. Allthoug single request-response flows and callbacks are possible.

Technically it is a Web application server for stateful processes (flows) that are optionally persistent. These processes interact with the user trough interfaces made of widgets that return back statically typed responses to the calling process. All is coded in pure haskell (with optional XML from Haskell Server Pages). It adopt and extend the formlet/applicative approach. It has bindings for HSP and Text.XHtml

It includes Application Server features such is process and session timeouts and automatic recovery of flow execution state.

This release add transparent back button management, cached widgets, callbacks, modifiers, heterogeneous formatting AJAX, and WAI integration.

It is designed for coding an entire application in a single file to be run with runghc in order to speed up the prototyping process.

See MFlow.Forms for details

Altroug still it is experimental, it is used in at least one future commercial project. So I have te commitment to continue its development. There are many examples in the documentation and in the package.

To do:

Versions [faq] 0.0.0, 0.0.1, 0.0.2, 0.0.3, 0.0.4, 0.0.5,,,,,,,,,,,,,,,,,,,,,,,,,, 0.3.3, 0.4.0, 0.4.1, 0.4.2, 0.4.4, 0.4.5,,,,,,,,,,,,,,
Dependencies base (>4.0 && <4.6), bytestring, case-insensitive, conduit, containers, directory, extensible-exceptions, hack, hack-handler-simpleserver, hsp, http-types, mtl, old-time, parsec, RefSerialize, stm (>2), TCache, text, transformers, utf8-string, vector, wai, warp, Workflow, xhtml [details]
License BSD-3-Clause
Author Alberto Gómez Corona
Category Web, Application Server
Source repo head: git clone
Uploaded by AlbertoCorona at Tue Sep 11 17:29:56 UTC 2012
Distributions NixOS:
Downloads 26303 total (939 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs not available [build log]
All reported builds failed as of 2016-12-24 [all 7 reports]


  • MFlow
    • MFlow.Cookies
    • MFlow.FileServer
    • MFlow.Forms
      • MFlow.Forms.Admin
      • MFlow.Forms.Ajax
      • MFlow.Forms.HSP
      • MFlow.Forms.XHtml
    • MFlow.Hack
      • MFlow.Hack.Response
      • MFlow.Hack.XHtml
        • MFlow.Hack.XHtml.All
    • MFlow.Wai
      • MFlow.Wai.Response
      • XHtml
        • MFlow.Wai.XHtml.All


Maintainer's Corner

For package maintainers and hackage trustees