Blog

Featured image for 'How to implement light and dark modes with a toggle switch on your website' post

How to implement light and dark modes with a toggle switch on your website

I've recently rebranded and redesigned the look and feel of my website. As a part of that redesign, I've implemented both a light and a dark theme that will automatically be selected based on the user's preferences; it also includes a toggle switch that will allow the user to change that preference for this website. In this post, I will show you how I did it.

Read more

Featured image for 'Reinventing the wheel: DIOD (a new Typescript dependency injection library)' post

Reinventing the wheel: DIOD (a new Typescript dependency injection library)

Dependency injection is a recurrent pattern in complex applications, and each day it is becoming more common to see it applied with Typescript. But TS has some quirks when comparing with classic languages, like Java or C#, that we need to bear in mind. In this post, I'll talk about them and about how they pushed me to reinvent the wheel by creating a new-brand DI library: DIOD.

Read more

Featured image for 'Decoupling SPAs from the framework, a practical example' post

Decoupling SPAs from the framework, a practical example

The javascript framework war that we are seeing today is harder than the one we've seen in the Game of Thrones series. To choose the proper framework is one of the most important decisions we need to take when starting a new project and that's why there are hundreds of posts on the internet comparing frameworks: reactivity, extensibility, adoption... This is not one of those posts.

Read more

Featured image for 'Microsoft, you need to take it one step further' post

Microsoft, you need to take it one step further

The war is over. It seems that 2016 has been the year of the peace deal between Microsoft and the FOSS community, the hostility has ceased, but let us make no mistake, there is still a long way to go.

Read more