Re: [symfony-users] Re: My first work with Twig template

2009-11-18 Thread ReynierPM
Matt Robinson wrote: I'd like to use Twig in Symfony 1.3 too. A couple of years ago I implemented phpTAL pretty easily in Symfony 1.0 by writing a custom view class and telling Symfony to use that instead of its usual sfPHPView. Perhaps Twig would be similarly easy? Well if you can provide me

Re: [symfony-users] Re: My first work with Twig template

2009-11-18 Thread Gareth McCumskey
Why not just use pre and/or post filters tied in with the existing templating framework of symfony to get the job done? There really is no need for something like Twig, Smarty et al to do templatisation. Also, CSS is a great way to customise content on the presentation side without affecting

[symfony-users] Re: My first work with Twig template

2009-11-16 Thread Davide Borsatto
It's just my opinion but... Using the templating component in sf 1.X is not a great idea. It offers a few advantages, but as far as I've seen it's quite hard to implement (it replaces a whole layer of the MVC architecture, it IS a big deal) without strange hacks and keeping the code clean. IMHO,

[symfony-users] Re: My first work with Twig template

2009-11-16 Thread ReynierPM
Davide Borsatto wrote: It's just my opinion but... Using the templating component in sf 1.X is not a great idea. It offers a few advantages, but as far as I've seen it's quite hard to implement (it replaces a whole layer of the MVC architecture, it IS a big deal) without strange hacks and