Book Image

Extending Symfony2 Web Application Framework

By : Sebastien Armand
Book Image

Extending Symfony2 Web Application Framework

By: Sebastien Armand

Overview of this book

Table of Contents (13 chapters)

Summary


This chapter introduced two of the most important concepts in Symfony, especially when it comes to extending the framework. By creating our geocoding service, we saw how easy it is to add a service that is just like any of the other Symfony services. We also reviewed how to use events to keep your code logic where it belongs and avoid cluttering your controllers with unwanted code. Then finally, we used them to make your site faster and more responsive to your users.

Believe it or not, if you really understand services and events, you know almost everything about extending Symfony. You will see throughout this book that we will constantly keep referring to both of these concepts, so, it is important that you have a good understanding of them.

In the next chapter, we will augment Symfony by adding new commands to the console tool and customize the templating engine. We will see that the services can be really helpful there as well.