Magento 2 interceptors, also known as plugins, are a powerful tool that allows developers to modify the behavior of a…
Split Database & Why it is Deprecated
The Magento system is highly scalable and includes the ability to use multiple databases at the same time, this feature is called a split database solution. This feature is only available in Magento commerce or now also known as Adobe commerce solutions.
Proxies In Magento 2
A proxy is a structural design pattern that lets you provide a substitute or placeholder for another object. A proxy controls access to the original object, allowing you to perform something either before or after the request gets through to the original object.
PHP 8.0 Constructor Property Promotion
PHP has recently launched its new version i.e. PHP 8 and it consists of many new features, constructor property promotion is one of the new features introduced in PHP 8. In previous versions of PHP(~7.*), we used to define our variables as class property and assign its value in the constructor
Decomposition of Magento Controllers
Controllers are the most important thing in MVC pattern, controller helps to receive request, process and render pages. To create a frontend controller and to process the request we need to extend our controller class with Magento\Framework\App\Action\Action class this class context gives some added features to handle request type and to validate authorized users and so on. But in this process Magento needs to include so many classes which ultimately increase execution time.