RE: [PEAR-DEV] Re: Validation class comments
| From: | LIMBOURG Arnaud | Date: | Wed, 29 May 2002 11:44:52 +0000 |
| Subject: | RE: [PEAR-DEV] Re: Validation class comments | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-6586@lists.php.net to get a copy of this message | ||
that's why a container approach would be nice.
Say you want to validate a string you call the validation class pass it your
data saying it's a string needing a certain kind of validation with a
certain encoding for a given area (i18n) and the core class loads the
needed subclasses.
Arnaud.
> I belive that a truly modular setup like Vincent Oostindie
> proposed a while
> back (much smaller classes) may be beneficial. Then you are
> not loading
> tons of unwanted code, but only the portion that you really
> require. Wouldn't this solve the problem?
>
> Peter