Jump to ratings and reviews
Rate this book

PrestaShop Module Development

Rate this book
Develop and customize powerful modules for PrestaShop 1.5 and 1.6About This BookCreate and customize PrestaShop modules quickly and easilyProvide a strong foundation in module development for developers who are new to PrestaShopExplore the advanced features of PrestaShop with clear and practical instructionsWho This Book Is ForIf you are a developer who is new to PrestaShop and wants to get a good foundation in development on the PrestaShop framework, this book is for you. It's assumed that you will have some experience with PHP5, jQuery, and HTML/CSS (no need to be an expert on it).

What You Will LearnCode your own module from scratchExplore best practices for database table creationUse hooks or implement overridesDiscover the many native methods available in PrestaShopMake new administration toolsCreate fully functional payment modulesDevelop carrier modulesSecure and optimize your modulesBuild functionalities compliant with the multistore featureIn DetailThe number of e-commerce websites has drastically increased in these past few years. Building your own web store is a complex and expensive task; that's why open source solutions such as PrestaShop have become so successful in tackling this issue. The main interest with open source solutions is that you can easily add or edit features by creating modules.

This practical, hands-on guide provides you with a number of clear, step-by-step exercises to help you understand how PrestaShop works, and also help you add and edit features.

Starting with the basics, this book takes you through complete module development in an effective manner. You will learn about module architecture, what a hook is, and how to use it to add functionalities to PrestaShop. You will also see how to build payment and carrier modules and make your module multistore-ready. Develop PrestaShop modules the right way and make them secure and compliant with different versions of PrestaShop.

375 pages, Kindle Edition

First published November 28, 2014

2 people are currently reading
32 people want to read

About the author

Fabien Serny

3 books

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
8 (80%)
4 stars
1 (10%)
3 stars
1 (10%)
2 stars
0 (0%)
1 star
0 (0%)
Displaying 1 - 3 of 3 reviews
1 review
February 11, 2015
Prestashop documentation is an area that needs improvement and this book is a much needed help.
It follows a very practical approach and guides to the development of some useful custom modules with source code commentary and some insights to the general Prestashop architecture, the book is well written and concise.
It helped me to get a better confidence with the platform and gave a boost to the development of a custom module I'm working to.
Here are the chapters:
Table of Contents
Preface
1. Creating a New Module
2. Hooks
3. Using Context and its Methods
4. Building Module Updates
5. Front Controllers, Object Models, and Overrides
6. Admin Controllers and Hooks
7. The Carrier Module
8. The Payment Module
9. Multistore
10. Security and Performance
Appendix: Native Hooks
Index
Profile Image for Rinku Kazeno.
1 review
February 12, 2015
This book, written by one of the original members of the Prestashop developer team, is an invaluable resource for anyone whose income depends at least in part on developing Prestashop modules. The time savings alone, as compared to having to browse through the Prestashop classes and native modules just to find how an example of functionality similar to what you require, are definitely worth the price of admission.

The book outlines Prestashop best practices, goes into detail on the different types of modules, and describes the usage of helper form and list classes, the context object, overrides, and how to handle module updates. Part of this information can be also found in Prestashop's developer guide, however the book goes into much more detail and lays out quite explanatory code samples. However, the most useful part of it all might be the Native Hooks Appendix, which has a list of all the 145 native hooks (as of Prestashop 1.6) with their descriptions, parameters, and the files they are called from.

As for stuff missing from the book, I believe a section on Functional Testing of modules would have been really useful, since the Prestashop developer community would surely benefit from incorporating automated testing into its development standards. Apart from this, the book's a real time saver if you're a Prestashop beginner, and even if you've got quite a few modules under your belt, it should at least help to improve the quality of your code.
2 reviews1 follower
February 26, 2015
Great book covering all aspects for developing a professional, secure and robust module. it cover 3 modules and step by step levels up the reader on module creation. Not to mention that it is most probably the only book covering module development in such detailed and organized approach for one of the easiest to use, user friendly, secure, organized, and intelligently crafted open-source e-commerce cms. It was very much need of the coder who is just testing the cms, is a beginner and is just having and for an expert programmer stuck in the intricacies and lopps of developing and or securing prestashop modules. The code is available on github and can be downloaded freely for understanding or cross checking while learning.
A must have for any one using prestashop as an e-commerece solution or as a hobby.
Displaying 1 - 3 of 3 reviews

Can't find what you're looking for?

Get help and learn more about the design.