Hi,
I'm currently looking at extending the container functionality beyond the
standard activity, app-data, messages and person services.
For the client/javascript part I found the hi5 code very helpful with getting a
better understanding on how to do this.
Example:
Hi5Container.prototype.newAlbumsRequest = function(idSpec, opt_params) {
var rpc = { method : "albums.get" };
...
On the server/PHP side I've added code to the 'ApiServlet' class to handle the
requests coming in on the new RPC topic, similar to how the other handlers are
added.
Now my question is if this is the best way to extend Shindig/PHP? Or is it
possible to do this without having to change the 'ApiServlet' class?
Thanks,
Erik