Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:52195 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 75475 invoked from network); 10 May 2011 03:50:50 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 10 May 2011 03:50:50 -0000 Authentication-Results: pb1.pair.com header.from=pierrick@webstart.fr; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=pierrick@webstart.fr; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain webstart.fr from 74.125.83.170 cause and error) X-PHP-List-Original-Sender: pierrick@webstart.fr X-Host-Fingerprint: 74.125.83.170 mail-pv0-f170.google.com Received: from [74.125.83.170] ([74.125.83.170:43385] helo=mail-pv0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id C3/89-14908-916B8CD4 for ; Mon, 09 May 2011 23:50:49 -0400 Received: by pvg16 with SMTP id 16so3019062pvg.29 for ; Mon, 09 May 2011 20:50:46 -0700 (PDT) MIME-Version: 1.0 Received: by 10.68.65.40 with SMTP id u8mr8786446pbs.229.1304999446485; Mon, 09 May 2011 20:50:46 -0700 (PDT) Received: by 10.68.56.2 with HTTP; Mon, 9 May 2011 20:50:46 -0700 (PDT) In-Reply-To: References: <4DC826B1.4090806@lerdorf.com> <4DC82A36.8090604@lerdorf.com> <4DC83401.2090202@sugarcrm.com> Date: Mon, 9 May 2011 23:50:46 -0400 Message-ID: To: Mike Willbanks Cc: "guilhermeblanco@gmail.com" , Stas Malyshev , PHP Internals Content-Type: multipart/alternative; boundary=0015174be4e070a4e404a2e3dc56 Subject: Re: [PHP-DEV] annotations again From: pierrick@webstart.fr (Pierrick Charron) --0015174be4e070a4e404a2e3dc56 Content-Type: text/plain; charset=ISO-8859-1 Hi, Annotations as proposed in the RFC can not (or hardly) be develop as an extension (and so can not go into PECL). The proposed feature require modifications directly into the Zend Engine like for the inclusion of a new syntax which imply modification of the parser. Regards, Pierrick On 9 May 2011 23:42, Mike Willbanks wrote: > Guilherme, > > As per many of the conversations on annotations one of that hardest parts > of > it is that there are generally 3 conversations going on about it when this > starts to be discussed. It seems many threads are hi-jacked and I can > understand why. > > I would like to state that annotations in the core may be a good idea; > however, we have PECL and PECL seems like the perfect place for this. > Quite > a few extensions have started off in PECL and made their way to the core > and > several have been moved from the core to PECL. To me annotations support > seems like it would be perfect in PECL. Dedicated machines and virtual > machines for end users are higher than ever and they seem to continue to > grow. This should easily allow folks to put in the PECL module as needed. > > I would argue that the introduction of this into the core is adding more > feature bloat into the language that is not quite needed at this point. > There are obviously several improvements that this would allow to be > improved and consistent: WSDL / JSON-RPC / XML-RPC / Doctrine / etc. > > However, I feel extensions like Mongo / Memcached / Gearman have more to > add > to the PHP core than adding annotations and they live in PECL. Just > speaking from the practical point of view. It is great that certain > projects that have utilized annotations and created a layer in user land to > make annotations a nice thing to utilize. But to continue to argue this > point; it just does not seem logical other than the fact that a few > projects > want to promote annotations should cause it to drop into the core. > > I for one would like to see this go to PECL and see the up-take then > identify if it is needed for the next PHP release after 5.4. It seems a > bit > early and like it would be crammed into the PHP core without enough > discussion. There are obviously many thoughts on this and it will take > time > to sort out and implementation details then would be further down the trail > after some consensus is happening within this feature. > > Regards, > > Mike > --0015174be4e070a4e404a2e3dc56--