Core Components of Magento
Introduction to the Core Components of Magento
If you're interested in customizing the look and feel or the backend behavior of your Magento store, it's a must for you to know about the core components of Magento. Magento has several core components as its backbone. You must have to change these core components if you want to build your customized store or application or integrated system in Magento.
So, let's start looking into the core of the core components of Magento. We will discuss 3 major or the most essential components here which are:
- Module
- Theme
- Language Package
Module:
A module is a logical group that serves a specific feature. Otherwise, we can say that module is a directory that contains PHP and XML files (configuration, blocks, controllers, helpers, models, and so on) to implement a specific product or business feature.
Magento's architectural philosophy is to maintain optimal modularity and so in keeping with their commitment to that, a module encapsulates one feature and has minimal dependencies on other modules. That's why a module can be disabled or removed without breaking the consistency of the Magento application with a single exception for the case when the module depends on other modules, which requires disabling or removing the dependant modules.
Also, a new product feature or business functionality can be added to create a personalized Magento store or application by creating a new module in Magento.
Theme:
As the theme is mostly attached to the look and feels kinds of stuff in real life, the same is true here too. Be it on the admin side or on the storefront side, if we need to change the look and feel we need to touch themes to personalize the look and feel. Blank theme and Luna theme are the ones present in the default Magento 2.x code which we can refer to during creating a personalized theme.
Language Package:
If we would like to create a store for multiple locales or regions or markets, maybe with different languages, Language Package is the section we should be interested in. Language Packages helps us in internationalization(i18n) and localization by providing translations for strings that display on the storefront and Admin by making translation dictionaries easier to update and by maintaining a reduced amount of code coupling and duplication.
Comments
Post a Comment