atom feed193 messages in net.php.lists.internalsRe: [PHP-DEV] annotations again
FromSent OnAttachments
59 earlier messages
Ferenc KovacsMay 10, 2011 12:43 am 
Lars SchultzMay 10, 2011 1:02 am 
Jordi BoggianoMay 10, 2011 1:10 am 
Lars SchultzMay 10, 2011 1:16 am 
Rasmus LerdorfMay 10, 2011 1:44 am 
Sebastian BergmannMay 10, 2011 2:34 am 
Ferenc KovacsMay 10, 2011 2:39 am 
Sebastian BergmannMay 10, 2011 2:40 am 
Ferenc KovacsMay 10, 2011 3:04 am 
DrakMay 10, 2011 3:21 am 
Stefan MarrMay 10, 2011 4:04 am 
Arvids GodjuksMay 10, 2011 4:42 am 
Martin ScottaMay 10, 2011 5:28 am 
Martin ScottaMay 10, 2011 5:46 am 
Ferenc KovacsMay 10, 2011 6:13 am 
Lars SchultzMay 10, 2011 6:37 am 
chri...@mohiva.comMay 10, 2011 6:55 am 
Lars SchultzMay 10, 2011 7:12 am 
PasMay 10, 2011 7:19 am 
Alain WilliamsMay 10, 2011 7:19 am 
Christian KapsMay 10, 2011 7:50 am 
Lester CaineMay 10, 2011 8:02 am 
Arvids GodjuksMay 10, 2011 8:07 am 
guil...@gmail.comMay 10, 2011 8:07 am 
Lester CaineMay 10, 2011 8:20 am 
Jonathan Bond-CaronMay 10, 2011 8:43 am 
Lester CaineMay 10, 2011 8:49 am 
Jonathan Bond-CaronMay 10, 2011 8:51 am 
Matthew Weier O'PhinneyMay 10, 2011 8:56 am 
Matthew Weier O'PhinneyMay 10, 2011 8:57 am 
Lester CaineMay 10, 2011 9:10 am 
Stas MalyshevMay 10, 2011 9:30 am 
guil...@gmail.comMay 10, 2011 9:46 am 
Zeev SuraskiMay 10, 2011 9:47 am 
Sebastian BergmannMay 10, 2011 10:14 am 
Sebastian BergmannMay 10, 2011 10:15 am 
Matthew Weier O'PhinneyMay 10, 2011 10:19 am 
DrakMay 10, 2011 10:29 am 
Lester CaineMay 10, 2011 11:12 am 
Christopher JonesMay 10, 2011 11:16 am 
Mike RobinsonMay 10, 2011 11:20 am 
Ferenc KovacsMay 10, 2011 11:21 am 
Lester CaineMay 10, 2011 11:22 am 
Ferenc KovacsMay 10, 2011 11:27 am 
Ferenc KovacsMay 10, 2011 11:28 am 
Matthew Weier O'PhinneyMay 10, 2011 12:27 pm 
dukeofgamingMay 10, 2011 12:28 pm 
guil...@gmail.comMay 10, 2011 12:31 pm 
guil...@gmail.comMay 10, 2011 12:35 pm 
DrakMay 10, 2011 12:36 pm 
Ferenc KovacsMay 10, 2011 12:40 pm 
Ferenc KovacsMay 10, 2011 12:41 pm 
dukeofgamingMay 10, 2011 12:44 pm 
Rasmus LerdorfMay 10, 2011 12:44 pm 
DrakMay 10, 2011 12:49 pm 
Rasmus LerdorfMay 10, 2011 12:51 pm 
Chad FultonMay 10, 2011 1:02 pm 
Christopher JonesMay 10, 2011 1:28 pm 
Lester CaineMay 10, 2011 2:32 pm 
Lars SchultzMay 10, 2011 3:03 pm 
guil...@gmail.comMay 10, 2011 3:27 pm 
Johannes SchlüterMay 10, 2011 5:01 pm 
Johannes SchlüterMay 10, 2011 5:15 pm 
Lester CaineMay 10, 2011 10:41 pm 
Lars SchultzMay 10, 2011 11:34 pm 
dukeofgamingMay 10, 2011 11:49 pm 
Lars SchultzMay 11, 2011 12:02 am 
Lester CaineMay 11, 2011 12:20 am 
Rasmus LerdorfMay 11, 2011 12:44 am 
Michael WallnerMay 11, 2011 12:51 am 
Lars SchultzMay 11, 2011 12:59 am 
Lester CaineMay 11, 2011 1:04 am 
dukeofgamingMay 11, 2011 1:11 am 
Lars SchultzMay 11, 2011 1:25 am 
dukeofgamingMay 11, 2011 1:39 am 
Johannes SchlüterMay 11, 2011 1:54 am 
dukeofgamingMay 11, 2011 2:04 am 
Lester CaineMay 11, 2011 2:21 am 
Rasmus LerdorfMay 11, 2011 2:30 am 
Johannes SchlüterMay 11, 2011 2:44 am 
dukeofgamingMay 11, 2011 2:59 am 
Lester CaineMay 11, 2011 3:43 am 
Richard QuadlingMay 11, 2011 4:31 am 
Christian KapsMay 11, 2011 5:21 am 
DrakMay 11, 2011 5:29 am 
Mike van RielMay 11, 2011 5:35 am 
Ferenc KovacsMay 11, 2011 5:52 am 
Lester CaineMay 11, 2011 6:18 am 
Mike van RielMay 11, 2011 6:27 am 
Ferenc KovacsMay 11, 2011 6:31 am 
Lester CaineMay 11, 2011 6:59 am 
Matthew Weier O'PhinneyMay 11, 2011 8:30 am 
Matthew Weier O'PhinneyMay 11, 2011 8:32 am 
Philip OlsonMay 11, 2011 8:42 am 
guil...@gmail.comMay 11, 2011 8:58 am 
guil...@gmail.comMay 11, 2011 9:06 am 
guil...@gmail.comMay 11, 2011 9:21 am 
Christopher JonesMay 11, 2011 9:54 am 
Rasmus LerdorfMay 11, 2011 9:58 am 
Lester CaineMay 11, 2011 10:11 am 
34 later messages
Subject:Re: [PHP-DEV] annotations again
From:Drak (dr@zikula.org)
Date:May 10, 2011 12:36:52 pm
List:net.php.lists.internals

