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

Chapter 9: AppRouter

Assuming you’ve used Backbone prior to reading this book — this entire book assumes you have, even if I myself wouldn’t — you should be familiar with Backbone.Router. Routers are great things that allow single page applications to have multiple URLs as if they were applications spanning multiple pages. This grants users the ability to use the Back and Forward buttons in the browser to navigate around apparent pages of your application that they have seen before, or even bookmark a particular place in your application.

Every good application with more than one screen should take advantage of a router to provide these expected pieces of the user experience. So, let’s get started using Backbone.Router, right? Nah, I have a better ...

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