Confirmed users
483
edits
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
= Overview = | = Overview = | ||
At a high level, the Firefox OS in the Cloud project aims to move the data generated and managed by Firefox OS devices to the cloud allowing users to access a synchronized version of this data at any time initially from any Firefox product and potentially from any web enabled device. | At a high level, the Firefox OS in the Cloud project aims to move the data generated and managed by Firefox OS devices to the cloud allowing users to access a synchronized version of this data at any time initially from any Firefox product and potentially from any web enabled device. | ||
Line 89: | Line 88: | ||
One of the issues that we currently have with DataStore is that we potentially create several copies of the same data across Firefox OS. Ideally, we should not require to do the same with the solution that we choose for the client side of this system. So we should either have a solution that allow us to keep using the same data sources that we use currently but somehow adding the sync capabilities to it or a way to migrate the existing data to a new data source with already sync enabled capabilities. We will certainly need to add meta information along with the existing data that we have in our apps, but this data should have an unique source. | One of the issues that we currently have with DataStore is that we potentially create several copies of the same data across Firefox OS. Ideally, we should not require to do the same with the solution that we choose for the client side of this system. So we should either have a solution that allow us to keep using the same data sources that we use currently but somehow adding the sync capabilities to it or a way to migrate the existing data to a new data source with already sync enabled capabilities. We will certainly need to add meta information along with the existing data that we have in our apps, but this data should have an unique source. | ||
=== Proposals === | === Proposals for in-app data === | ||
==== Generic storage ==== | ==== Generic storage and storage provider proxy==== | ||
The Cloud Services team has been working on a generic storage service to allow 3rd party apps to store and synchronize arbitrary data, attached to a Firefox account. They've also supported the idea of having an intermediate service (could be part of the previous one) that would act as a proxy for different storage providers (one of them could be the Mozilla generic storage service mentioned before). | |||
With that kind of services we could have a high level architecture like the following: | |||
[[File:FirefoxCloudHighLevelArch.png]] | |||
The code and documentation for this generic storage can be found at: | |||
* https://github.com/mozilla-services/cliquet | * https://github.com/mozilla-services/cliquet | ||
* https://github.com/mozilla-services/kinto | * https://github.com/mozilla-services/kinto | ||
==== Universal Storage API and Virtual Storage Interface ==== | ==== Universal Storage API and Virtual Storage Interface ==== |