Re: [Tracker] Simplifying DBus interface



Samuel Cormier-Iijima wrote:
I had a strange idea: what if all (or most) search methods were SQL
queries implemented client-side? i.e. if DBus had one real method such
as ExecuteQuery, and the client library had a wrapper which created
the right queries? this would radically simplify the DBus interface,
and would allow executing more exotic queries also. the live query
interface would still have to be implemented "server"-side though...
at worst, could you include such a method? it would be fun to execute
queries on my indexed filesystem :-)


Im quite happy to add this feature (patches welcome)

bear in mind that not everyone knows sql nor trackers database structure intimately so it cannot replace tracker's Dbus API which is focused around easy to use methods for first class objects.

Also we will have at least two backends (mysql and sqlite - which is coming along nicely and can be seen in cvs) and that any sql you submit should avoid non-standard propriety extensions.

--
Mr Jamie McCracken
http://jamiemcc.livejournal.com/




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