On 10 May 2011 21:42, Matthew Weier O'Phinney <weie@php.net> wrote:

Annotations cannot be considered bloat because are being used increasingly everywhere that is a clear indication that they are required as part of the PHP core as much as many of the Spl classes. It should be clear by now that the PHP community really do want annotations.

Can you back this up, please?

Just because developers are using annotations does not necessarily mean we need a new syntax.

Sure - I just revisited my browser history today. I turned up at least dozen annotation driver implementations (including 3 separate PHP C implementations!) just with a casual google search.

Google Searches

----------------------- Lots of pages specifically about "PHP annotations" (9,470): http://www.google.com/search?hl=en&q="php+annotations" "PHP Annotations" + patch (5,000) http://www.google.com/search?hl=en&q="php+annotations"+patch PHP annotations (1.8 million) http://www.google.com/search?q=php+annotations - you can see lots and lots of chatter about PHP annotations.

C patches for PHP

------------------------- http://labs.adoy.net/php-annotations.php (source: https://github.com/adoy/PHP-Annotations) http://code.google.com/p/addendum/ https://github.com/marcelog/AnoForPHP Guilherme Blanco's of course

PHP based annotation drivers

--------------------------------------- https://github.com/schmittjoh/annotations https://github.com/jubianchi/PHPAnnotations https://github.com/oes/pia http://sourceforge.net/projects/phpannotations/ https://github.com/veritech/Annotations (for CakePHP) https://github.com/domain51/Domain51_Tool_Annotation https://github.com/doomspork/sleepy PHPUnit :-P Doctrine and so on... ... and these are just projects which have written annotation drivers found during a quick search.

There is clearly a lot of interest from PHP userland in annotations, evidenced that annotations have been being used for years already, most notably by PHPUnit from so long ago. As frameworks adopt annotations the use of annotations will escalate more and more and it's already happening since many people use PHP frameworks: people using the frameworks inevitably use the technology in the framework. Also logically, people would not be writing drivers if there was not a demand for it. I feel like I am stating the obvious :)

If PHP accept the patch (in it's current or a modified form) it should be feature complete. There is no point neutering a perfectly good feature at it's inception. Whether it's in the docblock, or as Guilherme's designed in the code, annotations should accept more than key=>value.

PS - sorry to say this but from the other thread, all this talk of ecosystems is quite strange and full of FUD. The PHP eco-system depends on PHP and exists only because of PHP, not the other way round. If PHP adds a new syntax or new functions, the IDEs have to support it - it's only logical or they will lose users to another product which does support PHP properly and in a timely manner. IDE vendors provide a solution for people who need a PHP IDE so it only goes to reason surely? Given their scale and userbase I cant see Beans and Eclipse PDT ignoring new syntax any time soon nor any of the commercial IDEs like Zend Studio or phpStorm. If they managed with namespace support I don't see why this would be any different. I feel like I'm stating the obvious.