Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:95180 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 38305 invoked from network); 15 Aug 2016 10:26:03 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Aug 2016 10:26:03 -0000 X-Host-Fingerprint: 80.177.120.119 marston-home.demon.co.uk Received: from [80.177.120.119] ([80.177.120.119:28807] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 8B/5F-36656-BB891B75 for ; Mon, 15 Aug 2016 06:26:03 -0400 Message-ID: <8B.5F.36656.BB891B75@pb1.pair.com> To: internals@lists.php.net References: <10fbcb03-5de8-4d9a-da1c-7e2bf77937cb@lsces.co.uk> <5D.6E.36656.C2781B75@pb1.pair.com> <4b381281-204d-5e57-0bba-127ab8d2e926@lsces.co.uk> In-Reply-To: <4b381281-204d-5e57-0bba-127ab8d2e926@lsces.co.uk> Date: Mon, 15 Aug 2016 11:25:59 +0100 Lines: 1 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="UTF-8"; reply-type=original Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Newsreader: Microsoft Windows Live Mail 16.4.3564.1216 X-MimeOLE: Produced By Microsoft MimeOLE V16.4.3564.1216 X-Posted-By: 80.177.120.119 Subject: Re: [PHP-DEV] Simple variable handling. From: TonyMarston@hotmail.com ("Tony Marston") "Lester Caine" wrote in message news:4b381281-204d-5e57-0bba-127ab8d2e926@lsces.co.uk... > >On 15/08/16 10:11, Tony Marston wrote: >> The origins of $fieldarray should be obvious. The $fieldspecs array is >> constructed from data which is originally extracted from the database >> schema, imported into my Data Dictionary, then exported into a PHP >> script which is then included when the table's class is instantiated. > >What third party system are YOU using for that? The Data Dictionary is one that I wrote, and is available in my open source Radicore framework. >I've got exactly the same via ADOdb, but just about every project USING >it produces their own set of code for 'extracting' since the constraint >rules are not part of the core package. PDO has made things even worse >rather than better :( I don't use PDO as it was not created until years AFTER I had built my own solution. Besides, PDO does not do data validation. >This is simply about a standard method of adding constraint and other >data to the $fieldarray. Even Yasuo's filter extensions need a third >party tool to build HIS set of rules from every body else’s version of >storing them ... > I have no intention of using Yasuo's filter extension as it does not provide anything that I need. I have already written code that does the job, and I see no reason to change it. -- Tony Marston