Adobe Sees 520% Jump in AI-Assisted Holiday Shopping
Reading Time: 2 minutes Key Highlights AI-driven traffic to U.S. retail sites will increase by…
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: 2 minutes Key Highlights AI-driven traffic to U.S. retail sites will increase by…
Reading Time: 2 minutes Critical security alert for Adobe Commerce & Magento merchants. Adobe has…
Reading Time: 4 minutes Magento is a powerful platform for eCommerce websites. However, with two…
Reading Time: 13 minutes By 2025, retail eCommerce sales are projected to account for over…
Reading Time: 16 minutes E-commerce is constantly expanding, with an accelerating pace of development in…
Reading Time: 3 minutes We at CedCommerce are happy to share some exciting news for…
Reading Time: 3 minutes Portland, Oregon [October 12, 2022]: CedCommerce is a leading eCommerce solution…
Reading Time: 3 minutes Prepare yourself with a list of the Magneto Integrations you’ve always…
Reading Time: 3 minutes Portland Oregon [September 5, 2022]: CedCommerce, a Magento marketplace solution provider,…
Reading Time: 4 minutes Have you heard that Shopee OpenAPI 2.0 has replaced the 1.0…