[Catalyst] Where to put FormValidator profiles?
David Storrs
dstorrs at dstorrs.com
Thu Aug 11 20:04:08 CEST 2005
On Aug 11, 2005, at 10:13 AM, Bill Moseley wrote:
> I've been placing my Data::FormValidator profiles in my call to
> $c->form in the controller where they are being used. It's nice that
> I see exactly what's happening within the controller, but it also
> seems like it might be better to have the profiles all defined in one
> place.
> [...]
> Also, where's a good place to put profiles?
Right now I'm doing the exact same thing you're doing. But given
some tuits, I'd like to write a module that stores the profiles in
the DB and then fetches them out on demand.
--Dks
More information about the Catalyst
mailing list