Thursday, April 10th, 2008

Gears and Web Standards

Category: Gears, Standards

Aaron Boodman, co-lead of the Gears team, has written a very thoughtful post on how Gears relates to various Web standards. My analogy was that of a zipper bringing things together:

Back to Aaron’s post which I couldn’t say any better, so I put here for ease of browsing:

Gears is about more than just offline web applications. For example, we recently added desktop shortcut functionality, and we’re working on resumable uploads, a geolocation API, and lots more fun things for the future.

We’ve received some questions recently about how all this relates to web standards, such as HTML5 and those proposed by the W3C. It seems like some people are afraid Gears will try to compete with the web.

Let us put those fears to rest right now: on the Gears team we loves us some web standards. Some of us were web developers stuck in the crossfire of the browser wars, and we deeply understand standards have played a key role in the productivity and creativity of the web over the past 10 years.

We have no desire to create a parallel platform and compete with the web. Anyway, that would be crazy. The web is an unstoppable force of nature. Competing with it would be like entering a shouting match with the wind: you can’t win, and you look pretty silly trying.

Instead, Gears aims to bring emerging web standards to as many devices as possible, as quickly as possible.

Some History

The Gears project started because a group of developers at Google were frustrated by the slow march of web browsers. Competition and standards were producing fantastic results, but it took a long time to get implementations on every browser. In some cases, we still don’t have compatible implementations, years after the standards were finalized. Our first project was to implement APIs that would make offline web applications possible.

Currently, the Gears Database and LocalServer modules are not fully compatible with the HTML5 proposals for the same functionality. This is only because those specs were written after Gears was released, and not because of any desire to be different. In fact, we were involved in the design of both HTML5 specs, and we are currently implementing the proposal for database access.

Going Forward

In many ways, Gears is like a browser without any UI. And just like other browsers, Gears will implement existing standards and rally for changes and additions where they seem needed. For example, we recently proposed our geolocation API work to the W3C WebAPI group.

There are three important differences between Gears and other browsers, however:

  1. Improvements to Gears can be used by developers immediately. Gears is available today on Firefox (for Windows, OS X, and Linux), IE, and IE Mobile. Implementations for more browsers and platforms are in progress. Developers no longer have to wait for every browser to implement new web standards before they can use them, they only have to wait for them to be available on Gears.
  2. Most browser vendors have two groups of customers: users and developers. User-facing features typically get more attention than developer-facing APIs, for a variety of reasons. But with Gears, developers are the only customers. We can focus completely on creating the best possible platform for web development.
  3. Gears is an implementation of web standards that lives inside another browser. For example, the HTML5 Database API might be available to developers through both the google.gears object and the traditional window object. This is OK, and in some ways a good thing. Developers will be able to mix and match the pieces of Gears and native browser implementations that work best.

The Pitch

By implementing emerging web standards, Gears is influencing what the web of tomorrow will look and act like. And since Gears is an open source project, anyone can contribute.

Get involved. You don’t have to be able to code in C++. All that’s needed is some free time and the desire to push the web forward.

Posted by Dion Almaer at 9:03 am

3.8 rating from 8 votes


Comments feed TrackBack URI

Is there meant to be some spam links half way through this?

Comment by dave1010 — April 10, 2008

Heh, looks like you guys got hit by something.

Comment by Jon Hartmann — April 10, 2008

Maybe it’s a new marketing technique, disguising spam links in otherwise perfectly serious posts :-)

Seriously speaking, before jumping on the Gears bandwagon I’d like to know how many people (normal guys, not geeks) got it installed in their browser. I mean, they are two very different beasts, but if I code for Flash I know that my code will work in basically every browser. Instead, how many people will turn down my Gears code because they don’t want to install yet another plugin, maybe one they didn’t even hear about?

I’d appreciate some figures from the Google team and I’d love to read about a large installation base.

A part from that, I’m happy to learn that HTML5 and Gears will converge. It seems it’s going to be like the current Javascript libraries, that augment the browsers functionalities and hide most of their differencies.

Comment by pmontrasio — April 10, 2008

If I had to guess, I’d say that the article rating combined with the inconveniently placed ads would lead to a conclusion that there’s a SQL injection vulnerability in the article rating system. I could be wrong, but it’s my first instinct.

Comment by Trevor — April 10, 2008

Time to patch your WordPress, change passwords, etc.

Comment by Joe Grossberg — April 10, 2008

Need offline with AND without Gears ? Try Sweetch :

Comment by jbboisseau — April 10, 2008

But as the zipper goes from the past to the future, it is actually pulling them apart. Unless this is some kind of alien zipper that travels backwards through time… a time lord zipper?

Comment by Matt — April 10, 2008

@jbboisseau: rofl – good point.

Yeah, looks to be an issue with the rating system. a rating of -infinity cant be right!

Comment by danielskinner — April 10, 2008

Leave a comment

You must be logged in to post a comment.