Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:100414 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 48515 invoked from network); 6 Sep 2017 12:11:42 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Sep 2017 12:11:42 -0000 Authentication-Results: pb1.pair.com header.from=lester@lsces.co.uk; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=lester@lsces.co.uk; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain lsces.co.uk designates 185.153.204.204 as permitted sender) X-PHP-List-Original-Sender: lester@lsces.co.uk X-Host-Fingerprint: 185.153.204.204 mail4.serversure.net Linux 2.6 Received: from [185.153.204.204] ([185.153.204.204:34000] helo=mail4.serversure.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 5D/F4-10715-BF5EFA95 for ; Wed, 06 Sep 2017 08:11:40 -0400 Received: (qmail 32483 invoked by uid 89); 6 Sep 2017 12:11:36 -0000 Received: by simscan 1.3.1 ppid: 32477, pid: 32480, t: 0.0454s scanners: attach: 1.3.1 clamav: 0.96/m:52/d:10677 Received: from unknown (HELO ?10.0.0.7?) (lester@rainbowdigitalmedia.org.uk@81.138.11.136) by mail4.serversure.net with ESMTPA; 6 Sep 2017 12:11:36 -0000 To: internals@lists.php.net References: <0C7F986C-B0BC-4315-98ED-B4FD003B9399@gmail.com> <2a4491b4-e6f5-4297-beec-363f373a93e6@lsces.co.uk> <3f8be7b1-0e59-21c6-4fe8-8299b2c05645@rhsoft.net> <6ba62d62-f1ab-9e7b-93f0-a1a9238c47a6@lsces.co.uk> <0db9cfa3-2b31-ee41-713c-889b7cc06406@lsces.co.uk> <98ddc3ce-6d15-91de-109e-f4aee46617ad@rhsoft.net> Message-ID: <93783ca2-52c3-1f28-9b5b-acaf9884877b@lsces.co.uk> Date: Wed, 6 Sep 2017 13:11:36 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <98ddc3ce-6d15-91de-109e-f4aee46617ad@rhsoft.net> Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] A validator module for PHP7 From: lester@lsces.co.uk (Lester Caine) 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