Archive for category Twig
Using Twig with Zend Framework
Posted by ryan in Content Management, php, Twig, Zend Framework on May 4, 2011
Twig, in short, is a templating system for PHP. But PHP is already a templating system many would argue! Well, I wouldn’t argue against that point. However, with the recent excitement in the air in the PHP Community about Symfony 2, I thought it worth checking out.
Mostly I thought they were silly things that were not really needed unless you had a team of designers to work with, however, during my exploration, a couple of things occurred to me that I had not considered about templating systems before. One being the enforced separation of concerns they provide; you simply cannot do anything from inside them which you shouldn’t be, keeping your presentation very very clean. The second, being that they’re not all as terrible as Smarty.
