Re: Re: Validation class comments
| From: | Pierre-Alain Joye | Date: | Tue, 28 May 2002 17:44:34 +0000 |
| Subject: | Re: Re: Validation class comments | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-6534@lists.php.net to get a copy of this message | ||
On Tue, 28 May 2002 14:21:30 -0300
Manuel Lemos <mlemos@acm.org> wrote:
> Before you re-invent the wheel, this class does what you want and
> more.
We do not re-invent the wheel, I never see a data validation lib, but
only basic form validation with classic data type. The goals of this
kind of lib are more to provide a usefull tool to validate any data from
any source (forms, soap, csv files). That may be included any encoding
for string data, any date format, user number (incl. localisation),
etc...
> http://www.phpclasses.org/formsgeneration
This class does not match the goals defined here. A data validation
class must be able to be called from any objects, a modular plugin
architecture ( localisation is a must if we want to valid user input
data or proprietary export data ).
Your mail validation class should be a part of the project, but, sorry,
I personnaly do not consider formsgeneration as modular ( I especially
like the addInput method ;)) ).
pa