The MFlow package

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

A Web framework with some unique features thanks to the power of the Haskell language. MFlow run stateful server processes; All the flow of requests and responses are coded by the programmer in a single function. Allthoug single request-response flows and callbacks are possible. Therefore, the code is more understandable.

These processes are stopped and restarted by the application server on demand, including its execution state. Therefore session management is automatic. State consistence and transactions are given by the TCache package.

The processes interact trough widgets, that are an extension of formlets with additional combinators, formatting, link management, callbacks, modifiers, caching, byteString conversion and AJAX. All is coded in pure haskell.

The interfaces and communications are abstract, but there are bindings for HSP, Text.XHtml and byteString , Hack and WAI but it can be extended to non Web based architectures.

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

It is designed for applications that can be run with no deployment with runghc in order to speed up the development process.

See MFlow.Forms for details

Altroug still it is experimental, it is being 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 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 && <5), blaze-html, blaze-markup, bytestring, case-insensitive, conduit, containers, directory, extensible-exceptions, hack, hack-handler-simpleserver, hsp (>=0.8), http-types, mtl, old-time, parsec, random, RefSerialize, stm (>2), TCache, text, transformers, utf8-string, vector, wai, warp, Workflow, xhtml [details]
License BSD3
Author Alberto Gómez Corona
Category Web, Application Server
Bug tracker
Source repo head: git clone
Uploaded Tue Jan 15 14:16:15 UTC 2013 by AlbertoCorona
Distributions LTSHaskell:, NixOS:, Stackage:, openSUSE:
Downloads 21327 total (512 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2016-12-22 [all 7 reports]
Hackage Matrix CI


  • MFlow
    • MFlow.Cookies
    • MFlow.FileServer
    • MFlow.Forms
      • MFlow.Forms.Admin
      • Blaze
        • MFlow.Forms.Blaze.Html
      • MFlow.Forms.HSP
      • MFlow.Forms.Test
      • MFlow.Forms.Widgets
      • MFlow.Forms.XHtml
    • MFlow.Hack
      • MFlow.Hack.XHtml
        • MFlow.Hack.XHtml.All
    • MFlow.Wai
      • Blaze
        • Html
          • MFlow.Wai.Blaze.Html.All
      • XHtml
        • MFlow.Wai.XHtml.All


Maintainer's Corner

For package maintainers and hackage trustees