Home » Backbone.js Router

Backbone.js Router

by Online Tutorials Library

Backbone.js Router

Backbone.js Router is used for routing client side applications and connecting them to actions and events. It also defines the URL representation of application?s object when web applications provide linkable, bookmarkable, and sharable URL.

Following is list of methods which can be used to manipulate the Backbone.js router:

Index Method Description
1. extend It is used to extend the backbone’s router class.
2. routes It is used to define the URL representation of application’s objects.
3. initialize It creates new constructor for the router installation.
4. route It creates route for the router.
5. navigate It updates URL in the applications.
6. execute It is used when a route matches its corresponding callback.

You may also like