Re: best data validators?
"Mocky Habeeb" <[email protected]>
| Newsgroups | gmane.org.user-groups.trijug.juglist |
|---|---|
| Message-ID | <[email protected]> |
We were never able to find a suitable validation project for our needs. In the end we went with regular expressions for almost everything. They were easy for us to store and manage, and we run them on the server and in the browser. We actually have a list of expressions for each type, and if any one of them matches then validation succeeds. This has been very flexible for us. On Feb 5, 2008 8:35 AM, Tim Jowers <[email protected]> wrote: > Hi Everyone, > > What are the best data validation projects out there? I looked on > Sourceforge to little avail. I thought someone would have defined like > 100-200 business data types and have validation for each of them. For > instance, a VIN follows a well-defined set of requirements and can be cross > validated with the make, model and year. Etc. > > I've looked at Apache's data validation project but am unimpressed. I > wish Apache would put their projects on Sourceforge. Apache Validation has a > limited (<15) set of business data types and provides only basic validation. > It has no architecture WRT format validation, content validation, cross > validation, and validation services. It also mixes Java code for validation > for some data types with XML scripting for others. Its really irritating > because I also also expected corresponding JavaScript validation for each > data type. I guess they think one can load the XML for validation in a web > browser but I haven't dug any deeper. > > Thanks, > TimJowers > > P.S> Thanks for everyone's feedback on O-R Mapping and Code generators. > The JBoss Seam project was easy to use. I was able to create a basic web gui > within two hours of downloading JBoss and Seam. NetBeans provides a > drag-n-drop GUI builder. Both support JSF. NetBeans also supports JavaScript > frameworks like DOJO and jMaki in addition to WYSIWIG Swing. Seam will > generate JSF code right from a database. NetBeans, AFAICT, requires a drag > and drop for each table. Both seem to give a tag soup but I guess that's > state of the art in Java to Web development. Both seem to genrate code based > on a table and have no special techniques for related tables. Now I'll try > out Seam on a real database with 300 tables and many which are not > normalized. Ought to be fun, NOT! > Apache Commons Validator: http://commons.apache.org/validator/ > db2app: http://sourceforge.net/projects/db2app > JBoss Seam: http://www.jboss.com/products/seam, > http://www.serviza.com/lifetype/index.php?op=ViewArticle&articleId=15&blogId=1 > NetBeans: http://www.netbeans.org/downloads/ > > > _______________________________________________ > Juglist mailing list > [email protected] > http://trijug.org/mailman/listinfo/juglist_trijug.org > > -- Regards, Mocky Habeeb Head of Web Technology Architecture Development The infraWise/IRC Group of Companies 3500 Regency Parkway Cary, North Carolina, USA NC 27518 www.infraWise.com (919) 460-7447 x5365 Be Wise with iWise™ _______________________________________________ Juglist mailing list [email protected] http://trijug.org/mailman/listinfo/juglist_trijug.org