g00glen00b

Tutorials by IT enthusiasts, for enthusiasts

Tutorials about the most trendy and popular Java and JavaScript frameworks.

Recent tutorials

Building mobile apps with Dojo mobile (controller mixin)

In the third part of this series I will tell you how to create controllers and views and how to re-use certain parts of your view (like the header) in all your views. In the previous tutorial I told you how to create a router, which will act as a topic listener. However, we didn’t […]

Continue reading

Building mobile apps with Dojo mobile (router)

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 […]

Continue reading

Building mobile apps with Dojo mobile (model)

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 […]

Continue reading

Dojo promises & Deferreds

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 […]

Continue reading

Dojo inheritance, overriding & extending

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.

Continue reading

Dojo publisher & subscriber

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 […]

Continue reading

Dojo require vs define

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 […]

Continue reading

Dojo domReady vs ready

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.

Continue reading

JavaScript unit testing met Jasmine

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. […]

Continue reading

Get started with learning

View more than one-hundred online tutorials, for free.

Most comments

Setting up AngularJS applications with Yeoman

Where are the good ol’ days when everyone used 1 JavaScript library at most (usually jQuery). With modern applications you need a modern approach, setting up such a project can be hard sometimes, but why re-invent the wheel if there are probably thousands of people who need the same thing? Yeoman helps you to setup your […]

Angular-powered forms

In the previous tutorials about AngularJS I already used some forms, but I never went into detail about them or about form validation. In this tutorial that will probably change, as I will explain you how you could use AngularJS validation and write your own custom validators.

Executing Jasmine tests with Maven

A while ago I wrote my very first Spring Boot application and I showed you how fast it could be using Spring Boot and AngularJS. I also thought about testing all sides of the application, so I started with writing some integration tests for my REST API, then I wrote some unit tests using Mockito […]

Ember.js in action

If you’re a developer for the past five years you may have noticed an explosion in the JavaScript world. Suddenly frameworks, concepts, standards and building tools are popping everywhere. The browser is becoming a valuable alternative to desktop applications and if you didn’t already hop on to the JavaScript train towards the future, then it’s […]

AngularJS $http and dates

When you’re writing AngularJS applications, chances are that you’re going to have to consume a REST API. If you’re as lucky as me you’ll encounter a situation where you’ll have to read dates. However, while Date objects are a part of the standard JavaScript specs, it’s not a part of the JSON spec. So… how […]

Latest News

Spring tutorials

Spring is one of the most popular frameworks for Java development. The tutorials on this blog cover various aspects of developing web applications with Spring, like Spring Web MVC, Spring Boot, Spring Data, Spring Security, ... .

Go to Spring tutorials

AngularJS tutorials

JavaScript is quite popular lately and developing large scaled application became really easy thanks to the various frameworks popping everywhere. AngularJS, made by the folks of Google is one of these frameworks and within the tutorials I'm covering the basics of AngularJS.

Go to AngularJS tutorials

JavaScript tutorials

Recently, a lot of frameworks started to pop out of nowhere. It is hard to follow up with the latest frameworks, but with these tutorials I try to cover the basics of most frameworks like Ember.js, React.js, AngularJS, Dojo, D3, ... .

Go to JavaScript tutorials