Re:Single page apps in depth (new free book)
by Skoofoo on Sunday October 21, 2012 @10:15AM
(#4679743)
You should check this out: https://github.com/balupton/History.js
[ Parent
| on HN ]
Re:Single page apps in depth (new free book)
by polyfractal on Sunday October 21, 2012 @11:51AM
(#4679919)
I'm using Sammy.js (http://www.sammyjs.org/) which supports auto-fallback to hashbangs if HTML5 push-state isn't supported...I just haven't bothered to turn it on. Frankly, the hashbang doesn't really bother me at all, my URLs have a bunch of random parameters anyway (because it's a search engine) and Google is incapable of indexing either push-state or hashbangs without extra help.
So all it really does is remove two characters from the URL at the expense of more complexity and fragility.
Re:Single page apps in depth (new free book)
by Skoofoo on Sunday October 21, 2012 @10:50PM
(#4681642)
There's also the added benefit of being able to support users without JavaScript, which includes a large portion of iOS/Android users. http://stephanierieger.com/a-plea-for-progressive-enhancemen...