Advertisement
Promo

Online business Toolkit

Google's offline web apps click into gear

Martin LaMonica CNET News

Published: 31 May 2007 08:26 BST

  • Email
  • Trackback
  • Clip Link
  • Print friendly
  • Post Comment

Google engineers have enabled what internet surfers for years have yearned for — web applications that work offline.

The search giant on Wednesday launched Google Gears, a browser plug-in that will let people run web applications when they're connected to the internet or not.

The company released the source code for the Google Gears software in conjunction with Google Developer Day, a day-long conference in 10 locations.

Competition

Blogger at Large competition
Blogger at Large

The deadline's fast approaching on our contest to win a trip to San Francisco and a Centrino Pro laptop to blog from the Intel Developer Forum. To enter, just start posting entries to our On the Road group blog.

Read more +

The goal of Google Gears is to create a single, standardised way to add offline capabilities to web applications, said Linus Upson, engineering director at Google.

The initial code is aimed at JavaScript developers who write Ajax-style web applications. It runs on Internet Explorer on Windows; Firefox on Windows, Mac OS and Linux; and on the Safari Mac OS browser.

Google expects to have a consumer-ready release of Google Gears, which will be under 1MB in size, "within months". It also expects to submit the code to a standards body so that it will eventually be built into all standards-compliant browsers, Upson said.

"It's been a long time since the web has gained new fundamental capabilities. I think it's been about 10 years," said Upson. One of the key capabilities of Ajax development — XMLHttpRequest — came out in 1998 and took years to catch on, in part because of applications such as Google Maps.

Google engineers took on the task of bringing offline access to web browsers because customers of its hosted web applications complained about not being able to work when disconnected, Upson said.

"One of the reasons we're doing Gears is that developers here at Google have really pushed the envelope on what can be done in the browser so engineers are hitting barriers harder and faster," he said.

The first application to have offline access through Google Gears is Google Readers, the company's RSS reader. Once people install the browser plug-in, they can read RSS content when they're offline and synchronise with the RSS feed provider when they get back online.

As part of the announcement, Google said Google Gears has been endorsed by the Mozilla Foundation, makers of the open-source Firefox browser, as well as Flash developer Adobe Systems and Opera Software, which makes the Opera browser.

Under the covers
By releasing the Google Gear code, the company hopes to get feedback from developers before releasing a consumer plug-in.

The software itself has three components — a local web server which runs in the browser, the open-source database SQLite for storage, and browser extensions that allow multiple JavaScript jobs to run in parallel.

With that architecture, end users will be able to run web applications even if they have flaky network connections or if the web server they are accessing is bogged down. Having a browser capable of running multiple JavaScript scripts, or threads, means that the browser is less likely to get locked up.

"What we wanted to enable was to make applications that essentially run off local data even when you're connected to the network, because defining or detecting that [connection state] is very hard," said Upson.

The local SQLite database, while small in size, is capable of saving gigabytes of data, although Google intends to set up Google Gears so web application providers have to ask permission from users to store data locally.

Google engineers have already started work on adding full-text searching to SQLite, Upson said.

Other companies have taken on the challenge of making web applications run offline before but there still lacks a generic, widely used method.

  • Email
  • Trackback
  • Clip Link
  • Print friendlyPrint with EPSON

Did you find this article useful?
25 out of 25 people found this useful


Full Talkback thread

0 comments

Company/Topic Alerts

Create a new alert from the list below:




Sentry Posts Blog

Authentication risks all too human

Risks to successful online banking identification and authentication using smartcards involve a mixture of human and technological factors, according to the European Network and Information... More

1 comment

Opera censors Chinese content

Opera has updated the Chinese version of its mobile browser to stop users accessing restricted content. Opera Mini was updated on Friday from an international to a Chinese version,... More

2 comments

Symantec website breached

Security company Symantec has said that one of its websites was successfully breached. Romanian security researcher 'Unu' posted details of the breach in a blog post on Monday. Unu... More

Post a comment

Video icon

Video

Google Chrome

Roundup: Full coverage of Google Chrome

The search giant has launched a beta of its own open-source browser, sending a clear challenge to Microsoft in the way it lets users work with applications More

Blog: Google Chrome has Microsoft's code inside, says MS manager

And furthermore, he says, that's a good thing... More

Blog: Google Chrome — nine things we've found since launch

Google must be very happy with the coverage Chrome has gathered. But it's not all good news... More


Skip Sub Navigation Links to CNET Brand Links

Help

Become part of the ZDNet community.

Newsletters