[web-devel] ANNOUNCE: hplayground: haskell client-side web framework
Alberto G. Corona
agocorona at gmail.com
Sat Jul 26 01:34:17 UTC 2014
hplayground [1] is a haskell framework that compiles to JavaScript
with the haste [5] compiler.
It handles reactive effects under a applicative-monad that controls
the modifications of the user interface.
It is quite easy to create dynamic, composable applications using
ordinary, beatiful, idiomatic haskell without special constructions.
Rather than a framework, it is an EDSL.
Full reinversion of control avoid spagetty event handlers and the
monad confines the events and their effects to the subtree where they
appear avoiding the problems of declarative reactive frameworks.
There are examples running[4] the source code is in [1]
And there is a todo reference application [3] running [2] too.
There is also a blog post about that[7]
Additionally, the syntax is almost identical to the formlet widgets in
MFlow[6]. So most of the hplaygroud code could run also in a server if
javascript is disabled. But MFlow and hplayground are completely
independent projects.
I hope that you enjoy it as much as I enjoyed the development of it.
A big thanks to Anton Ekblad for his wonderful Haste compiler.
[1] https://github.com/agocorona/hplayground
[2] http://mflowdemo.herokuapp.com/todo.html
[3] https://github.com/agocorona/hplay-todo
[4] http://mflowdemo.herokuapp.com/noscript/wiki/browserwidgets
[5] http://http://haste-lang.org/
[6] http://hackage.haskell.org/package/MFlow
[7] http://haskell-web.blogspot.com.es/2014/07/hplayground-translate-your-console.html
--
Alberto.
More information about the web-devel
mailing list