Le 14/03/2011 10:32, Nikita Korotaev a écrit :
Ok, that's clear.

However FrameworkExtraBundle was included in the Symfony PR7 and Fabien on Symfony Live in Paris was talking about annotations over Yaml(not mentioning xml). I'm little bit concerned about performance when using annotations: it seems to me that all my controllers in the bundle will be parsed in order to find the proper route. While in Yaml or Xml only one controller will be parsed, the one where the necessary Action is.

Anyway.
Is there any solution to my original post?

Regards,
Niktia
--
the routes are only parsed once (using annotations, YAML or XML) and then the matcher and the generator are dumped in the cache. So you don't have an overhead except on the first request generating the cache.

--
Christophe | Stof

--
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 users" 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-users?hl=en

Reply via email to