News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Zend Developer Zone:
Creating Web Page Templates with PHP and Twig (part 2)
May 05, 2011 @ 13:11:25

On the Zend Developer Zone they've posted the second part of Vikram Vaswani's look at using the Twig templating engine in your PHP applications. In the first part of the series, he introduced the tool and got started with some simple examples. In this second part, he dives in deeper to some of the advanced features.

In this second and concluding segment, I'll look at some of Twig's other features, including such goodies as template inheritance, custom filters and caching. If you enjoyed the first part of this article, keep reading to find out more about what goes on under Twig's hood, and how you can add even more power and flexibility to your templates

He looks at template inheritance, parent blocks/child templates, data filtering, the tool's "compilation cache" and working with native plugins.

1 comment voice your opinion now!
twig template tutorial inheritance filter cache plugin


blog comments powered by Disqus

Similar Posts

The Bakery - Rails-Like Validation, Elistic, Textile, and a CakePHP Release

DevShed: Implementing the commit() and rollback() Methods with mysqli and PHP 5

WeberDev.com: PHP 101 (part 14): Going To The Polls

Andrew Podner: PHP Apps and Platform as a Service

Brandon Savage's Blog: Caching For Efficiency With Zend Framework


Community Events





Don't see your event here?
Let us know!


voicesoftheelephpant update symfony language version introduction series library community security mvc opinion interview composer package podcast tool release framework laravel

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework