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

ThinkPHP Blog:
Mayflower Barcamp: Developing a PHP extension for Skype
Mar 17, 2008 @ 11:24:29

On the ThinkPHP blog today, Andreas Uhsemann has posted about a project that he and fellow Mayflower Barcampers came up with that they thought could be useful (and interesting) to work on - a PHP extension to interface with the Skype communication tool.

At the Mayflower Barcamp a few weeks ago we had a very interesting and promising project: Develop a PHP extension for communication with Skype. Actually this project was a merge between two projects: One was to "develop a PHP extension" - five out of six project members never had written any PHP extension or did any PHP core development before. The other project was the Skype extension, with the goal to have a new PHP function that could send a chat message to a given Skype profile.

As they worked on it, they realized that it was really D-Bus (the message bus system) they needed to interface with, not Skype directly. They include some of the code they used to make the connection - creating the message, setting a few parameters and "send and block" the message out to the D-Bus connection waiting. They've even put the code up on a public CVS repository (on thinkforge.org) if you'd like to download and play with it yourself.

tagged: extension skype interface mayflower barcamp dbus message

Link: