[jdev] Perl Net::XMPP::Roster functionality?
jdev at eriko.mobi
jdev at eriko.mobi
Mon Sep 17 21:44:04 CDT 2007
On Sat, Sep 15, 2007 at 10:41:10AM +0200, Robin Redeker wrote:
> On Fri, Sep 14, 2007 at 03:07:47PM -0400, Eric Hacker wrote:
> > On 9/14/07, Robin Redeker <elmex at x-paste.de> wrote:
> > > I don't know about Net::XMPP, but I just wrote a simple script that
> > > does exactly that for Net::XMPP2, you maybe want to try it, you can
> > > find the script in the git repository for Net::XMPP2:
> >
> > That sounds like good advice to me. Net::XMPP was abandoned by the
> > original author. I currently maintain Net::XMPP but only because I got
> > too dependent on it before some of the bugs came to light. There are
> > bug fixes sent in by others that I have not had time to apply yet, and
> > google compatibility is one of them.
>
> The major drawback of Net::XMPP is that it implements Jabber protocols
> from 2004 and older. Also the API isn't really non-blocking which can
> make it harder to use it in an event based application.
> (Threads in Perl is something I wouldn't want to use :)
>
> The major drawback of Net::XMPP2 is that it is heavily event based
> and enforces a event based/non-blocking API on you. (But of course
> someone could write a blocking wrapper API with AnyEvent).
>
> > The project that I needed Net::XMPP has been dormant for six months
> > and I'm about to pick it back up, but I will be seriously looking at
> > what it will take to use a different XMPP library.
>
> :-)
Thanks to everyone for all of the feedback. If the maintainer is
likely going to be moving to Net::XMPP2, that's good enough for me
(especially since the other offered solution didn't work out.)
Thanks again!
Erik
More information about the JDev
mailing list