Home » Backbone.js Router

Backbone.js Router


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:

1.extendIt is used to extend the backbone’s router class.
2.routesIt is used to define the URL representation of application’s objects.
3.initializeIt creates new constructor for the router installation.
4.routeIt creates route for the router.
5.navigateIt updates URL in the applications.
6.executeIt is used when a route matches its corresponding callback.

You may also like