Pros & Cons on SOAP vs XML-RPC vs REST
Posted: Mon Jun 15, 2009 4:07 pm
#1
I saw this on a job posting:
"Our ideal candidate will be someone familiar with the pros and cons of SOAP vs XML-RPC vs REST."
Okay, I'm game. I don't deal in that stuff most of the time and I guess I better crack open the books. As a guide, what do you think are the pros and cons of each for a given situation?
#2
The listing also said this:
"Someone who knows what JSON stands for, and why it’s cool."
I wonder what would happen if the writer of that job listing were to look at jQuery Malsup Form API. You can do AJAX now without needing to create client-side JSON stuff. You just pass the data back as a regular form POST via AJAX and PHP can start reading $_POST. As for posting responses back, I guess maybe JSON would be more suitable versus other formats.
I saw this on a job posting:
"Our ideal candidate will be someone familiar with the pros and cons of SOAP vs XML-RPC vs REST."
Okay, I'm game. I don't deal in that stuff most of the time and I guess I better crack open the books. As a guide, what do you think are the pros and cons of each for a given situation?
#2
The listing also said this:
"Someone who knows what JSON stands for, and why it’s cool."
I wonder what would happen if the writer of that job listing were to look at jQuery Malsup Form API. You can do AJAX now without needing to create client-side JSON stuff. You just pass the data back as a regular form POST via AJAX and PHP can start reading $_POST. As for posting responses back, I guess maybe JSON would be more suitable versus other formats.