CLI access to Magento Marketplace details
So, I wanted to easily see which version of the Magento Framework belongs to which major version of the Magento distribution. For instance, Magento version 2.3.2 ships with the package
magento/framework version 102.0.2. How to put a script together that finds this version information automatically? Let's use
jq for that.
Written by Jisse Reitsma on 4 Oct 2019
Microfrontends for Magento 2
We can agree that the current Magento 2 frontend is hugely complex and outdated. We can also agree upon that PWA and headless in general is the future. But where to start with this migration? This is where I always come in with my term Hybrid PWA.
Written by Jisse Reitsma on 16 Jul 2019
How big is Yireo?
Often I get the feedback that people thought Yireo was much bigger. I felt that it was time to play open card on the size of Yireo. And to start with the most essential part, which already answers much: Yireo is a sole trader. In other words, the company officially consists of only one person. But there's more.
Written by Jisse Reitsma on 10 Jul 2019
Review of a bad Magento 2 extension
Periodically, I do code reviews of other extensions, for use in training or just for fun. One extension bumped up on my radar after I asked on the Dutchento Slack about bad modules. I did a quick review and the amount of bad code was staggering. Even worse, this extension was listed on the Magento Marketplace. This blog lists all points I found for the purpose of spreading better practices with others.
Written by Jisse Reitsma on 3 Jul 2019
A Dutchman went to Italy
This blog comes far too late, but I still wanted to write about this: MageTestFest 2019 took place from March 5th to 8th 2019 (which is now four months ago) in Florence, Italy. Life has been interesting and busy since. Still, I enjoyed this wonderful conference so much that this blog needed to come, even though it is late.
Written by Jisse Reitsma on 29 Jun 2019
Extending Magento 2 classes by composition
With a Magento 2 DI preference, you can rewrite one class to another: However, once you have your new preferred class in place, you'll still want to build on top of the original class to re-use all of its (
protected) methods. It is easy to do this by extending the original class. However, composition offers a much neater way.
Written by Jisse Reitsma on 18 May 2019
Local composer development with Magento 2
You have heard the advice already: Use composer. However, I frequently hear that Magento 2 modules are still developed in
app/code because of reasons. Often this based upon wrong assumptions. I'll show you why.
Written by Jisse Reitsma on 10 May 2019
Faster Magento 2 Integration Tests
Testing is important. While unit testing and MFTF should play a vital role in Magento 2, let's not forget about integration tests. When you first run the Magento 2 Integration Tests suite of the Magento core, you will be waiting a long time for things to complete. And slow test runs will keep you from making use of them. So let's see how we can optimize Integration Tests to run as fast as possible.
Written by Jisse Reitsma on 4 May 2019
Presenting Yireo ServerPush, err ... LinkPreload
Written by Jisse Reitsma on 27 Apr 2019
Smaller Magento 2 images with WebP
Since already some years, WebP is an alternative image format, developed by Google, to offer the same quality but in much smaller sizes: In short, WebP allows serving much smaller Magento 2 images to WebP-capable browsers. Our Magento 2 extension is now freely available on GitHub. Let's see what is inside.
Written by Jisse Reitsma on 20 Apr 2019