Development workflow

The development of Magento 2 components follows the minimum criteria necessary so that it can achieve the goal of delivering a theme or a functional module to your user and/ or client. These criteria are listed as follows:

  • Dependencies declaration via composer.json
  • Component registration using registration.php
  • Components definition via XML components
  • Publication and distribution of developed components

The act of declaring a file composer.json is good practice for dependency management of components as well as containing important information about the theme or module that is being developed.

The registration.php file already allows the Magento system to make the registration of the new component that can be used in the scope that ...

Get Magento 2 Theme Design - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.