Chapter 7. The Presentation Layer

This chapter explains how templates are created, extended, included, and displayed in Symfony. We will start with base templates and then add layers and layers of other components on top of it. The other important subject that we will discuss in this chapter is the popular frontend framework called Bootstrap. The Bootstrap framework is a slick and modern frontend package, which almost every new web application benefits from. We will see how to integrate and use this framework in Symfony.

We will also see how to use Symfony's amazing asset management component, Assetic, to organize images, .css, and .js files and, at the same time, optimize the project performance.

After the basic appearance of the project has been ...

Get Mastering Symfony now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.