Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:64611 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 66686 invoked from network); 6 Jan 2013 22:24:51 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Jan 2013 22:24:51 -0000 Authentication-Results: pb1.pair.com header.from=lars@strojny.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=lars@strojny.net; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain strojny.net from 46.4.40.248 cause and error) X-PHP-List-Original-Sender: lars@strojny.net X-Host-Fingerprint: 46.4.40.248 milch.schokokeks.org Received: from [46.4.40.248] ([46.4.40.248:44424] helo=milch.schokokeks.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 11/09-04877-1B9F9E05 for ; Sun, 06 Jan 2013 17:24:50 -0500 Received: from lstrojnypro3.fritz.box (ppp-46-244-153-186.dynamic.mnet-online.de [::ffff:46.244.153.186]) (AUTH: PLAIN lars@schokokeks.org, TLS: TLSv1/SSLv3,128bits,AES128-SHA) by milch.schokokeks.org with ESMTPSA; Sun, 06 Jan 2013 23:24:45 +0100 id 000000000000001A.0000000050E9F9AD.00002961 Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) In-Reply-To: Date: Sun, 6 Jan 2013 23:24:45 +0100 Cc: PHP internals Content-Transfer-Encoding: quoted-printable Message-ID: <45FD2112-5469-48A2-8941-92415EC711E1@strojny.net> References: To: Yahav Gindi Bar X-Mailer: Apple Mail (2.1499) Subject: Re: [PHP-DEV] [RFC] Reflection annotations reader From: lars@strojny.net (Lars Strojny) Hi Yahav, Am 06.01.2013 um 22:58 schrieb Yahav Gindi Bar : [...] > In one of the discussions (about the "deprecated" keyword, to be = specific), > it was been said that adding ability to read doc-comment annotation = could > be handy. Personally, I really think it can be great. >=20 > So, I've created an RFC that propose to improve the Reflection = extension by > adding the ability to read annotations decorated in the doc-comment. >=20 > https://wiki.php.net/rfc/reflection_doccomment_annotations >=20 > What is your opinion about this? =46rom what I've seen in various components using annotations, this kind = of support wouldn=92t be enough. I would much prefer direct mapping of a = single annotation on a class including a way to define properties and = such. This is how e.g. Doctrine, Symfony, Zend Framework etc. all = utilize annotations nowadays. cu, Lars=