On 22.09.2010, at 04:15, Yuen-Chi Lian wrote: > I suppose Twig is not bundled with SF2 - therefore it's a thirdparty from > SF's point of view. > > From beginner's point of view, it can be a blow to them to learn another > thing extra - especially if they're at the struggling stage of setting up > SF2, the extra care on how Twig shall be setup properly.. if we can avoid > them such problem, we shall do it.
you are of course right in pointing this out. that being said the symfony php layer also requires a bit of learning, but its obviously not a big effort than learning twig. the issue however is that if php is the standard template engine, it means that most plugins, the admin generator etc, will likely be developed with this template engine. this will diminish the usefulness of these templates for people down the road. of course some people might prefer to go to xslt even, but even those people will probably prefer having a non php template engine. to the list of pro's that Jordi listed I would also like to add that twig can do escaping a lot more efficient (and also via plugins can do a better job at choosing the right escaping based on context) than the "old" decorator approach (which we all have to admit also causes beginners quite a few wtf's in the beginning). regards, Lukas Kahwe Smith m...@pooteeweet.org -- 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 symfony-devs@googlegroups.com To unsubscribe from this group, send email to symfony-devs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-devs?hl=en