Google Gears 數據庫的存儲位置

    繼adobe、微軟、firefox之後,google也終於推出了自己的離線程序設計環境:google gears。這是一個可以讓web程序離線儲存數據,並且離線運行的環境。比如或許gmail以後可以上線後將郵件下載到本地,離線,回覆後再上線統一發送。這樣的環境讓web程序邁出了新的一步,桌面與web終將融合。
    而第一個應用gears技術的將是google自家的google reader。google會爲其配備一個一個綠色的“下載到本地”按鈕,點擊後就能將當前未讀的feed下載到本地,之後不管你離線還是什麼的,均能隨意閱讀你的feed了。
    google gears提供了三個模塊:一個本地服務器,用來存儲和讀取離線程序;一個小型數據庫,用來儲存本地數據;一個工作池,用來讓開發者將本地數據與服務器端同步。 

 

至於數據的存儲位置

具體可以參閱:
http://code.google.com/apis/gears/gears_faq.html#whereAreFiles

Windows Vista – Internet Explorer
Location: {FOLDERID_LocalAppDataLow}/Google/Gears for Internet Explorer
Example: C:/Users/Bob/AppData/LocalLow/Google/Gears for Internet Explorer


Windows Vista – Firefox – Files are stored in the user local profile directory.
Location: C:/Users//AppData/Local/Mozilla/Firefox/Profiles/{profile}.default/Gears for Firefox
Example: C:/Users/Bob/AppData/Local/Mozilla/Firefox/Profiles/uelib44s.default/Gears for Firefox

 

========
Windows XP – Internet Explorer – Files are stored in the user local profile directory.
Location: C:/Documents and Settings//Local Settings/Application Data/Google/Gears for Internet Explorer
Example: C:/Documents and Settings/Bob/Local Settings/Application Data/Google/Gears for Internet Explorer


Windows XP – Firefox – Files are stored in the user local profile directory.
Location: C:/Documents and Settings//Local Settings/Application Data/Mozilla/Firefox/Profiles/{profile}/Gears for Firefox
Example: C:/Documents and Settings/Bob/Local Settings/Application Data/Mozilla/Firefox/Profiles/uelib44s.default/Gears for Firefox 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章