Re: A validator module for PHP7
| From: | Lester Caine | Date: | Wed, 06 Sep 2017 12:11:36 +0000 |
| Subject: | Re: A validator module for PHP7 | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-100414@lists.php.net to get a copy of this message | ||
On 06/09/17 13:00, lists@rhsoft.net wrote:
> Am 06.09.2017 um 13:52 schrieb Lester Caine:
>> The likes of ADOdb datadict are still used as a base for metadata in
>> projects, but PDO destroyed the standardisation that used to exist by
>> spawning a number of competing wrappers.
>> https://github.com/ADOdb/ADOdb
>> has evolved from a private project to being supported by it's own
>> community and is worth reconsidering as a proper cross database standard
>> to build on. Validation rules simply build on that base
>
> frankly - why don't you realize that input validation DOES NOT turn
> around databases at all - databases and SQL injection are *just one*
> subset of it and not every application works with databases at all
Metadata describing a data set should be standard across all interfaces.
PHP has had standards on the database interfaces for a long time and
writing different standards yet again for other interfaces is all I am
objecting to. If you build metadata for a form that can then simply be
dropped into the interface for a database or to pass into another
storage method then it will be a lot more usable.
--
Lester Caine - G8HFL
-----------------------------
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk
Rainbow Digital Media - http://rainbowdigitalmedia.co.uk