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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access