On 11/2/10 2:17 PM, Jordi Boggiano wrote:
On 02.11.2010 14:08, Fabien Potencier wrote:
which is more verbose than before and calling helper methods is already
really verbose. So, the new way to generate a link from a template would
be (and no, I'm not advocating Twig here ;)):

$view->get('router')->generate('route_name', array(...))

Any comment? Does it change the conclusion for controllers?

Didn't we agree on Twig as the best practice template renderer anyway? I
think it makes the controller similarity moot.

Does it mean that we don't care anymore about the PHP template syntax? I don't think 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

Reply via email to