More Gears 7

It has been pretty hard not being able to tell people what I work on. Most of the time that I didn’t say “no comment” I said I was working on the Firefox team here at Google and sometimes I said Gmail. None of these are true as you now know. What I’ve been working on is Google Gears. A plugin/extension that allows you to write applications that work offline.

It has been a very interesting project so far and I expect it to be even more interesting now that we have released it as an open source project.

I’ve heard some people say that this will fail because it is a plugin and people don’t want to install plugins. Well, how many of you have the Adobe Flash plugin installed? Also, my hope is that Firefox, Opera and eventually Safari will support these APIs. We want to make this into an open standard and we are working with Adobe, Mozilla and Opera and you should expect a proposal being sent to WHATWG/W3C some time soon. It will most likely not have exactly the same names for things but I don’t see that as a big issue. Gears has a good model for versioning and I believe people will do things like this:

if (document.executeSql) {
  document.executeSql(dbName, sqlStatement, args);
} else if ( && google.gears) {
  var db = google.gears.factory.create('database', '1.0'); // no beta here :-);
  db.execute(sqlStatement, args);
} else {

Also we’ve heard people say that until IE supports these APIs it will not take off. IE before version 7 did not support XMLHttpRequest. You had to use a plugin. I think the same will happen with Gears and eventually MS will catch up to the leading browsers.

The current release is a beta and it has some rough edges. For example we haven’t yet added the quota system so any application that you allow can theoretically fill up your hard drive. During the beta we plan to keep the security dialog for this reason. Once we got the qouta system in place we expect that the dialog will only come up when an application has reached its quota.

  • Dimitri Glazkov

    Fail or no fail — I already have a perfect use case, and I plan to start playing with this as soon as I have even a smidget of time.

  • Pingback: Google Gears - Offline Functionality for Web Apps » Bin-Blog()

  • David Håsäther

    Nice to finally see what you’ve been working on. Just watched Aaron’s presentation[1], and it looks really cool.

    Congrats :-)


  • Pingback: ArtLung Blog » Daily Links()

  • nitro2k01

    I watched the presentation, and it looks cool. (Although I have some opinions about the way some things are done, but that’s something I’ll have to post on the mailing list)
    But one thing I really wonder about: Why is executeSql a moethod of document?
    Also, if you can answer, are there any news about Opera compatibility?

  • Site Ekle

    Nice to finally see what you’ve been working on. Just watched Aaron’s presentation[1], and it looks really cool.

  • Jared Nuzzolillo

    Hey Erik. :-) Congrats on releasing a great tool.

    Send me an email sometime so I know you’re alive. I wanted to chat with you.


    ps. Telle Emil hello