In this chapter, we'll examine Backbone's Router
class to learn about the following:
How routers simulate browser history to create virtual pages
How to create new
Router
subclasses and instancesThe various mechanisms for defining routing patterns
How to handle special cases, such as nonexistent routes
How to use a page view to render routes consistently