Re: Validation class comments
| From: | Manuel Lemos | Date: | Tue, 28 May 2002 17:21:30 +0000 |
| Subject: | Re: Validation class comments | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-6533@lists.php.net to get a copy of this message | ||
Hello,
On 05/28/2002 02:07 PM, Andrew Djachenko wrote:
Here some thoughts about Validation class and validation in PHP at all. 1. IMHO it must not be single huge class to validate all possible values - integer, float, currency, date, strings, URLs, emails, number of various credit cards an so on... I can't imagine a lot of cases when ALL this functions will be necessary. So such class must have pluggable architecture, and allow easily include and exclude validation functions from working script.Before you re-invent the wheel, this class does what you want and more. http://www.phpclasses.org/formsgeneration -- Regards, Manuel Lemos