Gaia/Contacts/Data Refactor: Difference between revisions

Jump to navigation Jump to search
Line 1: Line 1:
= Current situation =
= Current situation =
The current Contacts app has been growing with time around the [https://wiki.mozilla.org/WebAPI/ContactsAPI MozContacts API], started like a simple application but has been adding more and more requirements.
The current Contacts app has been growing up supported by the [https://wiki.mozilla.org/WebAPI/ContactsAPI MozContacts API]. It started like a simple application but has been adding more and more requirements.


It was not just the only FirefoxOS app using this API, so MozContacts end up trying to support several requirements from different applications, and at the end of the day what we have is a store for vCard objects, which limited search capabilities.
The MozContacts API is being used by several applications with different requirements and the final result is a store for vCard objects with limited search capabilities.


With the inclusion of external contacts sources like Facebook, Gmail, Hotmail, vCard from SDCard, bluetooth and so on, we have been extending the use of the API via hacks and dark techniques.
With the inclusion of external contacts sources like Facebook, Gmail, Hotmail, vCard from SDCard, Bluetooth and so on, we have been extending the use of the API through hacks and obscure workarounds. Last but not least we are able to detect duplicates and manage to merge them appropriately.  
 
Also we added a great feature like contacts merging, everything working under the same MozContacts API.


== Motivation ==
== Motivation ==
172

edits

Navigation menu