Re:The pros and cons of developing a complete Javascript UI
by schwabacher on Wednesday August 10, 2011 @03:23AM
(#2867117)
You can make back and forward work by changing the url hash, and if you poll the hash and adjust the content accordingly, you can make unique urls work as well.
I think most javascript frameworks make this pretty easy, I am most familiar with Backbone's Router (recently renamed from Controller)
In the future, the HTML5 history API should make this even simpler. People definitely do screw this up though.. I don't think the recent Gawker/Gizmodo redesign did this initially, and it seemed like that was one of the reasons people really hated it.
I think most javascript frameworks make this pretty easy, I am most familiar with Backbone's Router (recently renamed from Controller)
See: http://documentcloud.github.com/backbone/#Router
In the future, the HTML5 history API should make this even simpler. People definitely do screw this up though.. I don't think the recent Gawker/Gizmodo redesign did this initially, and it seemed like that was one of the reasons people really hated it.