Using JSON
We’re now looking at how we could use JSON rather than XmlHttpRequest for the MSG-Moodle connection to the MSG server. The reason being that the users browser could then communicate directly with the MSG server (and not have to be proxied through Moodle) – and ought to make things a lot simpler and mean that I don’t need to cache all the presences on Moodle (and all the hassle that entails!) as they’d be gained directly from MSG server instead.
Made a bit of a start on it all, but have come up with a few little issues which can occur as you could effectively have 2 MSG clients running (one would be the ‘real’ client and the other running in Moodle).










