The MFlow package
Simple application server with stateful request-response flows, persistent and transparent session handling. server process management, combinators for the definition of widgets and formlets that can be mixed freely with HTML formatting and produce statically typed web applications. Adopt and extend the best formlet/applicative Haskell traditions Console and window oriented apps are possible.
MFlow (MessageFlow) was created initially as the user interface for the Workflow package . Currently is an alpha version. It has only basic authentication but I plan to inprove it for serious applications.
It includes Application Server features such is resource an process management and automatic recovery
Resource management: The user can define process and session timeout. The process is automatically rerun after timeout if a new request arrive with transparent recovery of state, at the point of the interrupted dialog even after server crash.
The backend operation relies on the Workflow package (http://hackage.haskell.org/package/Workflow/index), this gives transparent sessión persistence and recovery, all of this is supported by TCache (http://hackage.haskell.org/package/TCache/index), that gives backend-independent transactions and can be used directly by the programmer. Persistence in files for session and data out of the box enables very fast prototyping.
All the plumbing is hidden to the programmer, There is no methods for session management, database query, recovery and so on. All of this is transparent So the surface exposed to the programmer is minimal.
Includes generalized formlets that permits the mix of active widgets in the same page while remaining statically typed and, thus the programs can verify correctness at compilation time.
Includes combinators for seamless inclusion of these widgets within user defined HTML formatting. Bindings for Text.XHtml. The widget generation may be easy for user with familiarity with formlets/digestive functors and Text.XHtml formatting.
Currently it has bindings for the Hack interface
Bindings for HSP
Other bindigs for Hack alternatives
|Versions||0.0.0, 0.0.1, 0.0.2, 0.0.3, 0.0.4, 0.0.5, 0.0.5.1, 0.0.5.2, 0.0.5.3, 0.1.5.0, 0.1.5.1, 0.1.5.2, 0.1.5.3, 0.1.5.4, 0.1.5.5, 0.2.0.0, 0.2.0.1, 0.2.0.2, 0.2.0.3, 0.2.0.4, 0.2.0.5, 0.2.0.6, 0.2.0.7, 0.2.0.8, 0.2.0.9, 0.3.0.0, 0.3.0.1, 0.3.0.2, 0.3.1.0, 0.3.1.1, 0.3.2.0, 0.3.3, 0.4.0, 0.4.1, 0.4.2, 0.4.4, 0.4.5, 0.4.5.1, 0.4.5.2, 0.4.5.3, 0.4.5.4, 0.4.5.5, 0.4.5.6, 0.4.5.7, 0.4.5.8, 0.4.5.9|
|Change log||None available|
|Dependencies||base (>4.4 && <4.6), bytestring, containers, extensible-exceptions, hack, hack-handler-simpleserver, mtl, old-time, RefSerialize (>=0.2.8.1 && <0.2.9), stm (>2), TCache (>=0.9.0.2 && <0.9.1), transformers, vector, Workflow (>=0.6.0.0 && <0.6.1), xhtml|
|Author||Alberto Gómez Corona|
|Category||Web, Application Server|
|Uploaded||Mon Feb 6 21:25:17 UTC 2012 by AlbertoCorona|
|Downloads||8192 total (607 in last 30 days)|
|Status||Docs uploaded by user|
Build status unknown [no reports yet]
For package maintainers and hackage trustees