Opened 9 years ago
Last modified 4 years ago
#13958 assigned enhancement
Add HTML5 history support to dojo.hash
Reported by: | Rob Retchless | Owned by: | dylan |
---|---|---|---|
Priority: | high | Milestone: | 1.15 |
Component: | Core | Version: | 1.6.1 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
I've been working on adding HTML5 history support to dojo.hash to enable RESTful URLs in Ajax applications. I've come up with a set of overrides to dojo.hash that enable this to work in my app, but I'm wondering if there's value in pushing this into dojo so that the greater community can benefit.
Here's a blog post describing the solution:
http://retchless.blogspot.com/2011/09/resource-oriented-urls-with-dojohash.html
Change History (9)
comment:1 Changed 9 years ago by
Milestone: | tbd → 1.8 |
---|
comment:2 Changed 9 years ago by
Owner: | set to Rob Retchless |
---|
comment:3 Changed 9 years ago by
Milestone: | 1.8 → 2.0 |
---|
comment:4 Changed 7 years ago by
so I take it this never made it into 1.9 either? Would this also include a patch for router or is that even needed (since no patch ever got attached to look at)
comment:5 Changed 6 years ago by
I'd love to see this included in the next release... I see it's been now scheduled for 2.0. Is it a definitive guarantee that it will be included ?
comment:6 Changed 6 years ago by
So today, you can fairly easily extend dojo/router with support for the HTML5 history API. See a simple example at https://www.sitepen.com/blog/2015/02/27/optimized-navigation-isomorphic-resources/
For Dojo 2, the roadmap is at https://dojotoolkit.org/community/roadmap/ (see the section on history/routing). We are debating whether the minimum browser for Dojo 2 will be IE9 or IE10. If IE10, then every browser we support will have native support for both hashchange as well as history API, and we will just build the router on the native APIs. If IE9, then we will provide a shim for the history API. A lot of the dojo/hash code in use today is primarily to support older browsers like IE6-8 and its need will go away.
comment:7 Changed 5 years ago by
Milestone: | 2.0 → 1.12 |
---|---|
Owner: | changed from Rob Retchless to dylan |
Status: | new → assigned |
comment:9 Changed 4 years ago by
Milestone: | 1.13 → 1.15 |
---|
Ticket planning... move current 1.13 tickets out to 1.15 to make it easier to move tickets into the 1.13 milestone.
1.8 is frozen. Move all enhancements to next release. If you need an exemption from the freeze for this ticket, contact me immediately.