Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:95179 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 34407 invoked from network); 15 Aug 2016 09:23:22 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Aug 2016 09:23:22 -0000 Authentication-Results: pb1.pair.com smtp.mail=lester@lsces.co.uk; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=lester@lsces.co.uk; sender-id=unknown Received-SPF: error (pb1.pair.com: domain lsces.co.uk from 217.147.176.230 cause and error) X-PHP-List-Original-Sender: lester@lsces.co.uk X-Host-Fingerprint: 217.147.176.230 mail4-3.serversure.net Linux 2.6 Received: from [217.147.176.230] ([217.147.176.230:55040] helo=mail4.serversure.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 94/CE-36656-90A81B75 for ; Mon, 15 Aug 2016 05:23:22 -0400 Received: (qmail 25446 invoked by uid 89); 15 Aug 2016 09:23:17 -0000 Received: by simscan 1.3.1 ppid: 25440, pid: 25443, t: 0.0670s 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; 15 Aug 2016 09:23:17 -0000 To: internals@lists.php.net References: <10fbcb03-5de8-4d9a-da1c-7e2bf77937cb@lsces.co.uk> <5D.6E.36656.C2781B75@pb1.pair.com> Message-ID: <4b381281-204d-5e57-0bba-127ab8d2e926@lsces.co.uk> Date: Mon, 15 Aug 2016 10:23:17 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2 MIME-Version: 1.0 In-Reply-To: <5D.6E.36656.C2781B75@pb1.pair.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Subject: Re: [PHP-DEV] Simple variable handling. From: lester@lsces.co.uk (Lester Caine) 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? 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 :( 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 ... -- 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