Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:49629 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 29150 invoked from network); 13 Sep 2010 17:01:37 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Sep 2010 17:01:37 -0000 Authentication-Results: pb1.pair.com smtp.mail=rasmus@lerdorf.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=rasmus@lerdorf.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain lerdorf.com from 74.125.83.170 cause and error) X-PHP-List-Original-Sender: rasmus@lerdorf.com X-Host-Fingerprint: 74.125.83.170 mail-pv0-f170.google.com Received: from [74.125.83.170] ([74.125.83.170:37308] helo=mail-pv0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 92/C7-24501-0F85E8C4 for ; Mon, 13 Sep 2010 13:01:37 -0400 Received: by pvg16 with SMTP id 16so2460097pvg.29 for ; Mon, 13 Sep 2010 10:01:33 -0700 (PDT) Received: by 10.142.250.28 with SMTP id x28mr77097wfh.188.1284397293447; Mon, 13 Sep 2010 10:01:33 -0700 (PDT) Received: from Rasmus-Lerdorfs-MacBook-Pro.local (c-24-7-29-193.hsd1.ca.comcast.net [24.7.29.193]) by mx.google.com with ESMTPS id t11sm8965150wfc.22.2010.09.13.10.01.31 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 13 Sep 2010 10:01:31 -0700 (PDT) Message-ID: <4C8E58E7.1080302@lerdorf.com> Date: Mon, 13 Sep 2010 10:01:27 -0700 User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.9) Gecko/20100825 Lightning/1.0b2 Thunderbird/3.1.3 MIME-Version: 1.0 To: Benjamin Eberlei CC: internals@lists.php.net References: <4C873C0F.1010200@zend.com> <4C879613.7090709@zend.com> <4C887D2B.2000605@zend.com> <4C8AC526.7000505@sugarcrm.com> <4C8B6168.30504@mohiva.com> <4C8BC81E.8000605@sugarcrm.com> <7.0.1.0.2.20100913145703.0d226d90@zend.com> <0f5a11f744bbcf99d8217f40da3a302a@beberlei.de> In-Reply-To: <0f5a11f744bbcf99d8217f40da3a302a@beberlei.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Re: PHP Annotations RFC + Patch From: rasmus@lerdorf.com (Rasmus Lerdorf) On 9/13/10 8:38 AM, Benjamin Eberlei wrote: > The primary target for annotations are framework and library integrations: > validation, forms, metadata mapping, static mvc configuration such as > routing, view selection or acls. Why do these features not exist with > current php libraries yet? Because developers see php doc blocks for what > they are: Comments! I think my main issue with these use cases is that I fundamentally don't believe they should be done at runtime. These are all things that are not going to change from one request to the next and as such should not be evaluated on every single request. -Rasmus