[html-formfu] HTML-FormFu-DBIC

Mario Minati mario.minati at googlemail.com
Fri Sep 28 14:53:08 GMT 2007

On Friday 28 September 2007 12:08:23 Zbigniew Lukasiak wrote:
> The next on my ToDo list are the automatic constraints and then
> automatic config generation from a DBIC table.  I think I'll start by
> adding a method on the form with a name like
> 'add_automatic_dbic_constraints' that would use introspection to go
> through all fields and add the constraints on them.  It would be good
> if one could turn off automatic constraints on per field basis - so it
> would be good if I could add a new accessor on all fields (something
> like no_automatic_dbic_constraints - if set it would turn them off, by
> default they would be on).  I don't see any economic way to do that.

That sounds very interesting.
If I remember right Carl started already some work on automatic constraints 
from DBIC.

I'm not sure, but wasn't there some discussion recently on the DBIC list about 
giving or defining more meta data in the schema?


More information about the HTML-FormFu mailing list