Babysteps with PWA Studio
Magento PWA Studio is slowly becoming more mature. Nothing to build a production PWA yet with, but enough to play around with as a way of getting used to the technology. Months ago, Fooman wrote a blog on how to setup PWA Studio properly. Here are my additional notes.
Written by Jisse Reitsma on 20 Jul 2018
Boost MySQL speed of Magento 2 integration tests
Magento 2 is built in a modular way and one of the benefits here is that you can easily (?) add your own unit and/or integration tests, to guarantee the quality of your own code. When running integration tests, a test database is set up. However, this process is kind of slow. Here is a little trick to dramatically increase the performance of MySQL, so your integration tests complete within seconds.
Written by Jisse Reitsma on 29 Jun 2018
Oh my god, a Magento Association?
Last Wednesday, I attended a supersecret meeting in Leipzig that dealt with the forming of a brand new Magento Association. And here is a public blog about it. Supersecret? No, of course not. The Magento Association is there for all of us.
Written by Jisse Reitsma on 24 Jun 2018
Disabling annoying 3rd-party Magento modules
Since some time now, Magento has been shipping with third party modules, that might be useful to some but are often not needed at all. Modules that you don't use should be disabled. Even worse, some of these modules have caused me (and others) SQL errors while deploying. So let's see how to fix this.
Written by Jisse Reitsma on 23 May 2018
Magento 2 Virtual Types with namespaces
I've heard it pop up in discussions on best coding practices. Yet, I have also seen the opposite in practical code samples while reviewing extensions: Virtual Types should use namespaces. Here's a small recap on what, why and how.
Written by Jisse Reitsma on 6 May 2018
Magent 2 observer or Plugin?
Within the Magento 2 architecture, there are numerous ways of changing the behaviour of the original code. Dependency Injection allows for tricks with types and virtual types. However, the three main ways of modifying original code are preferences, observers and Plugins.
Written by Jisse Reitsma on 9 Feb 2018