We continue to post the articles dedicated to the Magento certification exam. Hope you will find them useful. (more…)
The article is dedicated to the basic Magento architecture as well as its comparison with both Magento versions. As for Magento 1 structure, all relevant description you can find in the article Magento Module Structure. As for Magento 2 structure, it is shown in the picture below.
Cron job is the main way to run repeated tasks. It’s used in Magento for such tasks as indexing, email processing, currency rate update. (more…)
Events are commonly used in applications to handle external actions or input when, for example, a user clicks a mouse. Each action is interpreted as an event. Events are part of the Event-Observer pattern. This design pattern is characterized by objects (subjects) and their list of dependents (observers). Events trigger objects to notify their observers of any state changes, usually by calling one of their methods. It is a very common programming concept that works well to decouple the observed code from the observers. (more…)
- app/Mage.php (Mage::app()->run())
- Init and Dispatch controller $this->getFrontController()->dispatch();
- app/code/core/Mage/Core/Controller/Varien/Front.php (more…)