Building notes, projects, and occasional rants

XMPP and Perl

I’m writing an external component in POE::Component::Jabber. It’s a custom development that will link to a XMPP server.

POE::Component::Jabber is nice, but it seems to me that I’m investing in something that I won’t be able to reuse.

There is no clear way to create a standalone module or plugin to hide the details of a certain protocol (like the jabber:iq:register).

I have some old code, XMPP::Session, that should solve this problem. The module is network agnostic: you can use STDIN/STDOUT, POE::Component::Client::TCP or even a Socket. I really need to clean it up and share it to see if there is any interest in it.