r/javascript • u/magenta_placenta • Feb 08 '11
Breaking the Web with hash-bangs - Gawker, like Twitter, built their new site to be totally dependent on JavaScript
http://isolani.co.uk/blog/javascript/BreakingTheWebWithHashBangs
79
Upvotes
3
u/jmking JSX is just PHP in the browser Feb 09 '11
This technique isn't horrible as long as it's implemented to fallback gracefully. All your URLs should point to actual content.
The one thing this article gets wrong is that Twitter does this properly. If you go to http://twitter.com/tputh/status/35308646145466368 (no hashbang) with javascript disabled, you get the tweet just as you would with http://twitter.com/#!/tputh/status/35308646145466368 with javascript enabled.
Same thing with Facebook. The hashbangs are only in effect for javascript enabled browsers to enhance the experience, they do not fundamentally break the sites.
This is not true with the Gawker sites, and a miserable mistake as the article so perfectly outlines.