4 ms·
There's a ticket that proposes adding a "hashchange" router to Backbone, if you're interested in contributing your thoughts: http://github.com/documentcloud/ba
by jashkenas 16y ago
There's a ticket that proposes adding a "hashchange" router to Backbone, if you're interested in contributing your thoughts:
http://github.com/documentcloud/backbone/issues#issue/35 http://github.com/documentcloud/backbone/issues#issue/35
The big question is if it's useful enough -- Models/Collections/Views are used constantly, whereas hashchange routing is a comparatively tiny part of an app. For the record, the previous Backbone+Sammy discussion is here:
http://news.ycombinator.com/item?id=1788456 http://news.ycombinator.com/item?id=1788456
And there's another on the Sammy list:
http://groups.google.com/group/sammyjs/browse_thread/thread/2f6124260e4ee4cf http://groups.google.com/group/sammyjs/browse_thread/thread/...
- drivebyacct2 16y agoWhy use hash tags? HTML5 has support for altering the URL without leaving the page and adding new entries in the browser history. Sounds like a better than the age-old hashtag workaround.
- CrabDude 16y agoAgreed, this is what Facebook does, http://www.facebook.com/notes/facebook-engineering/using-html5-today/438532093919 http://www.facebook.com/notes/facebook-engineering/using-htm...: "[Facebook] implemented the History API to enable selective loading of page content via AJAX while preserving readable URLs."