A Simple Blogging Module
With all the previous modules’ examples provided by the previous chapters, we know how to create many of the features offered by PrestaShop’s new core. In this chapter, we will create a simple blogging module, presenting simple blog posts regrouped and presented by categories. It will be a good means for us to apply all the previous knowledge and discover how to easily create legacy front office (FO) controllers.
As you have already seen most of the components we will use there, we will try to put the accent on the general workflow instead of the core programming. As always, you will be able to find all the files of this module in the GitHub public repo provided with this book.
We will go through the following steps to create our module:
- Defining our module design
- Designing the general architecture of this module
- Creating the entities and the relationships, the repositories, and the database tables
- Creating commands,...