Re: Re: PHP Annotations RFC + Patch
| From: | Rasmus Lerdorf | Date: | Mon, 13 Sep 2010 17:01:27 +0000 |
| Subject: | Re: Re: PHP Annotations RFC + Patch | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-49629@lists.php.net to get a copy of this message | ||
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