backbone commandment :: 2018-01-15 16:34:32

“A note on Navigation and State It is also worth noting that in classical web development, navigating between independent views required the use of a page refresh. In single-page applications, however, once data is fetched from a server via Ajax, it can be dynamically rendered in a new view within the same page. Since this doesn’t automatically update the URL, the role of navigation thus falls to a “router”, which assists in managing application state (e.g., allowing users to bookmark a particular view they have navigated to). As routers are neither a part of MVC nor present in every MVC-like framework, I will not be going into them in greater detail in this section.”

–Addy Osmani