logo offline web applications google gears jia liu [email protected]

18
LOGO OFFLINE Web Applications Google Gears Jia Liu [email protected]

Post on 20-Dec-2015

225 views

Category:

Documents


4 download

TRANSCRIPT

Page 1: LOGO OFFLINE Web Applications Google Gears Jia Liu jl3032@columbia.edu

LOGO

OFFLINE Web Applications Google Gears

Jia Liu [email protected]

Page 2: LOGO OFFLINE Web Applications Google Gears Jia Liu jl3032@columbia.edu

www.themegallery.com Company Logo

From Online to Offline

Online applications are Great

Offline are also Necessary Internet unavailable? Don’t want the data in the clouds? Response time?

Fill the gaps between online and offline

Page 3: LOGO OFFLINE Web Applications Google Gears Jia Liu jl3032@columbia.edu

www.themegallery.com Company Logo

Browser

Text

Server

Database

HTTP

Architecture

Page 4: LOGO OFFLINE Web Applications Google Gears Jia Liu jl3032@columbia.edu

www.themegallery.com Company Logo

Browser

Text

Server

Database

Install

Architecture

LocalServer

Database

Page 5: LOGO OFFLINE Web Applications Google Gears Jia Liu jl3032@columbia.edu

www.themegallery.com Company Logo

Browser

Text

Server

Database

Architecture

LocalServer

Database

Page 6: LOGO OFFLINE Web Applications Google Gears Jia Liu jl3032@columbia.edu

www.themegallery.com Company Logo

Offline Tools

In the past Dojo Storage, Derby/JavaDB, Zimbra

Today Adobe AIR Google Gears Microsoft Silverlight

Coming Soon FireFox 3 HTML5 Working Draft Client-side database storage

Page 7: LOGO OFFLINE Web Applications Google Gears Jia Liu jl3032@columbia.edu

www.themegallery.com Company Logo

Google Gears

What is Google Gears? Brower-plugin

Open source library http://gears.google.com

Cost Open Source Lightweight installation necessary Application stays completely in the

browser, no extra app/start up

Page 8: LOGO OFFLINE Web Applications Google Gears Jia Liu jl3032@columbia.edu

www.themegallery.com Company Logo

Components

Local SeverLet web applications interact naturally with your desktop

DatabaseStore data locally in a fully-searchable database

WorkerPoolRun JavaScript in the background to improve performance

Page 9: LOGO OFFLINE Web Applications Google Gears Jia Liu jl3032@columbia.edu

www.themegallery.com Company Logo

LocalServer

Specialized URL Cache Requests for URLs in the LocalServer’s cache are

intercepted and served locally from the user’s disk

RecourseStore (Manual Update) ManagedResourceStore (Automatic Update)

Manifest File

Page 10: LOGO OFFLINE Web Applications Google Gears Jia Liu jl3032@columbia.edu

www.themegallery.com Company Logo

DataBase

Open source SQLite Database

Simplified SQL Syntax

Full-text Search

Page 11: LOGO OFFLINE Web Applications Google Gears Jia Liu jl3032@columbia.edu

www.themegallery.com Company Logo

Workerpool

Time-intensive processes can be run in the background

UI stays responsive/browser doesn’t block No warning dialog “Unresponsive Script”

Page 12: LOGO OFFLINE Web Applications Google Gears Jia Liu jl3032@columbia.edu

www.themegallery.com Company Logo

Syncing

Globally Unique ID

Timestamps

When Collisions Last one wins

Lock/Check out Let user decide

Page 13: LOGO OFFLINE Web Applications Google Gears Jia Liu jl3032@columbia.edu

www.themegallery.com Company Logo

Example

Page 14: LOGO OFFLINE Web Applications Google Gears Jia Liu jl3032@columbia.edu

www.themegallery.com Company Logo

Example

Page 15: LOGO OFFLINE Web Applications Google Gears Jia Liu jl3032@columbia.edu

www.themegallery.com Company Logo

Applications

Gmail

Calendar

Maps

SpreadSheet

Reader

Google Gears

Docs

Page 16: LOGO OFFLINE Web Applications Google Gears Jia Liu jl3032@columbia.edu

www.themegallery.com Company Logo

Applications

Gmail, Calendar… Any Web applications that can store data

enough locally to work offline will benefit from it.

Limitations Stock Trading Systems -Online connectivity is an absolute must

Page 17: LOGO OFFLINE Web Applications Google Gears Jia Liu jl3032@columbia.edu

www.themegallery.com Company Logo

CONCLUSION

Google Gears allows Web application to run offline

It opens a lot of doors to developers looking to bridge the narrowing gap between desktop and web-based applications.

Page 18: LOGO OFFLINE Web Applications Google Gears Jia Liu jl3032@columbia.edu

LOGO

Jia Liu [email protected]