Google Gears

Google Gears

Google Gears javascript libraries transparently create and update a local database. Developers simply execute SQL against a local database. Google Gears’ database module takes care of prompting the user for permission, creating the database, and executing the SQL. Google Gears also provides a local server module to cache web content and then serve it locally from the user’s disk. See The Google Gears API Developer’s Guide for details.

Simple Implementation, Complex Problem

The power of SQL calls to a lightweight, transparent, local database combined with ability to server http content locally make it appealing to dive into offline-enabling our web-apps. And Google Gears is open source to boot!

Data synchronization can become a very complex problem. Considerations for conflicts and concurrent updates must be made. Each operation must be tracked and timestamped for proper synchronization to occur.

Still, I predict that robust synchronization libraries for Google Gears will be developed. Google Gears has just been announced and is in “developer beta” now, which means it is intended for developers to start looking at and working with. Though it is not yet intended for production use, Google is using it in their feed reader product from Google Labs.

One comment

  1. I totally agree, I think Gears will be a major development in making Web Applications robust and easy to develop.

    I’m planning in closely following it’s further development but what I can see it looks like it will be rather interesting.