O'Reilly logo

Better Backbone Applications with MarionetteJS by Joseph Zimmerman, Smashing Magazine

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Introduction

Backbone.js1 is a growing library that has been around for a few years. It provides some of the key elements necessary for building JavaScript-based web applications in an organized way. Instead of procedural or functional programming, Backbone gives us the object-oriented tools to build our application using patterns similar to MVC.

Though Backbone offers routers, models, and views, it doesn’t technically enforce an MVC architecture because these components were designed to work independently: you can pick and choose the components of Backbone you wish to use, and you can even use them in ways that are quite contrary to their intended use. Also, since Backbone doesn’t contain anything related to a controller, there is no way it can ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required