March 19, 2022
The war in Ukraine is lasting already more than 3 weeks. Russia invaded Ukraine because of reasons that seem far from realistic, they violate human rights on a daily basis and the number of reported war crimes climbs rapidly. Every day I turn on the news, the Ukraine tragedy dominates. So what happens on our side?
March 13, 2022
I found myself at a difficult position: There is this Magento class X that I would like to extend. But the constructor was huge: 20+ arguments. Therefore, creating an extend of the parent constructor would create a mess. I found a more innovative way to extend the class instead.
February 28, 2022
As soon as you're working with Magento 2 repository classes, you will bump into the SearchCriteriaBuilder
class. But should you just inject this class or should you inject a SearchCriteriaBuilderFactory
instead? Let's find out.
February 24, 2022
Thursday, February 24th, 2022. Russia invaded Ukraine. The world news is focused on this crisis that already developed in the last weeks (or perhaps even years or decades). But now that war is upon Ukrainians, I felt it would be good to underline the Ukrainian connection with Magento.
February 16, 2022
In the past, I worked with Integration Tests frequently. In the past few months, my work on Magento modules fell behind a little bit. And instead of just working on new features (and fixing bugs) without tests, I decided to get my tests straight first. And instead of repeating myself, I found it useful to extract common scenarios in a separate module: Yireo_IntegrationTestHelper
.
February 8, 2022
It is a question I saw somewhere on Slack: Why create a manual factory, if Magento 2 is generating one for you anyway? Well ... there's various reasons why this could be something you need to do. Let's go through a couple of those reasons in this blog writing.
January 28, 2022
I'm a Magento guy. And I'm a Shopware guy. And with that, both backend development and frontend development involve the browser on a regular basis. A proper development environment therefore not only involves a IDE, but browser extensions as well. Here is my favorite list:
January 16, 2022
To get started with Magento 2 backend development, you need to know a lot: Ranging from the setup of a development environment to working with DI configurations. For years, I've been training devs already through live training. But all of that material is now available to anyone, through a new Yireo On-Demand training: The Magento 2 Backend Development I on-demand training has gone live.
January 14, 2022
One thing that has confused me for ages is that in your own custom Magento 2 repository, you can make use of a SearchResultInterface
(singular) and a SearchResultsInterface
(plural) - both work fine, but which one to actually use? A little writing to copy this from brain to blog.
Voor het gebruik van deze website hebben we uw toestemming nodig. Door op Alle cookies accepteren te klikken, geeft u toestemming voor het gebruik van alle functionaliteiten van deze website. U kunt uw toestemming ook per categorie cookies aangeven en opslaan.
Opmerking: We sturen geen gebruikersgegevens naar Google voor online advertentiedoeleinden en gebruiken je gegevens niet voor gepersonaliseerde advertenties via Google. We verkopen je gegevens niet, omdat we wel wat beters te doen hebben :)