12. Example: Todo List Part 3 (Client-side w/ Backbone.js)

In Chapter 11, “Example: Todo List Part 2 (Client-side w/ jQuery)” we wrote a client-side front end for a todo list application using the jQuery library. At the end of that chapter I talked about how we could have written that code somewhat differently, but doing so would have meant that we basically rewrote the Backbone.js1 framework. Because I’m not typically in favor of reinventing the wheel, I thought we could, instead, see what our application would look like if we used Backbone instead of jQuery to write our client-side code.

What Is Backbone.js?

Backbone is a client-side MVC2 framework written in JavaScript by Jeremy Ashkenas,3 the creator of a little language known as CoffeeScript. ...

Get Programming in CoffeeScript now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.