Hugo Hamon is a PHP and Symfony fan who works with PHP since 2003. After five years of professional PHP web development in web agencies for famous french customers, he now works as a consultant and trainings manager for SensioLabs. On his free time, Hugo contributes to the Symfony2 and Propel2 projects. He’s also involved in two french user groups : the AFUP and the AFSY. Hugo is also a french book writer.
Twig doesn’t make templating your enemy!
Twig is a modern templating engine, which takes inspiration on the Smarty PHP project and Django Jinja templates in Python. Twig comes with an easy-to-use syntax and large modern features set for building web application. This talk will first introduce Twig and most of its native templating API including output escaping, data formatting, template inheritance, caching… In a second part, you will learn how you can easily extend Twig with third party extensions or by creating your own extensions. Finally, you will discover how you can integrate Twig with major PHP frameworks such as Symfony2, Zend Framework and even WordPress.