[ciapug] Data Validation

Dave J. Hala Jr. ciapug@cialug.org
Mon, 02 May 2005 11:28:46 -0500


That seems to be the issue here too. -especially with XML-RPC, For
example, if you generate a mysql error, the XMLRPC client gets one of
those "Bad response errors" ( or something to that effect)  Its kind of
pain.

For now I've suppressed the mysql errors with @, but that really isn't
permanent fix.





On Mon, 2005-05-02 at 11:20, Tony Bibbs wrote:
> 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
> _______________________________________________
> ciapug mailing list
> ciapug@cialug.org
> http://cialug.org/mailman/listinfo/ciapug
-- 

Open Source Information Systems (OSIS)
Dave J. Hala Jr. <dave@osis.us>
641.485.1606