Firefox OS/Cloud Storage: Difference between revisions

Update Planning Phases
(Update Overall Architecture)
(Update Planning Phases)
Line 11: Line 11:
[[File:PlanningPhases.png|550px]]<br/>
[[File:PlanningPhases.png|550px]]<br/>
* '''Phase 1'''
* '''Phase 1'''
We will implement a read-only storage for the ready-made app to read the data via Device Storage API. For example, Video app can play a video in Dropbox even the file size is larger than internal storage without any app modification.<br/>
** We will implement a read-only storage for the ready-made app to read the data via Device Storage API. For example, Video app can play a video in Dropbox even the file size is larger than internal storage without any app modification.
* '''Phase 2'''
* '''Phase 2'''
Each user might have more than one storage account, so multi-storage support is an important feature for user to manipulate their storage more flexible.<br/>
** Each user might have more than one storage account, so multi-storage support is an important feature for user to manipulate their storage more flexible.
Second, offline Support is for using storages even there is no network available (, and we can leverage Cache mechanism to implement this feature.)<br/>
** Second, offline Support is for using storages even there is no network available (, and we can leverage Cache mechanism to implement this feature.)
From the perspective of storage provider, Flexible Storage Module is an easy way to install or update the storage plugin for 3rd party storage provider like Dropbox, Box.net, etc.<br/>
** From the perspective of storage provider, Flexible Storage Module is an easy way to install or update the storage plugin for 3rd party storage provider like Dropbox, Box.net, etc.
Multi Storage support will be handled by Account management. 3rd-party Storage plugin and Virtual Storage Interface are the key components to implement Flexible Storage Module.<br/>
** Multi Storage support will be handled by Account management. 3rd-party Storage plugin and Virtual Storage Interface are the key components to implement Flexible Storage Module.
* '''Phase 3'''
* '''Phase 3'''
Read-Write support, just like its literal meaning, files can be read or written. Read-Write feature is our last mile to achieve our final destination, and Sync Mechanism should handle all possible conflict when any file is changed from different clients.<br/>
** Read-Write support, just like its literal meaning, files can be read or written. Read-Write feature is our last mile to achieve our final destination, and Sync Mechanism should handle all possible conflict when any file is changed from different clients.


= Cloud Storage Framework =
= Cloud Storage Framework =
30

edits