A client-side Ajax protocol is arguably more about parsing the response from the server than it is implementing actual functionality.
This isn’t to say that as the server-side protocol mature, the client-side won’t as well. But, often, what changes on the server is what will dictate change on the client.
By that, I mean that if we’re to introduce a new message in the protocol, then it will be first added to the server-side protocol and then the client-side protocol will need to support it. Rarely will it happen the other way around (at least in the types of projects that are built on WordPress.
With all of that said, how do we support the protocol in JavaScript (or on the client-side)?




