Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I don't understand the technique at art.sy - It loads a lot of stuff when you open a page for the first time but interestingly when you navigate for another page, it does not seem to be loading anything except for a 1x1 gif. How come the URL changes (full change not just like hashbangs) but nothing particular is loaded from the server? Is there a name for this technique? Is there any framework supports this?


Sorry, I should have been more specific, I meant for the art.sy iPad app! A lot of what the website does is black-magic (or backbone js -whichever) to me :)


HTML5 history.pushState


I still don't understand why Twitter doesn't use that where available.


Because when Twitter started, pushState wasn't available to them. It will take time to transition over, and to fully deprecate hash bangs.

(Hash Bangs were still the wrong way to do it of course, even back then).


They are working on that right now: http://engineering.twitter.com/


FYI, GitHub uses it extensively in their source browser: https://github.com/blog/760-the-tree-slider


Thanks a lot.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: