zoukankan      html  css  js  c++  java
  • 使用 Google Gears 开发离线应用

    Google 在 2007 年 5 月发布了 Gears,它是一种为生成离线网络应用软件而开发的开源技术,Google 希望能在广大开发者的帮助下测试完善功能和发现产品的局限性。简单地说,它是 Google 推出的开源的浏览器插件,而开发者围绕着这个插件进行开发。2008 年 3 月,Google 推出了移动版 Gears,应用进程开始蔓延。

    Google的官方网站:http://code.google.com/intl/zh-CN/apis/gears/

    image

    一个不错的学习站点:(中文的)https://www6.software.ibm.com/developerworks/cn/education/web/wa-googlegears/index.html

    image

    文件缓存位置

    Location of cached files

    The LocalServer stores files that your application captures in a location determined by the browser and platform.

    Windows Vista - Internet Explorer

    Location: {FOLDERID_LocalAppDataLow}\Google\Google Gears for Internet Explorer
    Example: C:\Users\Bob\AppData\LocalLow\Google\Google Gears for Internet Explorer

    Windows Vista - Firefox - Files are stored in the user local profile directory.

    Location: C:\Users\<username>\AppData\Local\Mozilla\Firefox\Profiles\{profile}.default\Google Gears for Firefox
    Example: C:\Users\Bob\AppData\Local\Mozilla\Firefox\Profiles\uelib44s.default\Google Gears for Firefox

    Windows Vista - Chrome - Files are stored in the user local profile directory.

    Location: C:\Users\<username>\AppData\Local\Google\Chrome\User Data\Default\Plugin Data\Google Gears
    Example: C:\Users\Bob\AppData\Local\Google\Chrome\User Data\Default\Plugin Data\Google Gears

    Windows XP - Internet Explorer - Files are stored in the user local profile directory.

    Location: C:\Documents and Settings\<username>\Local Settings\Application Data\Google\Google Gears for Internet Explorer
    Example: C:\Documents and Settings\Bob\Local Settings\Application Data\Google\Google Gears for Internet Explorer

    Windows XP - Firefox - Files are stored in the user local profile directory.

    Location: C:\Documents and Settings\<username>\Local Settings\Application Data\Mozilla\Firefox\Profiles\{profile}\Google Gears for Firefox
    Example: C:\Documents and Settings\Bob\Local Settings\Application Data\Mozilla\Firefox\Profiles\uelib44s.default\Google Gears for Firefox

    Windows XP - Chrome - Files are stored in the user local profile directory.

    Location: C:\Documents and Settings\<username>\Local Settings\Application Data\Google\Chrome\User Data\Default\Plugin Data\Google Gears
    Example: C:\Documents and Settings\Bob\Local Settings\Application Data\Google\Chrome\User Data\Default\Plugin Data\Google Gears

    Mac OS X - Safari - Files are stored in the user Application Support directory.

    Location: ~/Library/Application Support/Google/Google Gears for Safari
    Example: /Users/Bob/Library/Application Support/Google/Google Gears for Safari

    Mac OS X - Firefox - Files are stored in the user local profile directory.

    Location: Users/<username>/Library/Caches/Firefox/Profiles/{profile}.default/Google Gears for Firefox
    Example: Users/Bob/Library/Caches/Firefox/Profiles/08ywpi3q.default/Google Gears for Firefox

    Linux - Firefox - Files are stored in the user home directory.

    Location: ~bob/.mozilla/firefox/<firefox's profile id>/Google Gears for Firefox
    Example: ~bob/.mozilla/firefox/08ywpi3q.default/Google Gears for Firefox

  • 相关阅读:
    05 | 深入浅出索引(下)
    04 | 深入浅出索引(上)
    03 | 事务隔离:为什么你改了我还看不见?
    02 | 日志系统:一条SQL更新语句是如何执行的?
    01 | 基础架构:一条SQL查询语句是如何执行的?
    orm的惰性机制
    简易的迁移
    rails 中 preload、includes、Eager load、Joins 的区别
    换种方式去分页
    Scala function programming
  • 原文地址:https://www.cnblogs.com/chenxizhang/p/1472319.html
Copyright © 2011-2022 走看看