2009/7/20 Siegfried Gevatter <rai...@ubuntu.com>:
> I tend to agree with your comment but I'm unsure about one thing:
>
>>> With this mindset it also makes sense to differentiate the lookup
>>> functions, so we have something like:
>>>
>>>  FindEvents(...filters...)
>>>  FindItems(...filters...)
>
> Maybe I'm just misunderstanding that, but if you imply that FindEvents would
> only return a reference to the item (eg., it wouldn't have the URI, title
> nor anything else of that) I don't think that makes much practical sense.
> Ie., that information is required almost always and having to do two calls
> to get it is inconvenient; I'd like to keep the API as simple as possible
> (but I agree that indeed it isn't ideal right now).

Yeah, I think you are right. I purposely didn't suggest what
FindEvents should return because, really, I am not sure. I fear that
the full item data for each event might be a lot of overhead. Maybe
some more clever DBus structure where we only return one copy of each
item involved... Basic human interaction patterns will most likely
mean that the same item will be replicated numerous times in the
result if we don't do something about it.

-- 
Cheers,
Mikkel

_______________________________________________
Mailing list: https://launchpad.net/~zeitgeist
Post to     : zeitgeist@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zeitgeist
More help   : https://help.launchpad.net/ListHelp

Reply via email to