On 06/09/17 12:15, Rowan Collins wrote:
> On 6 September 2017 09:29:37 BST, Lester Caine <les...@lsces.co.uk> wrote:
>> My only problem with Yasuo's latest offering is once again it adds a
>> whole new set of defines that have to be mapped to existing metadata
>> definitions ... That and it is a lot of longhand code using a different
>> style to existing arrays. We need yet another wrapper to build these
>> arrays from existing code ...
> The rules have to be defined somehow, and I'm not aware of a standard format 
> that current code is likely to follow. Unless there is already such a 
> standard, I can't see any way to avoid existing code having to be wrapped or 
> amended.
> 
> Which is why Yasuo and I have both suggested we work together to come up with 
> such a standard format that can be used or adapted for these different parts 
> of the application. If you have suggestions for how the format should look, 
> we are eager to hear them and see some examples.

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.

-- 
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

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

Reply via email to