I think this the question is valid, but how productive is it? If you want to use Smarty, Mustache or anything else, go for it, write a bundle and that's it.
I see several benefits of using Twig over others. You are not dependent on others projects timelines, decisions and eventually project deaths. Using projects that are tightly connected with Symfony makes sense, of course, as long as they are technically competitive, which in the case of Twig it appears to be. Pablo On Mon, Sep 27, 2010 at 4:08 PM, Keri Henare <k...@pixelfusion.co.nz> wrote: > If you were to choose something other than Twig, Mustache ( > http://mustache.github.com/) is becoming a very popular cross-language > templating language. > I know that Twig, being a product of Sensio gets preference but having > something more widely used like Mustache might reduce the learning curve a > bit. > > Kind regards, > Keri Henare > --------------------------------------------------- > Chief Technical Officer > Pixel Fusion > > [e] k...@pixelfusion.co.nz > [w] pixelfusion.co.nz > [m] (+64) 021 874 552 > [p] (+64) 09 550 3084 > > Zend Certified Engineer - > http://www.zend.com/en/yellow-pages#show-ClientCandidateID=ZEND013450 > > PLEASE NOTE: I check my email 3 times per day and will respond at these > intervals. For anything urgent please ring me. > --------------------------------------------------- > > On 28/09/2010, at 7:44 AM, Nathanael D. Noblet wrote: > > > On 09/27/2010 06:30 AM, 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. > >> > > > > I had to work on a project that uses smarty, I absolutely detest it. Its > the worst invention and I don't see the point. I honestly don't get how it > is any cleaner/easier to understand to a non-dev, nor how it helps in > anyway. The only thing I can think is in escaping output. Are there other > benefits other than those two? I'd really like to know why people find stuff > like smarty useful. > > > > -- > > 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<symfony-devs%2bunsubscr...@googlegroups.com> > > For more options, visit this group at > > http://groups.google.com/group/symfony-devs?hl=en > > -- > 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<symfony-devs%2bunsubscr...@googlegroups.com> > For more options, visit this group at > http://groups.google.com/group/symfony-devs?hl=en > -- 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