Category Devel

Jabber and PHP

After a chat with a colleague trying to code in python because he wanted to implement some Jabber application I decided to search some PHP solution.

I've found class.jabber.php from Nathan Fritz.

It's very easy to implement and fun to play with, I've put a sample here.

Have fun with it ;-)

PHP : Objects and XML

Just some nice example to show how to create an XML output from an object. And also create an object from an XML source.

Do be able to run those example, you must install the PEAR packages called XML/Serializer.

First example, creation of the XML output: