·

All posts

171 articles and counting …

Tiny Deploy : a tiny tool for deploying your project

Want to deploy your website (or any given project that needs to be on server X)? Want to perform some tasks before or after the transfer? Want to exclude some files as well? Meet Tiny Deploy: A small shell script I wrote to do just that! Grab it while it’s hot!read further ...

Creating helpers in Magento 2

We all know them from Magento 1: Helpers. Those (mostly) tiny little classes that gave us functionality for various things throughout our site. Needless to say, Magento 2 also has those helpers. In this article I’ll explain to you how to create and use helpers in your project.read further ...

Magento 2 : Why use rewrites when you can use plugins?

Remember class rewrites? That nifty little feature from Magento 1 where you could override any given class in Magento with your own implementation? Of course you do! Well, then you also might remember the problem with rewrites: that as soon as more than 1 module tries to rewrite the same class you had a problem. read further ...

Constructor Dependency Injection in Magento 2

Psst… want to see something funny? Go ahead, open up the Product -class in Magento 2 and take a look at it’s constructor: Scared? Don’t be! What you’re seeing is Magento 2’s Constructor Injection. In this article I’ll show you how to embrace and even love it!read further ...

Adding System configuration in Magento 2

When developing a site with Magento 2, you might want to be able to add some custom settings to the system configuration. This can be settings that reflect on your template, or settings that apply to your module. In Magento 1, this could be easily done by creating a system.xml  file. Magento 2 has a similar read further ...

Remove the wrapping paragraph around a widget in Magento 2

I already wrote a post about how to do this in Magento 1, but it seems that the ‘wrapping paragraphs around widgets‘-problem still exists in Magento 2. That’s why in this article I’ll show you how to fix this problem in Magento 2.read further ...

Creating a module in Magento 2

A module in Magento 2 is one of the things you’ll encounter (and create) the most when developing with Magento 2. Basically everything in Magento is a module, and if you want to add some custom functionality of your own, chances are that you need to create a module for it. In this article I’ll read further ...

Magento 2 Development from scratch

Magento 2 is now out for a couple of months and since recently I too have begun developing with this new version of the e-commerce platform. On my blog I will set out a series of posts that will cover a lot of topics for those diving into the world of Magento 2 development. This read further ...

A small SCSS function to help you with your colors

When I am templating a website, I use colors. A lot of those colors have different shades. For example, the color red can also come in dark- or in light red. Usually I solved this by creating different variables like this: Later on, I changed to sass maps and a corresponding function: Today I read further ...

1 2 3 4 5 6 19