7

What Are Modules? Let’s Create a Hello World Module

In the first part of this book, we discovered how PrestaShop is structured, how it works, and the way it is being moved to a Symfony-based system. Even if it was sometimes a bit technical and abstract, it is important to have good knowledge of the full environment for what we will now work on, the modules.

As a PHP developer, your customers will ask you to modify the behavior of PrestaShop and add features. You could try to solve those tasks by finding the responsible files (controllers, views, or object models) and modifying them directly from the core, but you would have to ensure that your software can follow the updates cycle. In the case of PrestaShop, if you modify one of the files ...

Get Practical Module Development for Prestashop 8 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.