Ah, Magento! For most of you reading this, it’s probably a love-hate relationship with our favorite stack. A bit like Rachel and Ross: we get mad at it often, but we’ll still defend it to the bitter end. Today, I want to take a moment to look back at the story of this...
A Magento 2 collection is an object that acts as a query builder to efficiently manipulate sets of entities (products, orders, customers, etc.) in the database. It allows you to construct complex SQL queries while staying within Magento’s architecture, optimizing...
A quiet release that actually matters The release of PHP 8.5 is approaching, and while it may not make as much noise as a major version upgrade, it’s exactly the kind of update that changes your day-to-day work. No flashy syntax changes, no new way to write a...
For several years now, CAPTCHAs have become common on forms found across websites. The system has evolved significantly over time, up to the current version 3. Whereas in the past it was necessary to solve a visual test, reCAPTCHA V3 now works invisibly by analyzing...
When handling entities in Magento 2, there are two main approaches available: using a Repository or interacting with a Collection. These two methods have very distinct uses. It is therefore essential to understand their respective objectives in order to avoid bad...