The Configuration and Initialization of PrestaShop
Knowing how data storage works and how the system is structured, we can dive into the initialization routines of PrestaShop. All this description of the CMS will enable us to master it, to understand how modules embed into the system, and how we will be able to use its components. By following the initialization process, we will see when and how the system is configured and how we can set some important constants to ease our development and change the database connection and cookies parameters.
In this chapter, we will cover the following main topics:
- The legacy Front Office(FO) controller initialization
- The legacy Back Office (BO) and Symfony admin controller initialization
- The most important constants to set as a developer
- The
Dispatcher
class
By the end of this chapter, you will know how an FO and a BO page initialize their controllers to generate the view even with a new Symfony-based one. You will...