In symfony this is called slots and component slots. Btw, django templates are nothing more than Smarty for Python! And they added blocks and some other framework useful features and that's basically it.
"To me, the only need of a template engine is to avoid public template contributors to use lower level language functionalities." This is true and was the case with Shopify (shopify.com) and the template engine Liquid which is again a Smarty clone. But I am sure we do not want to start this topic as it is as old topic as it can be :) I agree that if somebody has a different vision either give good arguments and convince the others or just write it himself/herself :) That's what I did with the Haml templating as I was sure if I try to probe the public I would get into deep waters. Regards, Kupo Lucas Stephanou wrote: > django approuch is very good, I like the way to extend templates using > layout blocks. > > On 10/16/07, [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>* > <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote: > > > For me, an XML based is not a very good option as it's not very human > friendly. If we create a templating system, I prefer the django's > approach. > > On 16 oct, 13:55, Kiril Angov < [EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > So how is geshi better/different than PHPTal, for example? I did > port > > Haml from ruby to PHP so I am not against templating engines but > just > > wondering what will be the benefits of Geshi (for PHP > specifically). > > > > Kupo > > > > Lucas Stephanou wrote: > > > Hello dev's, > > > > > I'm here to start a thread about template system. > > > > > Today symfony doesn't use natively a template system to render > > > presentation layer. > > > IMHO, the genshi project[1], used in trac 0.11 [2], is more > efficient > > > output generator and I'm working with it in some plugins to > internal > > > use here in my job. > > > All php options( OPT, Smarty, Haml port) that I knew isn't simple, > > > clean, and powerful, this in my opinion. > > > > > Well, What you think about? Is PHP a equivalent option? Start a > > > similar genshi project in PHP? > > > > > [1]:http://genshi.edgewall.org/ > > > [2]:http://trac.edgewall.org/milestone/0.11 > <http://trac.edgewall.org/milestone/0.11> > > > > > -- > > > Lucas Stephanou > > > > > > > > -- > Lucas Stephanou > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
