The Artima Developer Community
Sponsored Link

Python Buzz Forum
Breaking the Web We Have

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Ian Bicking

Posts: 900
Nickname: ianb
Registered: Apr, 2003

Ian Bicking is a freelance programmer
Breaking the Web We Have Posted: May 17, 2005 4:47 PM
Reply to this message Reply

This post originated from an RSS feed registered with Python Buzz by Ian Bicking.
Original Post: Breaking the Web We Have
Feed Title: Ian Bicking
Feed URL: http://www.ianbicking.org/feeds/atom.xml
Feed Description: Thoughts on Python and Programming.
Latest Python Buzz Posts
Latest Python Buzz Posts by Ian Bicking
Latest Posts From Ian Bicking

Advertisement

So, the web (or at least a few people who are encountering early adoptors) are up in arms about Google Web Accelerator. The quick summary: GWA follows links for you, including links like "delete this item", including that it ignores Javascript confirmation dialogs.

Of course, REST people are going to say you shouldn't be causing side effects in response to GET queries, that this is a learning experience. What I learn: some people pay too much attention to HTTP and not enough attention to The Web That We Have. Sure, GET shouldn't have side effects, but Simon Willison correctly notes that "shouldn't" doesn't mean "can't", and so it's entirely reasonable and legal to do so. Mozilla has prefetching, but strictly in an opt-in manner (<link rel="prefetch"> and a few other cases); this works fine. Frankly I don't know how Google could be so stupid; this issue occurred to me the moment I first heard about prefetching, long before the GWA. Don't they have any web application developers at Google? I can only hope they do the right thing and retract the GWA immediately, and use whatever system they have to disable this feature in all currently deployed instances.

For anyone who happens to be using Apache, you can use this to disable the GWA on your site:

RewriteEngine on
RewriteCond %{HTTP_X_MOZ} prefetch
RewriteRule .* - [F]

Hopefully this will only be necessary transitionally.

The real issue is that HTML and web browsers have not supported POST well, and web application developers have used GET because of UI issues. If anchor tags had a method="post" attribute, this wouldn't be a problem. But they don't, and so that's why we are where we are. It's not a Hard Problem, but the W3C gave up on HTML a long time ago, it seems, and so they gave up on being relevant. The WHAT-WG has been trying to address these issues, but they are relatively new. I think they are doing important things, but you can't expect any web developers to have used anything they are producing yet. The Web Application Spec does allow for more flexible arrangement of forms, including (effectively) nested forms. Though it doesn't make the <a> tag any richer, which is a shame.

The fact is: the Google Web Accelerator breaks the web that exists right now. Therefore the GWA is broken. It doesn't matter who is more right, who kept with the spec, or even if current practices aren't entirely safe. When the GWA breaks things that didn't break before, I'm going to blame the GWA. And I'm going to blame Google. So they better get their ass in gear and fix this quick.

Read: Breaking the Web We Have

Topic: How to speak Hungarian (notation - re: Spolsky post) Previous Topic   Next Topic Topic: What I'd like to see from Vodafone (or Telecom) in NZ

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use