Routers and Events

  • James Sugrue


Everything that we have constructed so far has been pretty simple, consisting of a single page with a model or collection represented in view. If you’re considering using Backbone, it’s unlikely that you will limit your application scope to such basic structures. Instead, your app will be composed of multiple views, which will need to communicate with each other using events. It’s also quite common that you’ll want to manage navigation through some type of URL scheme.


Event Handler Callback Function Initial Route Router Function Previous Code 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Copyright information

© James Sugrue 2013

Authors and Affiliations

  • James Sugrue
    • 1
  1. 1.CorkIreland

Personalised recommendations