Always use the Magento architecture

As seen in Chapter 3 , Magento 2 Theme Layout, the Magento system uses MVC concepts. This standard provides the segmentation of different system components, aiming at better use of its resources and providing modularity in developing solutions and customizing architecture.

For all development that is performed in the system, it is strongly recommended you use the architecture aiming for standard maintenance to share your solutions between different instances and projects.

During the development of the Bookstore theme, we used the app/design/frontend/Packt/bookstore directory, inheriting the Blank and Luma theme features but not changing them directly. For the development of the modules, we used the app/code/Packt ...

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.