Slide 17
Slide 17 text
Backbone.js
Router & history
Varias vistas centradas en el mismo elemento del DOM
Al hacer el switch entre vistas, el navegador no cambia de URL
Para eso ofrece Backbone.js el router.
Until recently, hash fragments (#page) were used to provide
these permalinks, but with the arrival of the History API, it’s
now possible to use standard URLs (/page). Backbone.Router
provides methods for routing client-side pages, and
connecting them to actions and events
http://backbonejs.org