#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.
Pros & Cons on SOAP vs XML-RPC vs REST
Moderator: General Moderators
-
jack_indigo
- Forum Contributor
- Posts: 186
- Joined: Sun Jun 08, 2008 11:25 pm
Re: Pros & Cons on SOAP vs XML-RPC vs REST
That's true only if you send only one item per request.jack_indigo wrote:#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.
viewtopic.php?f=19&t=93937
There are 10 types of people in this world, those who understand binary and those who don't