Shared on Mage Dispatch · 11 Oct 2024
How Magento 2's Request-Response Lifecycle Works
Find out how Magento's routing process works, as we go over how an incoming request comes in, gets matched to a router, and returns a response with a controller.
Shared on Mage Dispatch · 11 Oct 2024
Find out how Magento's routing process works, as we go over how an incoming request comes in, gets matched to a router, and returns a response with a controller.
When should you use a Block Class instead of a ViewModel in Magento? Most Magento developers default to ViewModels for adding PHP code to templates -- and that's usually right. But there's one situation where a custom Block Class is the better choice.
I’ve gotten a lot of requests over the years from those new to Magento (and even those who are somewhat experienced) asking how they know which class to implement and what exactly each class does.
This is a hard question to answer. However, I did a deep analysis and generated a brand new feature that I’m calling Magento Explorer.
I got the message on a regular weekday: “We lost almost the entire product catalog, around 10,000 products gone, only 100 left.” The client had no idea what happened. They suspected something went wrong after running a product import, but the CSV file in question looked harmless, it had just a few items. It shouldn’t have caused any damage. Yet, the damage was done.
Mage Dispatch is a community-run archive and bi-weekly newsletter for the Magento, Adobe Commerce and Mage-OS ecosystem. Modules, articles, security advisories and tools, hand-picked by developers and shared so good work does not disappear into the void.
Browse the latest links → Explore by topic → Submit a link → About us →