JSON-RPC
I’ve started converting all ajax calls to using JSON-RPC as format. As it turned out the format I initially created wasn’t actually that different anyway.
The good thing is that there is now a central method to make rpc calls and that will actually look at the format and decide whether the call was successful or not. So far the call was considered sucessful if the actual request returned good.
This also means it will become easier to actually access and display ajax response messages which should make the UI even nicer.
Comments Off
