Mar 062012
 

Backbone in baby steps, Part 1

Topic: Backbone, Underscore, jQuery
Language: JavaScript
Difficulty: Medium
Pre requisites: Moderate JavaScript knowledge. Basic jQuery knowledge.

In this tutorial  we will be building a library application for managing digital books using Backbone. We will also have a glimpse at Underscore and jQuery since they are the default requirements of Backbone.

Continue reading »

Mar 022012
 

The builder pattern is great, isn’t it? It lets you create nice immutable classes without the need for multiple constructors and it gives the API users freedom in choosing which arguments they want to use when creating the instance. But what happens when you want to tell the user that she must call one builder method or the other, since it is crucial for the class you’re trying to build? The builder pattern simply doesn’t have such a feature. This post will try to give an alternative solution to this problem.

Continue reading »