Magento 1 uses Front Controller Pattern implemented in \Mage_Core_Controller_Varien_Front class. Magento Front Controller instantiates just after establishing database connections, loading configuration and executing other common routines at the end of \Mage_Core_Model_App::run method.
What are blocks used for in Magento?
Blocks in both Magento versions 1 and 2 are divided into two types:
- Structural blocks
- Content blocks (more…)
When starting a business, everybody is afraid of making a mistake, as avoiding mistakes is considered to be a success. Frankly speaking, this is misbelief that can destroy your business completely. You’re allowed to bark up the wrong tree, provided, however, that you’re ready to put right the wrongs. But the most effective way is to learn from the experience of others. So you’re proposed to find out the biggest mistakes small businesses usually make as well as ways to avoid them. (more…)
Before you start, please check the first part: Database in Magento 2: Models, Resource Models, and Collections.
There are several important concepts that have been incorporated into Magento 2, such as plugins, dependency injection, and service contracts. These demonstrate that, overall, the changes in going from Magento 1 to Magento 2 are focused more on the way you do things — to be more flexible and efficient – rather than introducing new features. (more…)
One more topic that needs discussing is dedicated to trust elements placed on any web shops. Why is the theme considered as essential? The reason is all the elements including testimonials, site seals, product reviews, and feedback create a safe atmosphere that makes customers confide when choosing between your business rivals. As you can see, this is one of the most significant features that can advance your business. So let’s have a look at the point in order to learn the topic thoroughly. (more…)