On 27.09.2010, at 14:30, naholyr wrote: > As PHPView remains a embedded engine accessible via a simple option, > the "template versus plain PHP" is meaningless. > > The real question in my opinion is : "why Twig ?" > OK, we know why, it's because Symfony's team (or Fabien only ?) wrote > it and wants to use it. OK, that's a point. > > But why don't you rely on a already-made engine ? Like Smarty, > TinyButStrong, PHPLib, or any other aged template engine that has > proven its reliability, power, extensibility, or whatever is the main > criteria to decide which engine to include. > Twig is nice and everything, but it will never be as powerful as > Smarty (including community-plugins), neither will it be wysiwyg- > compatible as TBS, or lightweight as PHPLib+cache. > > The use of a template engine is fully positive in my opinion, but it's > just like the Mailer engine, it should be a third-party library.
a valid question. i think we want something clean and extensible rather than something that evolved and is held back by a slew of BC requirements. having it use namespaces is a nice bonus for consistency with the rest of the framework. i agree with most of the points on (with the exception that dwoo was discarded a bit too quickly as a basis for twig but that doesnt matter today anymore): http://fabien.potencier.org/article/34/templating-engines-in-php you bring up a couple new one like TBS, which i dont know and PHPLib i wasnt aware is still alive. but maybe you can post a comparison based on the points in the above post, while potentially adding features the named above as additional criteria for all the ones listed there as leaving the ones you dont know to other people on this list to complete. maybe you can throw up a wiki page on the symfony trac site? 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