Hacker News new | ask | show | jobs
Ask HN: Getting started with BOSH and XMPP
1 points by andymac 5565 days ago
Hi everyone,

I would consider myself an intermediate to advanced PHP programmer. In my own projects, I would like to get started using XMPP to do some real time features, including showing online/sleep status to users on the site.

I'm wondering if someone could point me in the right direction (links) as to how I go about doing this. I have ejabberd set up on my Linux server, and as far as I understand, it has BOSH built in. My problem lies with managing sessions.

If my site is built in PHP, how can I connect that session to the BOSH connection? I don't want them to sign in to the XMPP service separately- I'd like to have it operate like facebook's chat.

I'm failing to find resources on Google, because I don't know the exact lingo, so any help would be greatly appreciated.

Thanks!