[Haskell-beginners] Web frameworks

Christopher Done chrisdone at googlemail.com
Fri Jun 17 16:55:57 CEST 2011


On 17 June 2011 16:49, Haisheng Wu <freizl at gmail.com> wrote:

> Actually I have one question that what's the reason it has 'special' (a
> better word?) style at programming CSS and JavaScripts?
> Seems like no other frameworks doing that? (Correct me if I am wrong)
>

You don't really need a framework to do CSS

https://github.com/chrisdone/amelie/blob/master/src/Amelie/View/Style.hs

<https://github.com/chrisdone/amelie/blob/master/src/Amelie/View/Style.hs>or
JavaScript

https://github.com/chrisdone/amelie/blob/master/src/Amelie/View/Script.hs

<https://github.com/chrisdone/amelie/blob/master/src/Amelie/View/Script.hs>in
a first-class Haskell DSL. The benefit is that you can manipulate both at a
kind of macro level, and benefit from Haskell's type system if you wish to
make your JavaScript or CSS type-safe.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/beginners/attachments/20110617/b529a287/attachment.htm>


More information about the Beginners mailing list