Test plays a vital role in any types of software development to ensure the deliverable is robust and bug free. Magento 1(M1) comes with NO test suite and unit testing M1 codebase is considered as a nightmare. Good idea, but no one do it:( So you never see any M1 modules come with a test… Continue reading Magento 2 Unit Test
Checking out Keras with Tensorflow in Google Colab
As we all know that Machine Learning especially Deep Learning with Neural Network has become one of the top trending tech topics in these days. I was trying to get my head around machine learning and AI but I found it does have a steep learning curve for anyone new to this domain. I recently… Continue reading Checking out Keras with Tensorflow in Google Colab
It all starts with a simple module
When I start with Magento 2 development, the first question I ask is how I can make a simple module at the bare minimum, sort of just like a entry point to the Magento 2 system. So I can then add my own code and inject my own logic to different part of the core… Continue reading It all starts with a simple module
Create custom URL redirects in Magento 2
Motivation I need to be able to redirect referral links that the user shares and track the request. Basically I have a module that generates referrals for every user so that he/she can share the link with his/her friends. Every time the link is clicked, it will record the clickthrough and do something. Things can… Continue reading Create custom URL redirects in Magento 2
Setting up a local development environment with Laravel Valet for Magento 2 development
Setting up a Magento 2 development environment requires quite a bit of work. Back in the old days, we need to manually install LAMP stack on the computer and configure virtual hosting, update /etc/hosts and etc. That is just boring! Although nowadays, we have VM, Vagrant and Docker, the performance is still not very impressive… Continue reading Setting up a local development environment with Laravel Valet for Magento 2 development