News Feed
Sections




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

Symfony Blog:
Symfony2 Annotations gets better
May 23, 2011 @ 11:08:53

Fabien Potencier has posted another in his "getting better" series looking at the features that are included in the Symfony2 framework. In this new post he talks about the improvement annotation support.

Later today, I will release Symfony2 beta2. But first, I wanted to talk about a big change that landed into master yesterday. As you might know, Symfony2 uses annotations for Doctrine mapping information and validation configuration. Of course, it is entirely optional, and the same can be done with XML, YAML, or even PHP. But using annotations is convenient and allows you to define everything in the same file.

Two new bundles were added, SensioFrameworkExtraBundle and JMSSecurityExtraBundle, that let you use annotations in the controller for configuration. Examples of this new feature are included in the post giving the configuration settings a more "native" feel.

0 comments voice your opinion now!
annotations native controller configuration


blog comments powered by Disqus

Similar Posts

Padraic Brady's Blog: Zend Framework Caching (Parts 1, 2 & 2b)

PHP Thinktank Blog: MVC with Abraxas

PHPMaster.com: Explore Aspect Oriented Programming with CodeIgniter, Part 3

Symfony Blog: Cross Application Links

Fabien Potencier's Blog: Create your own framework... on top of the Symfony2 Components (part 6)


Community Events





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


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

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