Firefox OS/Cloud Storage: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 15: Line 15:
Document based API is used to help web apps save/operate their application data, such as indexedDB, on the cloud storage.
Document based API is used to help web apps save/operate their application data, such as indexedDB, on the cloud storage.
*Filesystem based API
*Filesystem based API
Filesystem based API supports web apps to access cloud storage with filesystem operations, such as file create, delete, open, read, write, close, etc.
Filesystem based API supports web apps to access cloud storage with filesystem operations, such as file create, delete, open, read, write, close, etc.<br />
 
Reference for Filesystem based API: [http://www.w3.org/TR/file-system-api/ W3C FileAPI]
[https://github.com/filerjs/filer#providers filer]
[[WebAPI/DeviceStorageAPI|DeviceStorageAPI]]
== Virtual Storage Interface ==
== Virtual Storage Interface ==
Virtual Storage Interface is plugin system for cloud storage framework to cooperate with different cloud storage.
Virtual Storage Interface is plugin system for cloud storage framework to cooperate with different cloud storage.
Line 29: Line 31:
==== Drawbacks ====
==== Drawbacks ====
*DeviceStorageAPI is not a standard API for all browser.
*DeviceStorageAPI is not a standard API for all browser.
*FUSE is not supported in all platform.
*FUSE is not supported in all platforms.
   
   
=== JS library solution ===
=== JS library solution ===
33

edits