offline web applications google gears
DESCRIPTION
OFFLINE Web Applications Google Gears. Jia Liu [email protected]. 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. Architecture. - PowerPoint PPT PresentationTRANSCRIPT
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
www.themegallery.com Company Logo
Browser
Text
Server
Database
HTTP
Architecture
www.themegallery.com Company Logo
Browser
Text
Server
Database
Install
Architecture
LocalServer
Database
www.themegallery.com Company Logo
Browser
Text
Server
Database
Architecture
LocalServer
Database
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
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
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
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
www.themegallery.com Company Logo
DataBase
Open source SQLite Database
Simplified SQL Syntax
Full-text Search
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”
www.themegallery.com Company Logo
Syncing
Globally Unique ID
Timestamps
When Collisions Last one wins
Lock/Check out Let user decide
www.themegallery.com Company Logo
Example
www.themegallery.com Company Logo
Example
www.themegallery.com Company Logo
Applications
Gmail
Calendar
Maps
SpreadSheet
Reader
Google Gears
Docs
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
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.
LOGO
Jia Liu [email protected]