Whats New With Gears Brownbag

16
What’s New With Google Gears Brown Bag Ben Lisbakken Brad Neuberg 1 Friday, April 11, 2008

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.

Transcript of Whats New With Gears Brownbag

Page 1: Whats New With Gears Brownbag

What’s New With Google

Gears Brown Bag

Ben LisbakkenBrad Neuberg

1Friday, April 11, 2008

Page 2: Whats New With Gears Brownbag

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

Page 3: Whats New With Gears Brownbag

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

3Friday, April 11, 2008

Page 4: Whats New With Gears Brownbag

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

Page 5: Whats New With Gears Brownbag

Gears: Open Source Update Mechanism for the Web

5Friday, April 11, 2008

Page 6: Whats New With Gears Brownbag

Existing Pieces

6Friday, April 11, 2008

Page 7: Whats New With Gears Brownbag

Google Gears for Mobile

7Friday, April 11, 2008

Page 8: Whats New With Gears Brownbag

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

Page 9: Whats New With Gears Brownbag

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

Page 10: Whats New With Gears Brownbag

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

Page 11: Whats New With Gears Brownbag

11Friday, April 11, 2008

Page 12: Whats New With Gears Brownbag

12Friday, April 11, 2008

Page 13: Whats New With Gears Brownbag

* (XHR can be called from workers)

13Friday, April 11, 2008

Page 14: Whats New With Gears Brownbag

Dojo Storage

14Friday, April 11, 2008

Page 15: Whats New With Gears Brownbag

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

Page 16: Whats New With Gears Brownbag

Location API

16Friday, April 11, 2008