M

Suivez nous

Magento 2: Mastering Type and VirtualType in di.xml

Magento 2: Mastering Type and VirtualType in di.xml

One of the key pillars of Magento 2 is its Dependency Injection (DI) system.Thanks to it, the platform remains flexible and scalable. However, this system relies on a set of sometimes mysterious files — the famous di.xml files. These files contain the configuration...
clamp() v2: A Small RFC, But a Big Step for PHP?

clamp() v2: A Small RFC, But a Big Step for PHP?

A new RFC proposes adding clamp() as a native function in PHP. This function would constrain a value within a defined range — just like in many modern languages (JavaScript, Kotlin, Rust…). clamp($value, $min, $max); // returns $min, $max or $value depending on the...
Magento 2: Mastering Type and VirtualType in di.xml

Magento’s Future: A Community Taking the Lead

Last week, we looked back at Magento’s journey since 2007 (read that article here if you haven’t yet). That was the past. Now let’s talk about the future.Where is Magento headed? What are Adobe’s plans? And what role will the community play? From Adobe Commerce to a...