Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

What's the current way to program Jabber?

by titivillus (Scribe)
on Dec 27, 2008 at 02:11 UTC ( #732736=perlquestion: print w/replies, xml ) Need Help??
titivillus has asked for the wisdom of the Perl Monks concerning the following question:

I'm wanting to use Jabber to do cool things. Right now, I have a basic "dump to Jabber" script along the lines of Unix's mail command, but I'm wanting to look into both making a consistantly-running bot and dealing with presence.

I've gotten so far with Net::XMPP, but not really into the presence parts, which I think it's failing at. Most of the modules are many years old and marking themselves as depricated. The CPAN page for Net::XMPP2 says that AnyEvent::XMPP is the way to go, but CPAN has never heard of it.

Today, on the corner of 2009, what is the state-of-the-art means of programming Jabber? (I don't want to go back to the RFC, but I can if I have to.)

.witty_sig goes here

Replies are listed 'Best First'.
Re: What's the current way to program Jabber?
by kirillm (Friar) on Dec 27, 2008 at 10:32 UTC


    POE::Component::Jabber works pretty well for my needs (persistent daemon that deals with presence and passing messages between the mobile network and email system) and is definetly worth a look if you like POE. You may also check out Net::XMPP2, which you mentioned in your original post. It seems that Net::XMPP2 will be renamed to AnyEvent::XMPP later, but for now they're the same thing.

    Good luck.

    P.S. I'm afraid that you'll have to go back to the RFC in order to see how to deal with presence, subcriptions, roster etc. These mechanisms are in the core of XMPP/Jabber and should be understood by anyone who wants to deal with this protocol.

      Thank you.

      .witty_sig goes here

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://732736]
Approved by ikegami
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (2)
As of 2018-05-24 00:51 GMT
Find Nodes?
    Voting Booth?