Book Image

Backbone.js Patterns and Best Practices

By : Swarnendu De
Book Image

Backbone.js Patterns and Best Practices

By: Swarnendu De

Overview of this book

Table of Contents (19 chapters)
Backbone.js Patterns and Best Practices
About the Author
About the Reviewers
Precompiling Templates on the Server Side


You will find a lot of tutorials online. I am listing a few of them; these are highly recommended and widely followed by developers:

  • Developing Backbone.js Applications by Addy Osmani (

  • Blog posts by Derick Bailey (

  • Patterns For Large-Scale JavaScript Application Architecture by Addy Osmani:



  • Scalable JavaScript Application Architecture by Nicholas Zakas (

  • If you are a beginner, you may find the Backbone tutorials pretty helpful to understand the initial concepts (

Unit testing

The QUnit and SinonJS documentation provides complete details on test frameworks. The following are a few books and tutorials that you may find handy to help you master these frameworks:

  • Unit Testing Backbone.js Apps with QUnit and SinonJS by Addy Osmani (

  • QUnit Cookbook by the jQuery Foundation (

  • SinonJS by Christian Johansen (

  • Unit Test like a Secret Agent with Sinon.js by Elijah Manor by Elijah Manor (

Other plugins and tutorials

Apart from the previously mentioned resources, the Backbone.js wiki provides an updated list of the important plugins and tutorials, some of which are as follows:

  • Backbone plugins and extensions at,-Plugins,-Resources.

  • Tutorials, blog posts, and example sites at,-blog-posts-and-example-sites.

  • A number of Backbone.js plugins listed by popularity at

  • Backbone-Debugger at This is a Chrome browser extension and can be helpful while working with Backbone applications. A similar Firebug extension can also be found at