Le 19/08/2011 12:19, Fabian Spillner a écrit :
@Marc:

Thank you for your consideration! I'm talking about Symfony2.

I meant, with Symfony2 you can embed controller in the template:

<div id="recentArticles">
     {% render "AcmeArticleBundle:Article:recentArticles" with {'max':
30} %}
</div>

And this controller overrides some blocks of the main layout. For
example special javascript block at the bottom.
A subrequest cannot overwrite a block of the main request as it does not know anything about it. This is even easier to understand when the subrequest is delayed using ESI: the main request is completed before starting the subrequest

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