Close [x]

Component development

Edit this page on GitHub

Component development

Magento 2 is flexible and as a result has varied functionality, so developing a component in Magento takes into account a number of different of the following topics. Please read the information on compatibility — Service Contracts, Design Patterns, and the information on Dependency Injection, Routing, and Working With Public Interfaces and APIs closely; they are essential to creating a good Magento 2 component.

The following topics will be added in upcoming sprints:

  • Create A New Service Contract For Your Module
  • Models, Resource Models, Collections / Databases
  • Security Best Practices
  • System Configuration
  • Scoping Configuration
  • Global vs Stores vs Websites vs. Storeview
  • Abstract Objects / Base Classes
  • Factories
  • Magic Methods (Framework + Object)
  • Proxies
  • View Layer