On Tue, 22 Mar 2011 13:15:48 +0100, Patrick Ohly wrote:
On Di, 2011-03-22 at 09:34 +0100, Patrick Ohly wrote:
Hello Zoltan,
I can't comment on the decision making process (that's above my
grade
level) and don't want to (this is a technical mailing).
On Di, 2011-03-22 at 08:02 +0000, [email protected] wrote:
> Option 2 from below would be the cheapest, fastest and least pain
path but
> it's duplicating contacts to tracker. Option 3 would be optimal
but difficult,
> option 1 could also work. Choose one, or suggest something else.
Please finish
> the job you started :).
Option 2 seems like a reasonable approach to me, if we can make it
so
that the call history database is self-contained and merely mirrors
the
subset of the contact data in read-only mode that is relevant for a
quick list of results, with more details fetched on demand from the
main
contact database.
One more thought on this. Consider that a call was recorded at a time
when there was a corresponding contact. Later the address book gets
changed such that there is no match anymore - perhaps the contact was
removed to clean up the address book, perhaps because his or her
phone
number changed.
I would find it convenient if the call history gave me more than just
the old phone number in such a case. Ultimately this is a question to
the UX designers.
My point here is that the caching scheme proposed above would support
such a use case, whereas creating the match at the time of the query
based on the then current data (as it is presumably done in
Tracker/libcommhistory) doesn't.
You just degrade the contact from a nco:PersonContact to a nco:Contact
in
Tracker at delete time if it's linked to an existing call event. That
way
it still appears in call history, but not anymore in contacts list
(where
it was deleted). That's an interesting usecase btw (actually, clicking
on the contact would allow to re-add it with all the details).
What amuses me is that we started from a global architecture discussion
(are we going to make a house in wood or concrete), and we're right now
discussing the color of the handle of the window in the basement ;) But
details do matter too...
Cheers
Adrien
_______________________________________________
MeeGo-dev mailing list
[email protected]
http://lists.meego.com/listinfo/meego-dev
http://wiki.meego.com/Mailing_list_guidelines