News for hackers. Stuff that matters.
Re:I Like PHP by mark_story on Wednesday August 10, 2011 @10:53PM (#2871133)
I've used twig quite a bit. Its leagues better than Smarty in every way. I heartily recommend you give it a spin. Having autoescaping built-in is a powerful and fantastic feature.
Re:I Like PHP by ZoFreX on Thursday August 11, 2011 @05:30AM (#2872105)
Smarty can actually do auto-escaping. Twig was specced in the Smarty 2 era and Smarty 3 and Twig ended up solving the problem in very similar ways. My biggest gripe with Smarty is how damn unprofessional it is - backwards compatibility breaking changes on point upgrades for example, and the code and "API" (I use the term loosely) is a mess.