AJAX Design Patterns for Web Services
Submitted by anonymous 2006-01-18 General Development 5 Comments
SOAP is great and all, but sometimes the data you are passing and even the app itself is so simple that setting up SOAP is overkill. I’d say that’s the case for simple Ajax websites. I’m currently working on a XUL app that talks to a library of functions via XMLHttpRequest. I simply wrote my own simple encoding/decoding functions for the data exchange between the server and the client. It works well, although if I had been aware of it when I was starting out, I would have used JSON.