Chapter 2. The Request and Response Life Cycle
This chapter is a quick look at Symfony's fundamental features. We will use the request/response life cycle as a tool to discuss Model-View-Controller (MVC) in general and explore Symfony concepts such as routing, action (or controller, if you like), TWIG, Doctrine, and application setup. We will have a look at bundles and see how all of these concepts are organized in a bundle. Apart from creating a new bundle in this chapter, we will discuss the installation and how to modify and use bundles created by other developers.
The big picture
The request/response life cycle can be summarized in these two simple steps:
- Firstly, you send your request by entering a URL in your browser.
- The server then responds ...
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.