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/)
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.
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 EtcheverryPhone : +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/)
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,
LarsAm 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 EtcheverryPhone : +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/)--
--
Laruence Xinchen Hui
http://www.laruence.com/
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 :
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,
LarsAm 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 EtcheverryPhone : +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/)--
--
Laruence Xinchen Hui
http://www.laruence.com/