Many PHP developers are great specialists and know their way around PHP like the back of their hand. However, when a powerful framework like Symfony is built, it also includes software patterns and designs, which even the most experienced developers need to learn. This book is aimed to teach you exactly that.
Although not advertised that way, Twig can be considered the default template engine of Symfony and not many developers will use anything else. And not without good reason: Twig is a very powerful and fast templating engine and allows both frontend and backend developers to work with templates with easy.
In this book, we'll dive into the depths of Twig itself. Not only will we discuss how to use Twig from a developers point of view, but we will also talk about the internals of Twig itself. How are Twig templates "converted" to PHP code, and how can we simply add or change Twig functionality ourselves. After reading this book, you'll know everything there is to know about the twig-compilers, tokenizers, node visitors and much more.
About the Symfony Rainbow Series:
The Symfony Rainbow Series is a collection of books, which describe, in detail, the different components that make up the Symfony framework. Every book will concentrate on a single component or a set of smaller components. The books will describe the component's inner workings and also give you recipes to solve common problems quickly and efficiently.
These books are intended for PHP developers with any level of knowledge of Symfony, from beginner to expert. They are especially made for those developers, who work with or want to work with Symfony and want to also do their programming with Symfony as smartly and efficiently as possible. If you would like to learn exactly how the inner workings of Symfony function together as a framework or how to use the wide range of Symfony components in a standalone fashion, then these books are for you!