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:
State of annotations in the PHP world
November 10, 2008 @ 13:32:59

In this new post to the Stubbles blog Frank Kleine looks at the current state of annotations in the PHP language and applications.

Annotations are a really helpful feature in present-day development. An annotation is a special form of syntactic metadata that can be added to source code elements such as classes, methods, properties and parameters. They do not affect the program semantic directly, but can be used by tools and libraries to handle such annotated code in a certain way.

He notes that, as of right now, PHP doesn't naively support anything like this but that there are additional libraries that can be used to augment the standard PHP performance and use them (like a feature in PHPUnit with @assert and @test). He also go through several of the other libraries that make it possible including Addendum, FLOW3 and the XP-Framework.

0 comments voice your opinion now!
state annotation language library external compare


blog comments powered by Disqus

Similar Posts

Odinjobs.com: PHP Experts: Why PHP Rocks

PHPit.net: Taking a first look at the AutoCRUD for PHP library

PHP Tip-a-Day: PHP Tutorial: Convoluted Code - Combining Ternary Operators and Anonymous Functions

Zend Developer Zone: Adding Multi-Language Support to Web Applications with PHP and PEAR

W3Techs.com: Highlights of web technology surveys, Nov. 2010: 3/4 of all websites are based on PHP


Community Events





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


security library tool community podcast interview composer framework opinion introduction voicesoftheelephpant symfony release package mvc update laravel language series version

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