Introduction
When you look in the app/code
folder (the core of Magento), you see the modular architecture. Every concept in the e-commerce flow is stored in a module. The Magento application is a combination of all these modules.
One of the advantages of a modular architecture is the extendibility. It is easy to add modules that add to or modify the native behavior of Magento.
In this chapter, we will create a module with the most important things you need to know when writing code in Magento.