Thursday, April 22, 2010

cf.Objective(1) - Easy and Flexible Validations for Objects

Arrived at cf.objective() with not much delays. All the usual suspects are here. Looking forward to the sessions. I will try to blog about every session I go to.

First one is Easy and Flexible Validations for Objects - Bob Silverberg.

Why do validation..? duh.. :-)

Bob presented his validation framework - ValidateThis.
It combines the definition of form field into one very flexible xml document.
Framework can then generates both client and server validation and returns structured results.

The system works by passing instantiated bean into frameworks facade. There are plans are to make it take a structure of data.

ValidateThis supports internationalization.

complex dependencies between one fields value and validation of another is also available.

No comments: