HTML - based GUIs - follow up

Hello, in my first post on this subject from 01-10-10 I asked for opinions on using HTML to create the gui part of a desktop app instead of using Gtkhs or WxHaskell. The responses were encouraging. It occurred to me that I might now even need to run an actual webserver (happs for instance) but that I could use either Webkit or a com interface to Internet Explorer to control the browser. When it opens, register event sinks and so on. Still that involves a lot of boilerplate code. I have seen examples of *formlets* and I'm impressed, the wiring is certainly taken care of. My question is: do formlets only work server based or is it also possible to use formlet sans happs? Günther

Formlets themselves don't require a server. You can use them from the commandline. However, formlets do have a limitation: they are not interactive. I would really like a library that does something like formlets (compositional web forms) but with a FRP-style of writing. A contrived example: Suppose I have a page with a label that displays a number, and a slider. When I change the slider, the number in the label has to change accordingly. The example above is currently not possible with formlets. -chris On 20 jan 2010, at 18:30, Colin Paul Adams wrote:
"Günther" == Günther Schmidt
writes: Günther> My question is: do formlets only work server based or is it Günther> also possible to use formlet sans happs?
Yes (I think) and yes. -- Colin Adams Preston Lancashire _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
participants (3)
-
Chris Eidhof
-
Colin Paul Adams
-
Günther Schmidt