docs
docs copied to clipboard
Document the flow of a Front Controller and a BackOffice Controller ?
I'm considering the idea of describing what happens behind the curtains when a HTTP request hits PrestaShop.
So I would describe
- how request is matched against an URL and dispatched
- how Controller is located and loaded
- the Controller different steps (init, bootstrap, layout ...)
- how Smarty templates are loaded and rendered
The main goal behind that is to help answer the following question: "As a module developer, I want to modify the Smarty template for AdminXXXController, where can I find it ? how is it loaded ?"
I want to highlight the different kind of files a developer must expect to modify when working on a FO page or a BO page. "My template will go there, my controller will go there, if I need a service I'll put it there ..."
wdyt @PrestaShop/prestashop-core-developers ?