Re: [Tracker] Can i directly use Tracker API with application
- From: Philip Van Hoof <spam pvanhoof be>
- To: Alexandre Mazari <alexandre mazari gmail com>
- Cc: tracker-list gnome org
- Subject: Re: [Tracker] Can i directly use Tracker API with application
- Date: Mon, 24 May 2010 13:59:35 +0200
On Mon, 2010-05-24 at 13:56 +0200, Alexandre Mazari wrote:
Hi Ivan,
You can call tracker without any special registration. We provide
libtracker-client as a convenience for C developers (and our command
line tools), wrapping some DBus code and encoding help functions.
So, if your application is in C, use libtracker-client. If it is in
vala or python or other languages with easier DBus integration, go
for the DBus API.
Even in higher level languages, it would be great to be able to use
the commodities provided by tracker-client and use DBus transparently.
My current use case is making a tracker frontend using SeedKit. based
on one of the many existing web-based semantic/linked-data browsers.
This could be achieved for most bindings by making tracker-client g-
instrospectable, is there any effort in this direction ? Would patches
be welcomed ?
Yes
From what I understand your are investigating a direct access to
Tracker with your own binary IPC/RMI protocol, tracker-client could
hide that transition to client apps developers, being in C or higher
level languages.
Agree. But if we do provide a custom IPC method, then it'll probably
still be possible to continue using the old over-DBus less fast
SparqlQuery.
You can look here how it might look (DBus object is called
TrackerSteroids in this experiment). Note the "experiment" in the branch
name. No promises if you start working with this!
http://git.gnome.org/browse/tracker/log/?h=dbus-fd-experiment
Cheers,
Philip
--
Philip Van Hoof
freelance software developer
Codeminded BVBA - http://codeminded.be
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]