[web-devel] simple library for HTML form generation and processing

Henning Thielemann lemming at henning-thielemann.de
Sun Nov 1 22:33:44 UTC 2015


I like to get your advice about a simple library for web form generation 
and processing. So far I tried digestive-functors and reform. Both of them 
are advertised as being good in separating data from view. However, I am 
interested in one-off forms, that is, form data will always be rendered in 
one way. Thus I would like to save the efforts to combine data and view 
after they have been carefully separated.

Formerly I have also used autolib-cgi:
    http://autolat.imn.htwk-leipzig.de/haddock/autolib-cgi-1.2/

It allowed me to generate the form and fetch and validate the data in one 
(monadic) go. The blaze-markup type MarkupM is a monad anyway, thus it 
seems to be straight-forward to use the monadic results for the data 
entered to the form.

Is there a library that supports this style of web form handling?


More information about the web-devel mailing list