Hello,

Ok, there is no view.yml file in Symfony2. The current document states that
css, js and layout declaration can be defined inside the template [1]. But
for now there is no way to do so in a general way (like the old view.yml).
The drawback is that dependencies are set inside templates, which is not
good for easy customization and maintenance. (If the user want to set
another css files or layout from the one provided in a bundle.)

Symfony2 introduces DIC as its main feature, but not for templating.

[1] http://docs.symfony-reloaded.org/quick_tour/the_view.html
-- 
Thomas Rabaix
http://rabaix.net

-- 
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 symfony-devs@googlegroups.com
To unsubscribe from this group, send email to
symfony-devs+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en

Reply via email to