Re: A validator module for PHP7
| From: | Lester Caine | Date: | Wed, 06 Sep 2017 08:29:37 +0000 |
| Subject: | Re: A validator module for PHP7 | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-100403@lists.php.net to get a copy of this message | ||
On 05/09/17 21:45, Rowan Collins wrote:
>> I've been pushing the idea of a single method of managing metadata for
>> a long time.
>> A single standard set of rules
>> that can be used across the board from variable creation to checking
>> data going out to forms and returns coming back and data between
>> operations such as database activity.
> Sounds great, and sounds very much like you agree with Yasuo's aims, but have some ideas
> on how the rules could be structured or expressed differently. Can you give any examples of how you
> might express these rules, so we can compare with Yasuo's ext/filter based syntax, and with
> some of the other validation libraries which are out there?
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 ...
--
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