Hi,

I wonder if there is any plan to have a fallback system for views in Symfony 
2.

Since the view script is now explicitly set to the render method from a 
controller action, it seems really tricky to implement a fallback system.

I bring this up because i've started to deeply use Symfony 2 for one of our 
project where that kind of stuff is essential.

To argue about that let's take a CMS as an example.

That kind of system needs to be very modular. We would have a Bundle for 
each module, NewsBundle, CalendarBundle, NewsLetterBundle, ..., or whatever 
:)

If we take the NewsBundle, it should include default view scripts but the 
developper should be able to override them without overwrite the original 
files in prevention of module updates.

For now, that kind of system seems hard to achieve.

How do you deal with that stuff ? :)


Thanks.

br,
Benjamin.

-- 
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