News Feed
Sections




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

PHPImpact Blog:
Using Annotations in PHP
July 22, 2008 @ 07:55:04

On the PHP::Impact blog today there's a new post showing how to use annotations in your application's code that can be used by the Addendum library.

Annotations provide data about a program that is not part of the program itself. They have no direct effect on the operation of the code they annotate. In PHP, annotations can only be read reflectively at run time.

They allow you to document, with meta-data, information about the classes, methods and variables inside the script. They show three of the annotation types - a marker, a single-value and a multi-value.

0 comments voice your opinion now!
annotations addendum library marker singlevalue multivalue


blog comments powered by Disqus

Similar Posts

Rob Allen's Blog: Displaying an RSS feed in WordPress

SitePoint PHP Blog: Getting Started with PHP Extension Development via PHP-CPP

SitePoint PHP Blog: Introduction to JadePHP

Felix Geisendorfer's Blog: Test Driven Development in Real World Apps

Padraic Brady's Blog: More OpenID (in PEAR and Refactoring)


Community Events





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


api update package opinion tips install release list community deployment interview laravel introduction symfony series language framework library podcast zendserver

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