News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Stubbles Blog:
More PHP6 Wishlist Talk (Annotations)
February 27, 2007 @ 13:02:00

Frank and Stehpan has posted two more items in their "PHP6 wishlist" series" today - both mentioning annotations.

In Stephan's post:

Porting JavaDoc comments to PHP was one of the best things, that ever happened to to PHP4. But like in Java 4, the DocBlocks in PHP evolved from plain documentation to a feature that adds meta information to classes, methods, properties and variables. IDEs, like Zend Studio, use the @var tag to enable type hinting for method return values, which would not possible without the DocBlock, as PHP is a dynamic languages.

And from Frank:

In part three of his wishlist for PHP 6 Stephan wrote that he would like to see annotations built into PHP 6 directly. I disagree with him about that. Annotations can be done in userland, without any problems. He already gave some examples of projects that accomplished this task. But if you look at them you see that every project has a different solution on how to implement annotations for PHP which leads to the problem that if you use different projects in your own application you have to handle all their ways of treating annotations. Annoying, isn't it?
0 comments voice your opinion now!
php6 wishlist annotation comment docblock php6 wishlist annotation comment docblock


blog comments powered by Disqus

Similar Posts

Spindrop.us: Digg-style AJAX comment editing in PHP/symfony

PHP-GTK Community Blog: Articles on other sites (PHP6, an Intro & Desktop Apps)

Mike van Riel's Blog: Introducing: DocBlox

David Coallier's Blog: PHP Namespaces, how do YOU use them?

Joshua Eichorn's Blog: phpDocumentor enhancements


Community Events





Don't see your event here?
Let us know!


symfony laravel tool community composer security interview voicesoftheelephpant framework package language opinion conference introduction series library example podcast list version

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework