Our latest blog posts
We hope we can inspire you the way we are being inspired
Adding new columns to large Magento core database tables
Jisse Reitsma - May 9, 2022
A common belief amongst Magento developers is that adding a new column to a large database table will cause the Magento setup upgrade scripts to run for a long time, thus causing downtime. I thought this as well in the past. But is this so? As far as I can see, things are different today.
Modifying Magento core database tables?
Jisse Reitsma - May 2, 2022
When learning to build modules on top of Magento 2 (v2.0.0 alpha 42 or so), I learned one thing: Do not hack the database. At least, that's what I thought would always be the correct thing to do. But nowadays, I'm undergoing a mind shift. Is it ok to modify the Magento core database tables anyway?
The Vue proposal of Shopware
Jisse Reitsma - April 18, 2022
A Webpack plugin for Vue Storefront 2 theme inheritance
Jisse Reitsma - April 8, 2022
Few weeks back I gave a talk on the Vue Storefront 2 integration with Magento 2 (during the VSF2 India meetup organized by Aureate Labs). And last week I gave a custom in-house training on Shopware PWA. And with both events, I bumped into limitations of the overriding mechanism of VSF2. And then I found out I already had a solution for that: A Webpack plugin you could easily integrate into Nuxt.
Hyvä On-Demand course fully available now
Jisse Reitsma - April 2, 2022
If you are up to date with Magento developments, then you'll know that Hyvä is often talked about as the next big thing. I'm proud to announce the Hyvä On-Demand course of Yireo to be know at a nearly complete level (see below), so that everyone is able to get started with Hyvä development in an efficient way.
Block Magento 2 sales per geographical region
Jisse Reitsma - March 25, 2022
I'm selling extensions (well, as of yet, only EmailTester2) and trainings (a lot). Once in a while, I find myself seeing an incoming sales order, for which I can't or don't want to provide support because of reasons: Spam, cancel-anything-behaviour, political incorrectness, whatever. In the past, I built the Yireo_SalesBlock2 for this. And in these times, I felt it would be good to mention its ability to block by geographical region.
Business as usual?
Jisse Reitsma - 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?
Inject dependencies into a Magento class ... without using a constructor
Jisse Reitsma - 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.
SearchCriteriaBuilder or SearchCriteriaBuilderFactory?
Jisse Reitsma - 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.
We, Magento, are Ukraine
Jisse Reitsma - 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.
A Magento 2 integration testing helper
Jisse Reitsma - 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:
Why create manual factories in Magento 2?
Jisse Reitsma - 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.