D-BUS and PHP backend
Curtis Maloney
cmaloney at cardgate.net
Wed Feb 13 14:14:36 PST 2008
Trilok Soni wrote:
> Hi All,
>
> I am working on an application, which provides the web interface,
> where we use following combination of programs:
>
> 1. Lighttpd as webserver
> 2. PHP as backend with fast-cgi support
>
> OR the other approach is to wrap the player-client in shared library
> which use dbus-glib to control player daemon, hiding dbus-glib apis,
> which again
> get imported through SWIG and use as normal shared library.
Personally, I'd recommend using anything other than PHP, but that's a
personal bias (I see no place for PHP in the world :).
However, since others have pointed out the options of other languages,
I'll chip in with my experience. I have deployed in the wild a Python
based web app, using FastCGI to Lighttpd, talking to DBus, running on an
AMD Elan (think 266MHz P5).
Yes, it's not as fast as a modern PC, but we found the performance
acceptable, and the bindings have improved considerably since then.
--
Curtis Maloney
cmaloney at cardgate.net
More information about the dbus
mailing list