1 / 18

OFFLINE Web Applications Google Gears

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.

Download Presentation

OFFLINE Web Applications Google Gears

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. OFFLINE WebApplicationsGoogleGears Jia Liu jl3032@columbia.edu

  2. 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

  3. Architecture Server Browser HTTP Database Text Company Logo

  4. Architecture Install Server Browser Local Server Data base Database Text Company Logo

  5. Architecture Server Browser Local Server Data base Database Text Company Logo

  6. 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

  7. 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

  8. 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

  9. 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

  10. DataBase • Open source SQLite Database • Simplified SQL Syntax • Full-text Search Company Logo

  11. Workerpool • Time-intensive processes can be run in the background UI stays responsive/browser doesn’t block No warning dialog “Unresponsive Script” Company Logo

  12. Syncing • Globally Unique ID • Timestamps • When Collisions Last one wins Lock/Check out Let user decide Company Logo

  13. Example Company Logo

  14. Example Company Logo

  15. Applications Docs Gmail Google Gears SpreadSheet Calendar Reader Maps Company Logo

  16. 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

  17. 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

  18. Thank You ! Jia Liu jl3032@columbia.edu

More Related