Closed adrianlee closed 12 years ago
I agree with the idea of using this as it reduce the size of the application.
My only concern is that I am assume that when the user navigates between modes, the browerfield will not log the url into its history. So how will the user go back to it first original list of pictures? Will we have a mode which allows the user to go back to its previous list of pictures?
backbone implemented.
TODO: localStorage Multiviews Router
TODO: Router for fav, recent, most viewed pages. Localstore persist only one instance of source. No duplicates
All implemented in Pull Request #7
Navigating between modes such as 'most viewed', 'favourite', 'recent'.
Will this be multiple pages? I was thinking of a single page with routing using hash. e.g. the nav links would look like/#favourite. instead of /favourite/index.html
Checkout http://documentcloud.github.com/backbone/#Router
No page refresh required. JS will remove all DOM elements in container and repopulate our page.