Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:62619 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 452 invoked from network); 1 Sep 2012 06:50:53 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 1 Sep 2012 06:50:53 -0000 Authentication-Results: pb1.pair.com smtp.mail=laruence@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=laruence@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.212.42 as permitted sender) X-PHP-List-Original-Sender: laruence@gmail.com X-Host-Fingerprint: 209.85.212.42 mail-vb0-f42.google.com Received: from [209.85.212.42] ([209.85.212.42:32782] helo=mail-vb0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E4/12-12451-A40B1405 for ; Sat, 01 Sep 2012 02:50:51 -0400 Received: by vbbfs19 with SMTP id fs19so4231765vbb.29 for ; Fri, 31 Aug 2012 23:50:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=okGXpZ5COKVdkrxzlIiiuSwqGfDfU1m3H61dk+XhYgQ=; b=0m+LnTjkCWZ4JIGfox4Xi4TPvTuuXGz4mXC4OyzzN8+OgOrsDC4g5OSeEWh+8xWXe1 lIwK5QgkJAA4/CE7JgHIIacxoNe6YPPykDanF1R/SEdjAba1uJb0sEp/HjupM7qEf4gt 9PZ/FSKTRLNgFJonI6ceV4F5ofO3qSkVw6BuXYl5ET0QTQ37hhAeVLbC4sj3/zJv/VBv b4mMC1xoSq3m+vh11wx5c/qquuGYSXaYFdL+BcumTopQvBtopxQRa9WQILiyp0hdW4L8 7gqeQZNtWD31xJiWasAINEvjZGVT6P3b91fOdCi4Cyb8F+4UhuceD04zdcT9DW1gGe/K YtuA== Received: by 10.220.228.131 with SMTP id je3mr7268167vcb.73.1346482247728; Fri, 31 Aug 2012 23:50:47 -0700 (PDT) MIME-Version: 1.0 Sender: laruence@gmail.com Received: by 10.220.18.15 with HTTP; Fri, 31 Aug 2012 23:50:27 -0700 (PDT) In-Reply-To: References: <878B66F25116489D813EA1A7B9236797@etcheverry.biz> Date: Sat, 1 Sep 2012 14:50:27 +0800 X-Google-Sender-Auth: 2wwyEMJPp4XdPrcNfcouN2Jclrc Message-ID: To: Lars Strojny Cc: Axel Etcheverry , PHP Internals Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] A new php Validator and Filter interface for the SPL From: laruence@php.net (Laruence) On Fri, Aug 31, 2012 at 11:55 PM, Lars Strojny 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 doe= s). Different frameworks might or might not agree on various interoperabili= ty standards and that=E2=80=99s fine. Having those interfaces in core would= bind the life- and deprecation cycles of interoperability agreements to th= e lifecycle of the language. yes, I closed this PR. thanks > > cu, > Lars > > Am 31.08.2012 um 14:55 schrieb Axel Etcheverry : > >> 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 standar= dize filters and validators of frameworks (ZF, SF, etc ...). >> >> This allows the developer to use validators and filters of different sou= rces 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 > --=20 Laruence Xinchen Hui http://www.laruence.com/