Whats New With Gears Brownbag

Preview:

DESCRIPTION

Brad Neuberg gave a brownbag discussion at Google on what's new with Gears. Gears is an open source plugin that hooks into contemporary browsers and which exposes new functionality, such as a local database, JavaScript threads, offline, secure cross-domain mashups, client-side search, and more.

Citation preview

What’s New With Google

Gears Brown Bag

Ben LisbakkenBrad Neuberg

1Friday, April 11, 2008

Gears is more than offline...2Friday, April 11, 2008

The Web is the platform of today, and of the future

3Friday, April 11, 2008

It takes too long to update the Web4Friday, April 11, 2008

Gears: Open Source Update Mechanism for the Web

5Friday, April 11, 2008

Existing Pieces

6Friday, April 11, 2008

Google Gears for Mobile

7Friday, April 11, 2008

DesktopShortcuts

var desktop = google.gears.factory.create('beta.desktop');desktop.createShortcut("Test Application", "http://www.test.com/index.html", {"16x16": "http://www.test.com/icon16x16.png", "32x32": "http://www.test.com/icon32x32.png", "48x48": "http://www.test.com/icon48x48.png", "128x128": "http://www.test.com/icon128x128.png"});

8Friday, April 11, 2008

Cross Domain Web Services

• Future of web is mashups

• Calling services (and embedding components) from across the web

• Currently insecure (cookie issues, XSS attacks, etc.)

• Third party services can hijack page

• Hard, buggy, and slow

9Friday, April 11, 2008

Cross Domain Workers

• Web-sites can expose APIs callable by third-parties

• Works by messaging between sites

• Gears mediates communication inside the browser

• No cookies are sent

10Friday, April 11, 2008

11Friday, April 11, 2008

12Friday, April 11, 2008

* (XHR can be called from workers)

13Friday, April 11, 2008

Dojo Storage

14Friday, April 11, 2008

PubTools

• Super easy way to take static content offline in 5 minutes

• Just link in a JavaScript library and add a little bit of HTML to page

• Example

• Get the bookmarklet

15Friday, April 11, 2008

Location API

16Friday, April 11, 2008