Gaia/Contacts/Data Refactor: Difference between revisions

Jump to navigation Jump to search
m
m (Initial population)
Line 45: Line 45:
==== Contact Providers ====
==== Contact Providers ====
We want a generic mechanism for apps to share contact information and so became Contact Providers. An app that wants to share each contact information should:
We want a generic mechanism for apps to share contact information and so became Contact Providers. An app that wants to share each contact information should:
* Be the owner of their own information (CRUD). Contact Providers are the only responsible for adding, updating and removing contacts on their own stores. The Global Contact Data Store won't have write access to other provider's store.
* Be the owner of their own information (CRUD). Contact Providers are the only ones responsible for adding, updating and removing contacts on their own stores. The Global Contact Data Store won't have write access to other provider's store.
* Provide a readonly datastore named '''''contacts''''' with the information it shares.
* Provide a readonly datastore named '''''contacts''''' with the information it shares.
* That datastore will have a unique index per contact as key and a *MozContact* object as value.
* That datastore will have a unique index per contact as key and a *MozContact* object as value.
Confirmed users
483

edits

Navigation menu