Oxford Street becomes a TikTok Shop stage as brands bet bigger on livestream commerce
Reading Time: 4 minutes Kanzen Skincare and six other brands are preparing for what is…
Magento 2 has an entirely different architecture in comparison to Magento. This blog clearly explains the structure of Magento 2 and also states the difference between the structure of Magento 2 and Magento 1. In the previous article (Magento 2 Widnows Installation/Magento 2 Linux Installation) we were done with Magento 2 installation , now let’s check out architecture of Magento 2.
Just like it’s predecessor Magento 1, Magento 2 also follows Configuration based MVC. Besides this, there are lots of new features and libraries are added in Magento 2 like Magento 2 now uses symphony autoloader, introduced jQuery support , etc.

Above image shows current magento 2.0 architecture which hopefully would remain same in future in the upcoming releases of magento 2, Following are some important terms used to describe the elements in the above magento 2 architecture image.
User Agent is a software by which user requests magento url. Whenever user enter any url , “User Agent” sends http request to the server for response .
As predecessor entry point in magento 2 is also index.php. It includes bootstrap then creates app from bootstrap object and finally calls run function of bootstrap.
Bootstrap provides environment for running magento app. It checks php version, sets default error reporting, define base path, initialize and populate autoloader (mapping from a namespace prefix to directories to search in for the corresponding class).
Bootstrap performs below actions
Routing is an algorithm for searching controller by current request. Router decides which controller need to be dispatched.

Get active routers list with help of area’s di.xml
Controller
When controller and action is decided then execute function of action class is called. Here we can use model for business logic implementation. After implementing business logic’s it collects output by help of layouts, templates and blocks.

HTTP Response
After rendering complete output , Html will be sent to requesting Agent(Browser)
In the end final requesting Agent will handle the output
Thanks for your interest!
Team CedCommerce
Reading Time: 4 minutes Kanzen Skincare and six other brands are preparing for what is…
Reading Time: 5 minutes When a seller expands to a new Walmart market, the first…
Reading Time: 10 minutes What if reaching hundreds of millions of Amazon customers didn’t mean…
Reading Time: 2 minutes Alibaba’s latest update shows that AI is becoming a much bigger…
Reading Time: 2 minutes A new industry study shows that agentic commerce is moving from…
Reading Time: 2 minutes Amazon has introduced new 1-hour and 3-hour delivery options for customers…
Reading Time: 16 minutes How to find, quantify, and validate winning Amazon products? Amazon product…
Reading Time: 2 minutes Amazon is rolling out a significant update that will directly impact…
Reading Time: 3 minutes Ulta Beauty is preparing to launch a curated storefront on TikTok…
Reading Time: 2 minutes Until now, falling below the 90% OTDR (On-time Delivery Requirement) could…
Reading Time: 5 minutes Amazon has formally expanded its Multi-Channel Fulfillment (MCF) operations in Europe…
Reading Time: 4 minutes Amazon has announced that Sponsored Products prompts and Sponsored Brands prompts…
Reading Time: 4 minutes Amazon has expanded access to its healthcare-focused AI assistant, Health AI,…
Reading Time: 4 minutes Amazon has officially launched its Spring Deal Days shopping event, offering…
Reading Time: 4 minutes eBay UK has announced a new partnership with global embedded finance…
Reading Time: 4 minutes TikTok Shop has officially launched its first-ever Fine Art category, marking…
Reading Time: 2 minutes eBay has temporarily paused international sales from the United States to…
Reading Time: 3 minutes Walmart Marketplace has expanded its Review Accelerator program with a new…
Reading Time: 3 minutes A significant policy change is coming to Amazon Wish Lists that…
Reading Time: 3 minutes A major shift is emerging in how Gen Z discovers and…
And finally, this modern, modular architecture reduces the complexity and cost of maintaining your site and it futureproofs your investment by simplifying upgrades. This means you can easily incorporate innovative functionality as it is released by Magento Commerce on a quarterly basis to drive higher sales and greater efficiency.
Thank you so much for this post. It was very useful for understanding Magento’s work flow. Please keep posting.
Glad you like the post. We have already posted some useful blog related to Magento2 Theme as well as Magento2 Module Creation which you can easily visit by navigating to other blog section . Your feedback & queries on them would be highly appreciated.
Leave a Reply