News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Robert Basic's Blog:
Communicating with Pidgin from PHP via D-Bus
December 19, 2011 @ 09:10:23

Robert Basic has put together a new tutorial on his blog showing how he connected PHP and Pidgin (the popular chat client) with the help of the DBus extension.

Earlier this week I got an idea of trying to communicate with Pidgin, a chat client, via the terminal. [...] Surely I wasn't the first one to come up with this idea and after a bit of a googling found out that Pidgin's libpurple has a nice API for that, exposed via D-Bus. I first planned to write some scripts for this in Python or C, but when I finally sat down over the weekend to hack on this, realized there is a PHP D-Bus extension, thanks to Derick Rethans!

He goes through the whole process you'll need to get it up and working on your system - installing the extension via PECL, creating a DBus proxy to the Pigdin interface and getting a list of the currently connected users. You can find the first versions of this code in his account on github.

0 comments voice your opinion now!
dbus tutorial pigdin extension pecl


blog comments powered by Disqus

Similar Posts

PHP-Coding-Practices.com: How To Generate Monochromatic CSS Stylesheets Within Seconds Using PHP

Ariz Jacinto's Blog: Compiling PHP with MSSQL Server's Native ODBC Driver for Linux as a PDO Driver

Chris Risner: Mobile Geolocation Apps with Windows Azure Websites Part 1: The PHP Code

Freeaqingme's Blog: PHP, JS & Service layers: Blend like never before

Trevor Morris' Blog: fuelphp, forms and validation


Community Events





Don't see your event here?
Let us know!


language bugfix release deployment api symfony podcast interview introduction framework zendserver laravel conference developer list tips voicesoftheelephpant series library community

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework