180 likes | 444 Views
OFFLINE Web Applications Google Gears. Jia Liu jl3032@columbia.edu. 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.
E N D
OFFLINE WebApplicationsGoogleGears Jia Liu jl3032@columbia.edu
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 Company Logo
Architecture Server Browser HTTP Database Text Company Logo
Architecture Install Server Browser Local Server Data base Database Text Company Logo
Architecture Server Browser Local Server Data base Database Text 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 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 Company Logo
Components Local Sever Let web applications interact naturally with your desktop Database Store data locally in a fully-searchable database WorkerPool Run JavaScript in the background to improve performance Company Logo
LocalServer • SpecializedURLCache 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 Company Logo
DataBase • Open source SQLite Database • Simplified SQL Syntax • Full-text Search Company Logo
Workerpool • Time-intensive processes can be run in the background UI stays responsive/browser doesn’t block No warning dialog “Unresponsive Script” Company Logo
Syncing • Globally Unique ID • Timestamps • When Collisions Last one wins Lock/Check out Let user decide Company Logo
Example Company Logo
Example Company Logo
Applications Docs Gmail Google Gears SpreadSheet Calendar Reader Maps 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 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. Company Logo
Thank You ! Jia Liu jl3032@columbia.edu