d-bus over http?
Avery Pennarun
apenwarr at gmail.com
Fri Feb 15 14:13:32 PST 2008
On 14/02/2008, brien colwell <xcolwell at gmail.com> wrote:
> Has anyone thought about adding an HTTP connection layer to D-Bus? The
> goal with this would be to allow web apps to participate in a
> communication channel (with each other and other apps).
It would be rather easy to write such a thing using a library like
wvdbus (http://alumnit.ca/wiki/?WvDBus) or by writing a trivial cgi
script in perl or python.
The problems I can imagine would be:
1) Authentication: how do you decide who a random web app identifies
itself as on the bus?
2) Session management and signals: some dbus servers track when your
connection starts/ends or send signals to broadcast or to registered
listeners. How would you save up these signals to send to the web app
next time it does a query?
Of course, a basic implementation could just punt on these questions
and still be potentially useful.
Have fun,
Avery
More information about the dbus
mailing list