Book Image

Symfony2 Essentials

Book Image

Symfony2 Essentials

Overview of this book

Table of Contents (17 chapters)
Symfony2 Essentials
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 3. Twig Templating and Assets Handling

When you look into PHP, you may notice that over the last years the language has evolved, more mature concepts and design patterns have been created, and the approach to create the output has also changed drastically. Symfony2 as a modern framework tries to give you modern tools to make frontend development easier. In this chapter, we will cover the following topics:

  • The Twig templating engine

  • Assets management

  • Installing the frontend library

  • Adding advanced fixtures