[ciapug] Data Validation

Tony Bibbs ciapug@cialug.org
Mon, 02 May 2005 11:20:54 -0500


I keep a class with a bunch of static validation methods in it and then 
let all my model object call those static methods in their validation 
method.  The validation, to me, is easy, we spend more time figuring out 
slick ways of reporting those errors back to the user.

--Tony

Dave J. Hala Jr. wrote:
> I remember Tim saying something about some methods that he used to
> validate data.
> 
> Since I'm using xmlrpc to aggregate data from 5 differant systems, I
> thought I might ask for some feedback.
> 
> Currently, I'm tracking the user account, adding a timestamp and a batch
> number. I haven't quite figured out how to confirm that the actual data
> is good, or if I even need to.
> 
> What do ya'll do?
> 
> 
> :) Dave