Category Archives: Backbone.js

How I Navigated to AngularJS

This article is about the process I’ve gone through of selecting AngularjS as my MV* JavaScript framework of choice. I will discuss the evolution I went through from learning jQuery, Knockout, Backbone.js, and eventually settling on AngularJS. I’ve been programming … Continue reading

Posted in AngularJS, Backbone.js, JavaScript, Uncategorized | Tagged , , , , | 4 Comments

Re-Learning Backbone.js – Require.js (AMD and Shim)

In this post we are going to learn how to use Require.js with Backbone.js and Underscore.js This post build on the Re-Learning Backbone.js series. As usual, the examples in this tutorial are extremely simple. We have one goal here and … Continue reading

Posted in Backbone.js, JavaScript, Require.js, Uncategorized | Tagged , | 17 Comments

Re-Learning Backbone.js – Multiple Views

In this post we will learn about how a view can monitor changes or events in other views. A common scenario is to display a list of items. When the user clicks an item from the list, the details of … Continue reading

Posted in Backbone.js, JavaScript | Tagged , | Leave a comment

Re-Learning Backbone.js – Nested Views

Previously in this series we have learned about views and collection. Now lets learn about creating nested views based on a collection. Most if not all of the concepts learned in the previous Re-Learning Backgone.js tutorials will be used in … Continue reading

Posted in Backbone.js, JavaScript, Uncategorized | Tagged , , , | 2 Comments

Re-Learning Backbone.js – Events (Pub-Sub)

Since we are here to learn about Backbone.js, we are going to use the built in feature of Backbone called Events. Backbone.js Events is a feature that provides a Pub-Sub. As usually I’m going to attempt to keep this a … Continue reading

Posted in Backbone.js, JavaScript, Uncategorized | Tagged , , | 5 Comments

Re-Learning Backbone.js – Collections

Backbone.js collections are used to store and manage a group of similar or related objects. If all we wanted to do was store related objects we could use a JavaScript array, but Backbone.js Collection provides an infrastructure that allows us … Continue reading

Posted in Backbone.js, JavaScript, Uncategorized | Tagged , , , | Leave a comment

Re-Learning Backbone.js

In 2011 and in early 2012, I did an extensive amount of work with Backbone.js. I believe I was fairly competent with the technology and grew very fond of Backbone.js. During this time I created a blog post on Backbone.js, … Continue reading

Posted in Backbone.js, JavaScript, Tutorial | 1 Comment

Re-Learning Backbone.js – View Events

It is common for Backbone.js views to include elements that the user can interact with. For example, the user can enter text in a text box, hover over a div, or click a button. These types of interaction can trigger … Continue reading

Posted in Backbone.js, JavaScript, Tutorial | Tagged , , | 2 Comments

Re-Learning Backbone.js – Binding Models to Views

In the previous post we learned about Model Binding in isolation. There are many places where model binding can provide benefit. Where we see model binding the most is in relation to using views. Usually we want the view to … Continue reading

Posted in Backbone.js, JavaScript, Tutorial | Tagged , , , | 4 Comments

Re-Learning Backbone.js – Model Binding Events

Usually a view tracks a model, and when the data in the model changes the view is updated to represent the changes. In the previous two blog posts we learned about Bakbone.js Views, but our views did not track models … Continue reading

Posted in Backbone.js, JavaScript, Tutorial | Tagged , | 3 Comments