Learn the principles necessary to create powerful extensions through the new Magento 2 e-commerce platform
About This Book
- Customize Magento 2 in an efficient and effective way through this example-based guide
- Differentiate between the Magento 1.x and new Magento 2 platforms to stay ahead of the game
- Gain an understanding of techniques used to create rich and deep integrations with the platform
Who This Book Is For
This book is for those who wish to develop Magento 2 extensions. The book does assume some previous Magento 1.x knowledge, as it makes parallels from the first platform.
What You Will Learn
- Install the new platform for development through the use of virtualization technology
- Get to grips with creating your first skeleton module
- Get to know about the main ways to customize Magento 2 through the use of plugins and events
- Understand how to use the ORM and data models and how to create your own
- Absorb catalog functionality and discover how to create your own product types
- Master the new advanced pricing functionality and implement custom pricing and promotions through your module
- Familiarize yourself with the shopping cart and checkout lifecycles and implement your own customizations
- Create your own shipping and payment modules
In Detail
Now you can get up and running with Magento 2 without all the fluff. This book doesn’t scratch the surface, because there is already plenty of material that does that. This book teaches you the concepts and immediately shows you how to implement them.
We start by going over the initial concepts of the Magento 2 platform and how you can get set up quickly. We then cover the basics of creating and installing a new module. Moving on, we explore data models and how to create your own. We then dive deep into catalog infrastructure, pricing, shopping cart, checkout, admin, and API interfaces so you can develop rich and deep customizations. We put the icing on the cake by demonstrating unit testing, exploring the built-in testing suite, and showing you how to develop your own tests for your extensions.
By the end of this book, you should be able to create advanced customizations for Magento 2 in a snap.