[Catalyst] Data validation : a proposal (request for comments)
    Matt S Trout 
    dbix-class at trout.me.uk
       
    Tue Oct 17 18:33:38 CEST 2006
    
    
  
Dami Laurent (PJ) wrote:
> Hi Catalysters,
> 
> In our organization we are building a Catalyst app where form items have
> nested names (i.e. <input name="foo.2.bar.5">) and the whole form data
> is then expanded into a Perl tree through CGI::Expand. Next I need to
> validate the shape of that tree (type of nodes, absence/presence/size of
> subtrees, etc.). As far as I know, existing validation modules like
> Data::FormValidator or Html::Widget::Constraint do not go that far. So
> attached is a new proposal, still experimental, called Data::Domain (not
> yet on CPAN). I'm interested to hear about any
> comments/suggestions/collaboration proposals, or just to know if other
> people have similar needs. 
Looks a lot like
http://search.cpan.org/~phaylon/Declare-Constraints-Simple-0.03/
to me.
-- 
      Matt S Trout       Offering custom development, consultancy and support
   Technical Director    contracts for Catalyst, DBIx::Class and BAST. Contact
Shadowcat Systems Ltd.  mst (at) shadowcatsystems.co.uk for more information
+ Help us build a better perl ORM: http://dbix-class.shadowcatsystems.co.uk/ +
    
    
More information about the Catalyst
mailing list