ZDNet UK


Skip to Main Content

ZDNet.co.uk - Winner of Best Business Website 2007
  1. Home
  2. News
  3. Blogs
  4. Reviews
  5. Prices
  6. Resources
  7. Community
  8. My ZDNet

 

ZDNet UK RSS Feeds


IT Jobs

Online business Toolkit

Google's offline web apps click into gear

Martin LaMonica CNET News.com

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 friendly Print with Dell

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:




Related Jobs

Web Project Manager/ Web Services Architect 150 -200 12month Contract

Knowledge of, JavaScript, AJAX, Silverlight; Familiarity with scripting languages such as Power Shell, Python or Perl; Familiar with the MS ...

*WOW*! PHP Developer, Gloucester Circa 35,000

You will need a solid track record of commercial PHP (Ideally OO) development with experience of MySQL, CSS and Javascript working to W3C ...

C# SYSTEMS ENGINEER - FINANCIAL INDUSTRY - LONDON - 35-45K

Skills in ASP.Net, C#, ADO.Net, SQL Server 2000, SQL Server 2005, XML, XSD, XSLT, Web Services, JavaScript and AJAX are essential. An expanding ...

Sentry Posts Blog

The vPhone: Why Visa Should Go Mobile

The vPhone: Why Visa Should Go Mobile Author: Eric Everson, Founder MyMobiSafe.com With all of the success of Apple’s iPhone, there is a growing case to support a company like Visa... More

Post a comment

The Google Apple Merger: Fantasy or Fu...

The Google Apple Merger: Fantasy or Future? Author: Eric Everson, Founder MyMobiSafe.com Market research suggests that Microsoft controls upwards of 90% of the respective computer-based... More

1 comment

Trades Unions against ID Cards

The Trades Union Congress (TUC) has backed up airport workers protesting against ID cards, the Financial Times reports. In a letter to Home Secretary Jacqui Smith, the TUC said it... More

Post a comment

Featured Talkback

I wonder, who needs .asia domain? I cannot imagine, what would be useful for Microsoft.asia? Toyota.asia? Then let's register .europe (if .eu is too short). Or perhaps Microsoft.southamerica, Dell.australiaandnewzealand, Coca-Cola.africa... Sound funny? Then why not just use the global and country domains? Or perhaps it is time to drop the domains at all?

By: LadyRoot

Read full story:
Businesses advised to register .asia domains