Re: A new php Validator and Filter interface for the SPL
| From: | Axel Etcheverry | Date: | Sat, 01 Sep 2012 11:20:58 +0000 |
| Subject: | Re: A new php Validator and Filter interface for the SPL | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-62630@lists.php.net to get a copy of this message | ||
ok if its place is not in the core, or is it?
--
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/)
Le samedi 1 septembre 2012 à 08:50, Laruence a écrit :
> On Fri, Aug 31, 2012 at 11:55 PM, Lars Strojny <lars@strojny.net
> (mailto: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
> > (mailto: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/
>
>