I need some advice on setting up an environment that is based on Django and XMPP.
My site has two parts.
Part A: users use an in-browser XMPP client, like Strophe.JS on a page that si served through Django.
Part B: Used by a different set of users to communicate with users who're communicating using the part A of the site. Users here will also use an in-browser XMPP client, like Strope.JS on a page that is server through Djano.
Since the communication happens in-browser, I'll not using a real XMPP stream but XMPP over BOSH. I've read that XMPP over BOSH is the de-facto way of transport XMPP messages over HTTP interfaces.
The solution for Part A is simple. A regular web-page with the Strophe.JS library thrown in. The difficult part for me seems to be figuring out how to handle the users of Part B. I need to relay XMPP messages between the Part A users and Part B users. The Part B users, need to able access information from the Django system for the user of Part A. I would need pretty good integration between XMPP and Django.
Could someone tell me how I would write a system like this? What tools would I use? Would a I use a stand alone XMPP server and integrate it to Django? If so, what? When a user on Part A initiates a chat session, it will show up on user of Part B of the site but which user will handle the chat request of the user will depend on some information retrieved from Django.
Thanks in advance everyone.