Before events took this bad turn, the contract represented by a link was simple: “Here’s a string, send it off to a server and the server will figure out what it identifies and send you back a representation.” Now it’s along the lines of: “Here’s a string, save the hashbang, send the rest to the server, and rely on being able to run the code the server sends you to use the hashbang to generate the representation.” Do I need to explain why this is less robust and flexible? This is what we call “tight coupling” and I thought that anyone with a Computer Science degree ought to have been taught to avoid it.
— Tim Bray
I think the best rebuttal was already in his comments so I'll just quote it:
"The recent outbreak of hashbang-phobia seems to belie an underlying fear of the web app as it encroaches on the web document's world."
-James Pearce http://goo.gl/KtinU
The idea that a long-running web app is a bad thing is total rubbish. Pointing to the poor execution of an idea (which I don't even agree that Twitter is, but I'll concede that's subjective) doesn't make the idea a bad one.
The debate seems to have stemmed from the Gawker outage a few days ago, which resulted from deployment of some code that wasn't properly tested and it broke the site, and that code happened to be the Javascript which processed URIs. That has nothing to do with hashbangs and everything to do with code deployment procedures.
Greg Hinch - 10th February 2011 16:02 - #
No, no, no.
This isn't about fear of web apps. I love web apps.
This is about widespread usage of a technique that is fundamentally bad web architecture, and throws away huge chunks of what is valuable about the web.
Links make the web. A link is a URL. When something performs a GET request against that URL, the resource that the person who created the link was referring to gets returned. You can knock out a simple client app in a few lines of any scripting language under the sun.
Hashbang URLs change that. Now performing a GET request against a URL returns a massive chunk of script, which you have to run through a multi-million-lines-of-code JavaScript interpreter in order to figure out what the actual resource being linked to was.
In the case of a link to a tweet, all of that effort is required to retrieve just 140 characters plus some metadata.
In the case of Gawker, they've just made ALL of their content inaccessible to any web client that isn't a full fledged browser.
Hashbang URLs are bad for the Web. The sooner pushState gains widespread adoption and makes them irrelevant the better.
The argument still seems to me to be more against the idea of web apps that run in a single page, which still need to link to content. The reality of most shops is that maintaining a separate URI structure that follows a traditional path rather than using some kind of hash technique is beyond the scope of available resources. Particularly if that path would only be required for a small fraction of your users, it would just be bad business (man hours vs return).
Even with pushState, without using some kind of hash URI, you wouldn't be able to paste a link to a piece of content into say an IM or a Tweet. Long-running apps need to be able to externally link to content, and the hashbang solves that.
Greg Hinch - 10th February 2011 18:33 - #
If this is about how web apps are better than simpler methods, I am surprised that no one has posted their comment text as Microsoft Word documents.
Surely the rich display options that format is capable of is better than having content readily displayable on this page, right?
JR Conlin - 11th February 2011 00:17 - #
@Greg: If you do pushState properly then yes you will be able to copy/paste the link and maintain application state.
I'm using pushState on an app I'm developing at the moment and it makes everything so easy to code for progressive enhancement. All you have to do is overload the click handlers with javascript to ajax request a JSON resource instead of the normal html resource, it's so clean and graceful. Of course pushState isn't supported by Firefox 3 and *any* version of IE (yes even IE9), so I've had to crowbar in a shebang alternative for those browsers... Ugggh!
@Simon: OpenID login doesn't seem to work by the way.
Dave Jeffery - 11th February 2011 18:44 - #
One example of these problems is the updates to Gawker Media's websites.
Gawker has a relationship with an Australian company that provides localised versions of some of their websites. As part of this, the root page of the relevant Gawker web sites redirects Australian visitors to the local site. Links to individual stories do not redirect though, so it is safe to share links.
With the updated site, every story is a link to the root page of the site with the story being identified in the fragment. But rather than loading the javascript to process the fragment, Australian visitors get redirected to the local site and lose the fragment completely.
James Henstridge - 1st March 2011 03:42 - #
randy ortan - 16th August 2011 09:17 - #
health pharmacy - 25th September 2011 17:20 - #
データ復旧 - 15th October 2011 13:42 - #
john dillon - 25th October 2011 15:06 - #
flapwer - 27th October 2011 14:13 - #
bottes ugg - 28th October 2011 03:01 - #
All the contents you mentioned in post is too good and can be very useful. I will keep it in mind, thanks for sharing the information keep updating, looking forward for more posts. Thanks
Dried Fruits - 28th October 2011 04:27 - #
barclays card - 30th October 2011 14:59 - #
barclays card - 30th October 2011 15:00 - #
Groundless - 1st November 2011 05:54 - #
xzdasd - 4th November 2011 03:19 - #
Personal Injury Solicitor - 10th November 2011 11:28 - #
In the case of Gawker, they just made ALL their content inaccessible to any web client that is not a fully fledged browser.
Schlüsseldienst Stuttgart - 10th November 2011 12:39 - #
Jeru - 11th November 2011 11:33 - #
peterson - 15th November 2011 17:27 - #
Suzettech - 22nd November 2011 11:42 - #
Hamza - 22nd November 2011 17:29 - #
Hi , i got this Article , i was searching some thing relevant to this, And i am feeling lucky, as its the perfect one for what i am looking for. I will share this link on face book .
christian louboutin outlet - 23rd November 2011 12:34 - #
All the contents you mentioned in post is too good and can be very useful. I will keep it in mind, thanks for sharing the information keep updating, looking forward for more posts. Thanks
ForumLinkBuilding - 26th November 2011 16:42 - #
alicehorton - 28th November 2011 01:48 - #
Steve Wyman - 28th November 2011 02:08 - #
timwalker - 29th November 2011 21:32 - #
nickcarter - 30th November 2011 19:19 - #
Brad - 1st December 2011 01:16 - #
christopher Young - 1st December 2011 10:00 - #
simoncowell - 2nd December 2011 01:42 - #
jamessmith - 4th December 2011 10:12 - #
mikegeary - 4th December 2011 10:17 - #
ronald_riche02@yahoo.com - 4th December 2011 16:56 - #
christopherYoung - 4th December 2011 20:40 - #
Yes I agree with the comment about "tight coupling". It is certainly to be avoided and anyone with significant computer knowledge will know this.
Nook Ereader Review - 5th December 2011 20:58 - #
Parkeren Schiphol - 7th December 2011 14:36 - #
Tao Kan to Guangzhou, and not depressed down. He insisted every morning to one hundred bricks from the house moved to the house, at night, then moved back to a brick house. Some people do see him every day, feeling very strange and asked him why. Tao Kan said solemnly: "I am now though living in the south, they still think of the future to recover the Central Plains, to serve the country if the idle used to be, how can we take a leading role in future do so, I take this every day Events bones and muscles. "
discount uggs - 10th December 2011 08:37 - #
Yin Jian Dao case to jail. <a href="http://www.uggboots-top.us/kids-ugg-boots-c- 12.html"title="cheap kids uggs boots">cheap kids uggs boots</a>.
canada goose jackets - 10th December 2011 08:40 - #
cioara - 11th December 2011 20:57 - #
john lennon - 12th December 2011 04:43 - #
mickjagger - 12th December 2011 10:52 - #
jimmyfallon - 12th December 2011 17:24 - #
Anonim - 12th December 2011 22:55 - #
Anonim - 12th December 2011 22:59 - #
godsavehuman - 14th December 2011 07:57 - #
cioara - 15th December 2011 14:43 - #
Thanks for the explanation about this type of web apps ; educational!
Razor Scooters - 16th December 2011 21:14 - #
smash - 17th December 2011 13:01 - #
god - 19th December 2011 10:39 - #
buat duit - 23rd December 2011 04:24 - #
Samuel - 23rd December 2011 09:19 - #
Baby Gift - 24th December 2011 11:52 - #
Mark Jeo - 25th December 2011 13:44 - #
Jon - 25th December 2011 20:11 - #
Sohie - 26th December 2011 07:55 - #
First time I have seen your blog and what a great post that was!Remember the saying “Genius is 99% perspiration and 1% inspiration”So once you have a great idea you have to work hard to turn it into a viable product that doesn’t just exist in your head.
7m - 26th December 2011 10:27 - #
First time I have seen your blog and what a great post that was!Remember the saying “Genius is 99% perspiration and 1% inspiration”So once you have a great idea you have to work hard to turn it into a viable product that doesn’t just exist in your head.
7m - 26th December 2011 10:28 - #
sears locations - 26th December 2011 13:53 - #
I will recommend my friends to read this.
discount ugg boots - 27th December 2011 03:47 - #
Muay Thai - 27th December 2011 11:10 - #
One example of these problems is the updates to Gawker Media's websites.
Gawker has a relationship with an Australian company that provides localised versions of some of their websites. As part of this, the root page of the relevant Gawker web sites redirects Australian visitors to the local site. Links to individual stories do not redirect though, so it is safe to share links.
With the updated site, every story is a link to the root page of the site with the story being identified in the fragment. But rather than loading the javascript to process the fragment, Australian visitors get redirected to the local site and lose the fragment completely.
hair loss in women - 27th December 2011 14:11 - #
Fantastic job here. I truly enjoyed what you had to say. Keep heading because you surely bring a new voice to this topic. Not many people would say what youve said and still make it interesting. Properly, at least Im interested. Cant wait to see far more of this from you.
miele vacuum bags - 27th December 2011 14:49 - #
Where can I buy a Kindle believes information that can assist others to make more informed and appropriate decisions is of exceeding worth. For example, online forums and scholarly sites inform readers on countless topics such as how to save money by finding out about cheap ereaders or where to go to find kindles on sale. The sharing of information is priceless!
where can i buy a kindle - 27th December 2011 18:52 - #
This was very helpful information I found this great website by searching for exactly this using google. You must rank very high. <a href="http://www.concretefloorings.com.au/">Concre te flooring</a>
concrete floors - 28th December 2011 04:57 - #
kumar - 28th December 2011 10:57 - #
Mark Jeo - 28th December 2011 19:23 - #
I believe that all the items here are wonderful,
thx
المرأة - 29th December 2011 09:52 - #
underpassion - 29th December 2011 13:23 - #
salman12 - 30th December 2011 11:47 - #
Drudge - 30th December 2011 12:29 - #
underpassion - 30th December 2011 21:47 - #
gupta - 31st December 2011 06:49 - #
lociferlo - 31st December 2011 11:51 - #
Best Muscle Building Supplement - 31st December 2011 13:39 - #
passionlab1 - 1st January 2012 09:47 - #
Tractor Supply - 1st January 2012 13:08 - #
underpassion - 2nd January 2012 08:40 - #
Bhatt0 - 2nd January 2012 11:23 - #
sergo - 2nd January 2012 11:31 - #
Hashbang is not that good anymore, it will not help you get your website indexed faster, you must do much more work to get that done.
Internet Marketing Blog - 2nd January 2012 22:32 - #
underpassion - 3rd January 2012 09:10 - #
dc to dc converter - 3rd January 2012 09:30 - #
braces cost - 3rd January 2012 14:56 - #
TJ Maxx - 3rd January 2012 20:30 - #
Link Wheel Services - 4th January 2012 06:31 - #
espinoza - 4th January 2012 07:24 - #
Mark Jeo - 4th January 2012 08:50 - #
2012 will be the year of <a href="http://mobilewebdeveloper.net">mobile web developer</a>. Mobile web apps will be the future tools of marketing campaign for big brand companies!
Android Development - 4th January 2012 10:54 - #
CPR Training - 4th January 2012 11:35 - #
CPR Training Red Cross - 4th January 2012 11:45 - #
Joann Fabric - 4th January 2012 13:00 - #
lbipntvlpd - 4th January 2012 14:24 - #
Very nice & impressive article you have posted.. great information..I want to say that this article is amazing, nice written and define.You have done a great work.I will definitely dig it and personally recommend to my friends. i will surely recommend it to other people.Thanks and keep up the good work.
<a href="http://www.juegosparpc.com">Juegos para PC</a>
Juegos para PC - 4th January 2012 15:29 - #
Very nice & impressive article you have posted.. great information..I want to say that this article is amazing, nice written and define.You have done a great work.I will definitely dig it and personally recommend to my friends. i will surely recommend it to other people.Thanks and keep up the good work.
<a href="http://www.fecebooks.net">Fecebook</a>
Fecebook - 4th January 2012 15:31 - #
Jon - 4th January 2012 15:57 - #
Dusan - 4th January 2012 16:04 - #
cvdodmrjnd - 4th January 2012 18:47 - #
voeqkmopqu - 4th January 2012 20:10 - #
I'am confused about this hasbang. Just take it to myself that the strings can use for server to server
cheap domain - 5th January 2012 06:42 - #
Bhatt0 - 5th January 2012 07:58 - #
jobs - 5th January 2012 11:59 - #
employment news - 5th January 2012 12:00 - #
khushi - 5th January 2012 12:01 - #
pdiahanncr - 5th January 2012 12:24 - #
zjxnortwwq - 5th January 2012 13:42 - #
morgaen - 5th January 2012 18:19 - #
discount ugg boots Platoon how is it? Li Bin Sun platoon came powerful Blues, Oh. Meng commander unconscious smile. MNK#¥hjb Well, after a day of training I believe that soldier on duty ran into the company headquarters.
discount ugg boots classic tall Li Bin, in a big kind of sweating fried with vegetables. Suddenly filled.
discount ugg shoes Fool, Snow Wolf is our trump card, and point you to disclose.
Best Sale UGG Boots Beachhead to the enemy, fire. Wu-Lei finished his right hand directed at the beach. www.hotdiscountbootsoutlet.com
discount ugg boots - 6th January 2012 09:35 - #
pkrcsjm - 6th January 2012 10:26 - #
Dillards - 6th January 2012 13:37 - #
Claus - 6th January 2012 23:46 - #
http://myfundoo-blog.blogspot.com/2011/12/stop-bad poolcaller-0x000000c2-error-in.html
problem is a common problem with Windows operating system
jacky - 7th January 2012 21:22 - #
salman - 9th January 2012 09:35 - #
tony willington - 11th January 2012 07:19 - #
build solar panels - 11th January 2012 13:34 - #
sachin - 12th January 2012 06:36 - #
Margaret - 12th January 2012 06:41 - #
All the contents you mentioned in post is too good and can be very useful. I will keep it in mind, thanks for sharing the information keep updating, looking forward for more posts. Thanks
http://doraltireshq.com
blogging tips - 15th January 2012 07:05 - #
John - 16th January 2012 02:07 - #
There may be some validity however I will take maintain opinion until I look into it further. Good article , thanks and we want more!<a href="http://legalarticledirectory.com/">Legal Article Directory</a>
fine one - 16th January 2012 10:33 - #
Yes, i totally believe in what you said here. This is an indeed post post i must say and great read for me. Hope to see more article. Thanks.
best reseller hosting in india - 16th January 2012 11:15 - #
http://www.pizzainbendoregon.com
Al Williams - 18th January 2012 02:36 - #
<a href="http://www.pizzainbendoregon.com/">Pizza in Bend Oregon</a>
John - 18th January 2012 02:37 - #
the original Nike Speed boot!New products for us.the new Vapor football boots have undergone the same new paint work as the boots and now feature the updated asymmetric but now it's time to take a look at the boot that paved the way.
http://www.nike-mercurial-vapor-superfly.org
Nike Football boots - 18th January 2012 03:41 - #
rashi - 18th January 2012 07:46 - #
santi - 18th January 2012 10:21 - #
Neeraj jee - 18th January 2012 12:50 - #
kusum12 - 19th January 2012 06:44 - #
Its absolutely great blog with more solutions articles for all internet marketer, good job and i will back tomorrow.
http://6weekweightloss.info
Ary - 23rd January 2012 05:57 - #
Very Good and Very Interesting article
Justin - 24th January 2012 07:59 - #
good information very helpful..
Billiards Club in Bangalore - 25th January 2012 04:42 - #
good information very helpful..
Billiards Club in Bangalore - 25th January 2012 04:44 - #
the iformation will surely help me in my field.
Hair Extensions - 25th January 2012 13:22 - #
Managed IT - 27th January 2012 05:11 - #
addy - 27th January 2012 10:08 - #
Extremely helpful article, pelsae write more.
Dany - 28th January 2012 12:09 - #
nice explanation that how server send the data and information.
http://iiebm.com/
iiebm pune - 30th January 2012 05:47 - #
It is hard to imagine what the web would be like if servers did not work so efficiently. We take for granted how important they are.
Nook Tablet Review - 1st February 2012 13:36 - #
Thank you for your share of your article, and it was really wonderful, very good
uggs outlet - 2nd February 2012 03:46 - #
Chandler Real Estate - 2nd February 2012 06:11 - #
santa - 2nd February 2012 06:13 - #
santa - 2nd February 2012 06:41 - #
sheepskinboots - 2nd February 2012 08:11 - #
magazineprinting - 2nd February 2012 08:12 - #
Thinking About Education & Not Getting the Solution?
Enroll with us.. Just fill out the Form & you'll get a call from our Education Expert in 12Hrs. http://www.freeeducationaid.com
Make sure that you look at all the available options before purchasing one, keeping your needs in mind as you do so. Consider the cost of the printer itself, the types of materials a printer uses, the size of the prototype it prints, the detail of the prototype, and the costs of the materials used in the printing process before making a final buying decision. Thanks a lot.
Regards,
graduate school personal statement - 3rd February 2012 11:46 - #
Sree - 4th February 2012 13:34 - #
Surely the rich display options that format is capable of is better than having content readily displayable on this page, right?
Wedding Speech Examples - 5th February 2012 11:38 - #
Medical Tourism - 6th February 2012 06:30 - #
Sree - 6th February 2012 10:03 - #
Nike Football boots - 6th February 2012 10:09 - #
Sree - 6th February 2012 15:07 - #
sane - 6th February 2012 18:10 - #
vv - 6th February 2012 18:12 - #
skpatel - 7th February 2012 06:45 - #
maddy - 7th February 2012 07:08 - #
NPceGs A unique note..!!
cheap oem software - 7th February 2012 12:32 - #
tinnitus - 8th February 2012 15:42 - #
Satyajit - 10th February 2012 09:00 - #
abnerabraham - 10th February 2012 20:41 - #
John - 10th February 2012 20:42 - #
Elias - 10th February 2012 20:44 - #
Elias - 10th February 2012 20:44 - #
free classifieds - 11th February 2012 18:22 - #
Banti singh. - 13th February 2012 06:49 - #
I know I do! <a href="http://www.nikemercurialvapor.net/" title="Nike Mercurial"><strong>Nike Mercurial</strong></a> At the beginning of each season I sit down and look at the latest offerings in the football boot market. From Adidas to the new Nike's and Puma's to Lotto's Laceless offering, <strong><a href="http://www.nikemercurialvaporssuperfly.com/" title="Nike vapor soccer shoes">Nike vapor soccer shoes</a></strong> I have a real good research for the season! Now the latest offering from the Adidas F50 range of boots to date.
Nike vapor soccer shoes - 13th February 2012 07:54 - #
I agree. JavaScript-based hashbang URLs are not a good idea for designing web sites. The URLs no longer point to actual content, and this is the problem, because everything depends on JavaScript analyzing the hashbang to retrieve the content, and as you've said, you have to rely on the server to be able to run the code.<a href="http://www.weightlosspills-review.net/">weig ht loss pills review</a>
Will - 13th February 2012 10:20 - #
nwxgiss
kofqrv - 13th February 2012 11:04 - #
zunvaunf
pcnmthao - 13th February 2012 11:04 - #
Will - 13th February 2012 13:43 - #
Really interesting post i like this post because it is very valuable and informative for me and all the readers.Thanks for posting such a nice post.
<a href="hhttp://www.acadenia.com/online-diploma/">On line Diploma</a> | <a href="http://www.acadenia.com/online-high-school-d iploma/">high school diploma online</a>
james smith - 14th February 2012 06:13 - #
james online - 14th February 2012 06:21 - #
jackhope - 15th February 2012 12:27 - #
wlkltbh
fvzbwshs - 17th February 2012 03:30 - #
uymvrv
jcwqkbbc - 17th February 2012 03:30 - #
Just come across your weblog but I can't find any information to read further
SWTOR STRATEGY GUIDE - 18th February 2012 05:48 - #
satish - 18th February 2012 06:02 - #
Jimmy John - 19th February 2012 14:04 - #
free ads - 20th February 2012 10:27 - #
Really nice information, Thank you for sharing this useful information with us.
chicago personal trainer - 20th February 2012 12:06 - #
I have already been browsing on the web above five hours these days, but I never detected any attention-grabbing posting like this.It’s amazing importance to me. I think, if many of webmasters and blog writers produce just right content material like you did, the online world will likely be a lot more useful than any other time. <a title="software akuntansi laporan keuangan Terbaik" href="http://seragamkonveksi.com/software-akuntans i-laporan-keuangan-terbaik.html" >software akuntansi laporan keuangan Terbaik</a>
Software Akuntansi Laporan Keuangan Terbaik - 21st February 2012 01:17 - #
Kimberly - 21st February 2012 06:46 - #
maddy - 21st February 2012 09:14 - #
maddy - 21st February 2012 09:14 - #
Nike Football Boots - 22nd February 2012 01:49 - #
The contract represented by a link was simple here's a string, send it off to a server and the server will figure out what it identifies and send you back a representation. Now it’s along the lines of here’s a string, save the hashbang, send the rest to the server, and rely on being able to run the code the server sends you to use the hashbang to generate the representation. Thanks.
Scottsdale real estate - 22nd February 2012 06:50 - #