Re: Simple variable handling.

From: Date: Mon, 15 Aug 2016 10:25:59 +0000
Subject: Re: Simple variable handling.
References: 1 2 3 4 5 6 7 8 9 10 11  Groups: php.internals 
Request: Send a blank email to internals+get-95180@lists.php.net to get a copy of this message
"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

« previous php.internals (#95180) next »