👋Hey there,I'm Dimitri

I like trying out new frameworks and writing about them. Below you can find the latest articles I wrote.

Building mobile apps with Dojo mobile (router)

December 24th, 2013 | 10 min read | Dojo, Mobile, Web

In the previous tutorial in this series I told you how to set up your project and we already provided our app with some data. Before we actually start writing the application and its behavior, I’m going to write the “glue” between the controllers, the router. Dojo mobile already has a way to transition between […]

Building mobile apps with Dojo mobile (model)

December 24th, 2013 | 6 min read | Dojo, Mobile, Web

After a lot of tutorials and guides written in Dutch, I thought it was the time to write some English tutorials as well. In this tutorial I’ll show you how to create an application using Dojo with Dojo mobile. I will not talk about frameworks like dojox/app* or dojox/mvc*, but I will tend to create […]

Dojo promises & Deferreds

September 29th, 2013 | 6 min read | AJAX, Dojo, JavaScript

It’s already a while ago I wrote my last tutorial, so it’s time for the next one now. In this tutorial I’m going to talk about the Dojo Deferred module, in the JavaScript world also known as promises. As you probably know by now is that JavaScript is a language that makes it easy to […]

Dojo inheritance, overriding & extending

July 20th, 2013 | 6 min read | Dojo, JavaScript

Dojo is a decent JavaScript framework offering a lot of functionality. One of its biggest trumphs is the possibility to extend modules in an easy way through mixin inheritance. In this tutorial I’m going to show you how you can extend a widget with extra functionality.

Dojo publisher & subscriber

July 12th, 2013 | 5 min read | Dojo, JavaScript

As a third tutorial about Dojo this month I’m going to talk about a very common design pattern called the observer/observable pattern or also known as the publisher/subscriber pattern. JavaScript is a primary event driven language, the problem that occurs often is that one event might trigger multiple actions. When you have to deal with […]

Dojo require vs define

July 9th, 2013 | 6 min read | Dojo, JavaScript

I didn’t exactly plan on writin this, but after a question from an intern, I thought it might be interesting to exaplain the difference between require() and define(). Every developer who has used Dojo or even another JavaScript framework/platform like Node.js and RequireJS, knows that one time or another, you need to load your modules. In Dojo they chose […]

Dojo domReady vs ready

July 8th, 2013 | 6 min read | Dojo, JavaScript

One of the biggest misconceptions in Dojo is what module to choose to create a document-on-load event handler. In Dojo there are two modules that are commonly used, called dojo/ready and dojo/domReady. In this small tutorial I will explain you what the differences are and in what situation you should use them.

JavaScript unit testing met Jasmine

July 7th, 2013 | 7 min read | Jasmine, JavaScript, Testing, Web

Een tijd geleden (rond Januari) heb ik enkele tutorials geschreven over hoe je Java code kan unit testen. In deze tutorial is het tijd om eens een andere taal te unit testen, namelijk JavaScript. Voor JavaScript heb je een groot aanbod aan unit testing frameworks waar momenteel (jammer misschien) nog niet teveel standaarden rond zijn. […]

Meteor RSS reader

June 8th, 2013 | 10 min read | Handlebars.js, JavaScript, Meteor.js, Node.js

Enkele tutorials geleden heb ik uitgelegd hoe je met Handlebars.js templates een eenvoudige RSS reader kon maken. In deze tutorial ga ik hetzelfde verhaal herhalen met Meteor (en natuurlijk zit daar ook Handlebars.js in). In deze tutorial ga ik aan de hand van de vergelijking tussen gewoonweg JavaScript en een full-stack framework zoals Meteor tonen […]

Templating met Handlebars.js

June 2nd, 2013 | 13 min read | Dojo, Handlebars.js, JavaScript, Web

In een aantal van mijn vorige tutorials heb ik gebruik gemaakt van Meteor. Één van de concepten die Meteor voorziet is templating. De templating engine die Meteor gebruikt is Handlebars.js. In deze tutorial ga ik dieper in over Handlebars.js, maar dan zonder Meteor erbij te betrekken. Meteor is immers een platform dat allerlei JavaScript frameworks […]