Firefox OS/Cloud Storage: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 32: Line 32:
* DeviceStorageAPI is not a standard API for all browser.
* DeviceStorageAPI is not a standard API for all browser.
* FUSE is not supported in all platforms.
* FUSE is not supported in all platforms.
==== Prototype ====
* [https://github.com/MozCloudStorage MozCloudStorage github repo]
* CloudStorageServiceAPI (this is only for prototype)
CloudStorageServiceAPI is a WebAPI for enabling/disabling cloud storage. <br />
enum CloudStorageType {
  "Dummy",
  "Dropbox",
}; <br />
Promise<boolean> enable(DOMString cloudName, CloudStorageType cloudType, DOMString accessToken)<br />
Promise<void> disable(DOMString cloudName)<br />
=== JS library solution ===
=== JS library solution ===
[[File:Cloud Storage JS solution.png]]<br />
==== Benefits ====
==== Benefits ====
==== Drawbacks ====
==== Drawbacks ====
Line 45: Line 53:
* '''Offline support''' - Any requested file content/meta will be stored in cache store, so the cache store is a subset of cloud storage. Cache system still can provide cached file content from cache store even no network connection. Considering error handling for new data/meta request is important in the case of no network connection.
* '''Offline support''' - Any requested file content/meta will be stored in cache store, so the cache store is a subset of cloud storage. Cache system still can provide cached file content from cache store even no network connection. Considering error handling for new data/meta request is important in the case of no network connection.
* '''Security issues'''
* '''Security issues'''
 
=== Issue Study ===
[https://docs.google.com/presentation/d/1gB41Z6uQQO9C51Ns2aAm2A7vJox0AYt5tz2vyDC0xuo/edit#slide=id.p Cache Architecture study]
= Related Use cases =
= Related Use cases =
== Play media files saved on cloud ==
== Play media files saved on cloud ==
33

edits

Navigation menu