CHAPTER 10

image

Extending Backbone with Marionette and Thorax

For small projects, the approach that we’ve taken to building Backbone applications works fine. However, as the scale of your Backbone.js application increases, it might be time to consider using either Marionette or Thorax to make the code base more manageable and to reduce the amount of boilerplate code. This chapter will introduce both of these add-ons and show the difference that they can make to how you write your applications.

Marionette

Marionette (http://marionettejs.com, Figure 10-1) was created by Derick Bailey to simplify the construction of large-scale Backbone applications. ...

Get Beginning Backbone.js 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.