Google's offline web apps click into gear

Daily Newsletters

Sign up to ZDNet UK's daily newsletter.

NEWS

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.

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.

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 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.

Post your comment

In order to post a comment you need to be registered and logged in.

You can also log in with Facebook. Log in or create your ZDNet UK account below

  • Login

Will not be displayed with your comment

By signing up for this service, you indicate that you agree to our Terms and Conditions and have read and understood our Privacy Policy. Questions about membership? Find the answers in the Community FAQ

Get ZDNet UK's daily newsletter

Enter your email address to sign up

ZDNet UK Live

Jack Schofield

@Phil at Cloud4 What, Microsoft gets £1,200 per PC and £1,622 per server? Gosh, I'm amazed....

10 minutes ago by Jack Schofield on 6 million wasted licences and £1,200 PCs: welcome to government IT
craigsc

You guys have no idea what is going on at Autonomy. Autonomy could have been a much more profitable organization. The sales operations at Autonomy...

2 hours ago by craigsc on HP cuts 27,000 staff as Autonomy chief Lynch leaves
Moley

How does this impact on dual or multi booting? Seems to me to more or less prohibit this, from Windows 8 anyway. Will Grub 2 recognise Windows 8,...

2 hours ago by Moley on Windows 8 start-up speed forces USB boot workaround
apexwm

I don't understand why there cannot be a slight pause during the boot process so the user can press a key. Many operating systems do this, even if...

3 hours ago by apexwm on Windows 8 start-up speed forces USB boot workaround
Gavin Goodman

You can now buy the Xi3 modular computer in the UK at http://www.ocdistribution.com . This can be bought with the Tand3m software, pricing and...

4 hours ago by Gavin Goodman on CES 2012: Xi3 microSERV3R
Phil at Cloud4

I agree: Mike Lynch can clearly build a business and manage strategy. I suspect the exit of Mike is more likely the end of a planned handover...

7 hours ago by Phil at Cloud4 on HP cuts 27,000 staff as Autonomy chief Lynch leaves
Phil at Cloud4

This is unbeleivable government wastage with only one winner... Microsoft 1 - Tax payer Nil!

7 hours ago by Phil at Cloud4 on 6 million wasted licences and £1,200 PCs: welcome to government IT
Mispam

So what do you do when you can't boot into windows? Why can't I just hold Shift while I power up instead of having to boot into windows and click a...

8 hours ago by Mispam on Windows 8 start-up speed forces USB boot workaround
apexwm

I've also seen that Mac OS X for Intel machines is supposed to run in VirtualBox, which would also be a nice solution. I've never tried it though.

9 hours ago by apexwm on xTreme Triple Booting: Linux, Mac & Windows
dave heasman

What I wonder is why when companies are caught bang to rights in not providing contracted services, people bend over to smear the customers? Surely...

10 hours ago by dave heasman on Virgin throttles broadband for high-speed customers
pjc158

Strange statement from HP regarding Mike Lynch and not capable of scaling a company. Autonomy was a $7bn purchase which started as a small company...

10 hours ago by pjc158 on HP cuts 27,000 staff as Autonomy chief Lynch leaves
lojolondon

Or - possibly, they will destroy business by ensuring people do not invest where there is no return. Another socialist idea, well beyond it's...

13 hours ago by lojolondon on Open Data Institute will act as biz incubator
J.A. Watson

Good stuff Jake, very interesting. Thanks. jw

14 hours ago by J.A. Watson on xTreme Triple Booting: Linux, Mac & Windows
openhgs

"the cost of a second LCD screen is about the same as one day of an office worker's time, so this should soon be recouped in extra productivity."...

15 hours ago by openhgs on Windows 8 could speed multi-monitor uptake
Thomas Gellhaus

I also installed the KDE version; I also will probably try out razorqt since I really haven't had a chance to before. I'm looking forward to the...

1 day ago by Thomas Gellhaus via Facebook on Mageia 2 Released
francisabigail

Acquiring when reinvention/cannibalization is too challenging for a large organization can be an excellent strategy- still, so many mergers stumble...

1 day ago by francisabigail on Ariba buy parks SAP on Oracle's cloud turf
apexwm

All of the feedback regarding using a touch monitor for a desktop PC is right on. Several months ago, we installed a "demo" multitouch all-in-one...

1 day ago by apexwm on Windows 8 could speed multi-monitor uptake
191706

anyone wanting to triple boot *their* own Mac

1 day ago by 191706 on xTreme Triple Booting: Linux, Mac & Windows
SoapyTablet

Cont.. Biggest Bugbear: Win7's stop-animate-go approach to work, you develop a staggered (not in the above alchohol sense of the word) approach to...

1 day ago by SoapyTablet on Windows 8 could speed multi-monitor uptake
SoapyTablet

Ah the joys of Windows 8 Consumer Preview... If Windows 7 was 'Vista with Lipstick', whats Windows 8? Vista with Lipstick, the morning after?...

1 day ago by SoapyTablet on Windows 8 could speed multi-monitor uptake