What this book covers
Chapter 1, Creating a New Module, covers the first step of module creation. This chapter introduces you to a small module example with a simple configuration form.
Chapter 2, Hooks, presents the concept of hooks in PrestaShop, including how they work and how they can be used to interact with the software. The use of the database class is also covered with practical examples.
Chapter 3, Using Context and its Methods, introduces you to the many methods available in PrestaShop, such as the multilingual function or JS/CSS manager.
Chapter 4, Building Module Updates, introduces you to the native module update system. Some extra functional tips are also revealed.
Chapter 5, Front Controllers, Object Models, and Overrides, presents the main design patterns of PrestaShop and explains how to use them to construct a well-organized application.
Chapter 6, Admin Controllers and Hooks, explains how to create new administration tools, use the helper to build forms or an object list, and how to use the hooks available in the administration panel.
Chapter 7, The Carrier Module, introduces you to the creation of a module carrier. Some advanced features such as delivery point handling are also covered.
Chapter 8, The Payment Module, introduces you to the creation of a payment module. An example of creating a payment API is covered.
Chapter 9, Multistore, covers the main guidelines to make your module compliant with the multistore native PrestaShop feature.
Chapter 10, Security and Performance, explains the best practices to make your module secure and efficient.
Appendix, Native Hooks, gives a description of all the hooks that PrestaShop offers.