The main drawback of annotations is that the 'configuration' code is directly 
linked to the raw php code. So there is no clear separation and it make harder 
to tweak the configuration from an external points of view. (can it be view as 
an Anti-DIC Pattern ?)

If annotations are used in a final product/layer, I am fine with that. 
(configuration and code can be linked). But Annotations can be used as a 
solution for developing reusable Bundles and this situation is an open door to 
futur configuration issues.



On 8 mars 2011, at 14:00, Fabien Potencier wrote:

> On 3/8/11 1:50 PM, Robert Campbell wrote:
>> I am very impressed with the work of the SF2 dev
>> team, but it's radical decisions like distributing FrameworkExtraBundle
>> as a standard package that may deter me from embracing SF2
> 
> A radical decision? What are you talking about? We use annotations for 
> everything from validation to ORM model description. And it would not make 
> sense to use annotations for routes or cache?
> 
> Sorry, but I don't get this discussion at all. If it's just a documentation 
> problem or a naming problem, tell me so.
> 
> Fabien
> 
> -- 
> If you want to report a vulnerability issue on symfony, please send it to 
> security at symfony-project.com
> 
> You received this message because you are subscribed to the Google
> Groups "symfony developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/symfony-devs?hl=en

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en

Reply via email to