Re: Proposing Tracker for inclusion into GNOME 2.18



On Wed, 2006-10-25 at 11:12 +0100, Jamie McCracken wrote:
> >> With everything mapped 1:1 you can then use RDF query to search them
> > 
> > Why would you need a 1:1 mapping to do a query?  A query for "contacts
> > with an email of jamiecc blueyonder co uk" should be possible
> > independent of the number of email addresses a contact can have.
> 
> we need the 1:1 mapping to get/set the values. Whatever we implement we 
> must have a unique metadata name for a particular service in order to do 
> that otherwise getting or setting a value would be impossible.
> 
> One problem with metadata relationships is that some metadata like in 
> the above case would only be searchable like Contact.JabberID as the 
> actual storage would be in Contact.WorkJabberID or Contact.HomeJabberID 
> so it might get confusing for developers if they try and get the value 
> of Contact.JabberID which would be NULL.

A real world, physical example:

Name: Ross Burton
Email address (personal): ross burtonini com
Email address (personal): ross burton gmail com
Email address (work): ross openedhand com

How would you store this in Tracker?  If we declare that Tracker Contact
objects are *not* vCard clones I can handle dropping the personal/work
annotations for now.

Ross
-- 
Ross Burton                                 mail: ross burtonini com
                                          jabber: ross burtonini com
                                     www: http://www.burtonini.com./
 PGP Fingerprint: 1A21 F5B0 D8D0 CFE3 81D4 E25A 2D09 E447 D0B4 33DF

Attachment: signature.asc
Description: This is a digitally signed message part



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]