mla wrote on 7/11/07 12:51 AM:
> Do most of you use Rose::HTML::Form to validate
> user-supplied data before constructing RDBO your
> RDBO objects?
> 

I do. See 
http://search.cpan.org/dist/Catalyst-Controller-Rose/lib/Catalyst/Controller/Rose/CRUD.pm
for example.

> Do you define the form constraints separately from
> the RDBO model constraints? Or is there a way to
> reuse one or the other?
> 

right now I have them defined separately, but there are several TODO comments 
in 
my code re: wanting to integrate Rose::HTML::Form::Field definitions with 
Rose::DB::Object::Metadata::Column definitions. It would be very nice to have a 
single definition/validation.
-- 
Peter Karman  .  http://peknet.com/  .  [EMAIL PROTECTED]

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Rose-db-object mailing list
Rose-db-object@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rose-db-object

Reply via email to