Over the weekend I cleaned up, documented, and released a library extension that I used for TwitterSync. I call the library Jabber Simple. It's an extension to the amazing PHP Jabber code by Centova Technologies Inc. (http://www.centova.com).
Jabber Simple offers just a few improvements:
- Automatically connecting and authenticating to the Jabber server of your choice
- Automatically discovering the event handler methods
- The potential for cleaner shorter code
I built the TwitterSync Jabber Bot (at first) based on the example Jabber Bot code for the Jabber class, but I felt like there must be an easier way to write a simple Jabber Bot…
So I wrote Jabber Simple in order to make creating a simple Jabber bot with the Jabber class a bit easier. IMHO, the example Jabber Bot via JabberSimple seems a bit easier to read, understand, and extend.
Well, that's it. I don't have much more to say. I'm happy with my library and if nobody else finds it useful, that's ok1!
You can find the JabberSimple library at GitHub Code
- I do hope someone else might find it useful [↩]
Hey - this looks cool and
Hey - this looks cool and I'm going to give it a shot.
I saw an entry here regarding slicehost - I was wondering which Jabber server you installed on slicehost and if you had any tips.
Cheers,
Ben
Ben, Thanks for the
Ben,
Thanks for the comment.
JabberSimpleis a very thin layer over an amazingJabberclass. Hope it works out for you. I know it works very well forTwitterSync.The Jabber server I use is
ejabberd. The reasons I’m using it overjabberdare:jabberdstarted)jabberdhas this — but it works out great should my JabberBot crash temporarily… once it signs on, all the missed messages stream in)Post new comment