Creating Web Page Templates with PHP and Twig (part 1)
Note: This article was originally published at Zend Developer Zone
on 6 April 2011.
There's no shortage of PHP template engines and they're all very similar, often differing only in implementation details and support for specific features. They all serve the same purpose: that of functionally separating a Web application's user interface from its business logic, and thereby enabling developers and interface designers to work on the same application without getting in each other's hair.


