Backbone Tutorials

Routing with URLs

In rich web applications, we nonetheless wish to present linkable, bookmarkable, and shareable URLs to significant places inside an app. Use the Router to replace the browser URL at any time when the person reaches a brand new “place” in your app that they may wish to bookmark or share. Conversely, the Router detects modifications to the URL — say, urgent the “Again” button — and may inform your application precisely where you at the moment are.