[Catalyst] Announce: HTML::FormHandler

Gerda Shank gs364 at cornell.edu
Mon Mar 23 20:07:39 GMT 2009


HTML::FormHandler is an HTML form class written in Moose. It allows you 
to define HTML form fields and validators. It can be used for both 
database and non-database forms, and will automatically update or create 
rows in a database.

One of its goals is to keep the controller interface as simple as 
possible, and to minimize the duplication of code. In most cases, 
interfacing your controller to your form is only a few lines of code.

You can split the pieces of your forms up into logical parts and compose 
complete forms from FormHandler classes, roles, fields, collections of 
validations. You can write custom methods to process forms, add any 
attribute you like, use Moose before/after/around. FormHandler forms are 
Perl classes, so there's a lot of flexibility in what you can do.

http://search.cpan.org/~gshank/HTML-FormHandler-0.19/

gshank




More information about the Catalyst mailing list