[tpm] Automatically generating HTML forms from perl data structures

Adam Prime adam.prime at utoronto.ca
Wed Jun 16 16:30:22 PDT 2010

None of the Form generation stuff that i've seen is designed to take 
JSON and generate forms.  There are a bunch of form handling modules out 
there though, that do various stuff.  FormFu has the ability to generate 
forms based on yaml configuration files, which is somewhat similar to 
what you're doing.

I've used:


I haven't used, but i know people like:


There are other things out there too.


J. Bobby Lopez wrote:
> Hey All,
> I'm currently working on some tools which aim to read in JSON data into 
> perl data structures (with JSON::XS), and then automatically generate TT 
> templates for HTML forms, based on the data types of the elements within 
> the data structure.
> So far I have working code, but I was curious if were more common ways 
> of doing this?  I've searched CPAN for similar modules, but haven't 
> found any so far.
> Template Toolkit isn't necessary, but I figured I'd incorporate that 
> early since it makes dealing with HTML much less cumbersome.  The basic 
> goal is to be able to read JSON data and dynamically generate an HTML 
> form (without hard-coding any of the name/value elements), and then use 
> that form to save the data back to JSON format.
> Experience with XML would likely be relevant here as well.
> Thanks!
> Bobby
> ------------------------------------------------------------------------
> _______________________________________________
> toronto-pm mailing list
> toronto-pm at pm.org
> http://mail.pm.org/mailman/listinfo/toronto-pm

More information about the toronto-pm mailing list