"Lester Caine" wrote in message news:4b381281-204d-5e57-0bba-127ab8d2e...@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


--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to