How to Think About Routing
Explore how routing enhances navigation in Marionette.js applications. Understand the router's role in initializing app state from URLs, keeping URLs updated during navigation, and enabling browser back and forward buttons. This lesson helps you design better user flows and URL handling in your ContactManager app.
We'll cover the following...
Functionalities yet to be created
Our ContactManager app now lets users navigate from the index of the contact to a page displaying a contact. However, once the user gets to the contact’s page, they’re stuck, since the browser’s back button doesn’t work. In addition, users can’t bookmark a contact’s display page, since the URL saved by the browser would be the index page. Later, when the user loads the bookmark again, they’ll end up seeing the contact list view ...