Re: A new php Validator and Filter interface for the SPL

From: Date: Sat, 01 Sep 2012 06:50:27 +0000
Subject: Re: A new php Validator and Filter interface for the SPL
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-62619@lists.php.net to get a copy of this message
On Fri, Aug 31, 2012 at 11:55 PM, Lars Strojny <lars@strojny.net> wrote: > Hi Axel, > > I think PHP core is just not the place for such standardization, as long as those interface do > not interact with the engine (as i.e. Traversable does). Different frameworks might or might not > agree on various interoperability standards and that’s fine. Having those interfaces in core would > bind the life- and deprecation cycles of interoperability agreements to the lifecycle of the > language. yes, I closed this PR. thanks > > cu, > Lars > > Am 31.08.2012 um 14:55 schrieb Axel Etcheverry <axel@etcheverry.biz>: > >> Hi, >> >> Please take a look at >> https://github.com/php/php-src/pull/180 >> >> This patch is designed to offer two new interfaces in the SPL to standardize filters and >> validators of frameworks (ZF, SF, etc ...). >> >> This allows the developer to use validators and filters of different sources in a same >> application. >> >> The tests are in the patch. >> >> Comments and feedback welcome. >> >> -- >> Best regards, >> Axel Etcheverry >> >> Phone : +33 6 84 15 57 52 >> Twitter : @euskadi31 (http://twitter.com/euskadi31) >> Home : http://www.axel-etcheverry.com >> (http://www.axel-etcheverry.com/) >> Audiofanzine : http://fr.audiofanzine.com >> (http://fr.audiofanzine.com/) >> Auto-broc : http://www.auto-broc.fr >> (http://www.auto-broc.fr/) >> >> >> > > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > -- Laruence Xinchen Hui http://www.laruence.com/

« previous php.internals (#62619) next »