This book is intended primarily for intermediate to professional PHP developers who areinterested in Magento 2 development. For backend developers, several topics are coveredthat will enable you to modify and extend your Magento store. Frontend developers willalso find some coverage on how to customize the look of a site in the frontend.Given the massive code and structure changes, Magento version 2.x can be described as aplatform that is significantly different from its predecessor. Keeping this in mind, thisbook will neither assume nor require previous knowledge of Magento 1.x.
What You Will Learn
- How to setup production environment of Magento 2
- Learn new concepts and conventions used in Magento 2
- Create a simple module from scratch in for Magento 2
- Learn about models and collections of Magento 2
- Understand and practice backend development
- Learn basic frontend development such as blocks, layouts, templates of Magento 2
- Getting to know about Magento 2 API
- Testing Magento 2 extensions and custom Magento templates
What this book covers:
Chapter 1: Understanding the Platform Architecture, gives a high-level overview of thetechnology stack, architectural layers, top-level system structure, and individual modulestructure.
Chapter 2: Managing the Environment, gives an introduction to VirtualBox, Vagrant, andAmazon AWS as platforms to set up development and production environments. It furtherprovides hands-on examples to set up/script Vagrant and Amazon EC2 boxes.
Chapter 3: Programing Concepts and Conventions, introduces readers to a few seeminglyunrelated but important parts of Magento, such as composer, service contracts, codegeneration, the var directory, and finally, coding standards.
Chapter 4: Models and Collections, takes a look into models, resources, collections,schemas, and data scripts. It also shows the practical CRUD actions that are applied to anentity alongside filtering collections.
Chapter 5: Using the Dependency Injection, guides readers through the dependencyinjection mechanism. It explains the role of an object manager, how to configure classpreferences, and how to use virtual types.
Chapter 6: Plugins, gives a detailed insight into the powerful new concept called plugins.It shows how easy it is to extend, or add to, an existing functionality using thebefore/after/around listeners.
Chapter 7: Backend Development, takes readers through a hands-on approach to what ismostly considered backend-related development bits. These involve cron jobs, notificationmessages, sessions, cookies, logging, profiler, events, cache, widgets, and so on.
Chapter 9: The Web API, takes up a detailed approach to the powerful Web API providedby Magento. It gives hands-on practical examples to create and use both REST and SOAP,either through the PHP cURL library, or from the console.
Chapter 10: The Major Functional Areas, adopts a high-level approach towardsintroducing readers with some of the most common sections of Magento. These includeCMS, catalog and customer management, and products and customer import. It evenshows how to create a custom product type and a shipping and payment method.
Chapter 11: Testing, gives an overview of the types of test that are available in Magento. Itfurther shows how to write and execute a custom test.
Chapter 12: Building a Module from Scratch, shows the entire process of developing amodule, which uses most of the features introduced in the previous chapters. The finalresult is a module that has admin and storefront interface, an admin configuration area, e-mail templates, installed schema scripts, tests, and so on.
You can download here