[Catalyst] FormHandler -- pro or con?

Zbigniew Lukasiak zzbbyy at gmail.com
Tue Nov 30 17:16:27 GMT 2010


On Tue, Nov 30, 2010 at 4:55 PM, Sir Robert Burbridge
<rburbrid at cisco.com> wrote:
> To mitigate the awkwardness I felt
> about the API, use a pure-module approach (every form is a separate
> package/module, that inherits from a base form that's all rigged up the way
> I want it, along with a few really helpful roles that I drop in on forms
> here and there to do common stuff.

To be fair - this is the way Gerda always used it.  The actions
attribute with the possibility of having different functionality per
form (and field) *instance* were all my additions (copied by they way
from Data::FormValidator and FormFu).   I am starting to regret coding
that - it seems that it complicates the machinery too much.

Cheers,
Zbigniew
http://brudnopis.blogspot.com/
http://perlalchemy.blogspot.com/



More information about the Catalyst mailing list