First, the use of PUT rather than POST was not a typo or slip up, but rather a deliberate statement.
In watching people (over)react to WS-Transfer, I've seen any number of examples where people model arbitrary operations as side-effects of PUT or DELETE. I was trying to make that point in my original post. Sorry you misread it.
BTW, while I do claim that you can solve the majority of the world's problems using an arbitrary handful of operations, I never claim that actually requiring (or even recommending) the world to do so is a good idea. It's a wonderful thought experiment, but trying to evangelize that the world only requires a fixed number of verbs is quite odd.
Imagine if all Python (or Perl or Java or .NET) libraries all were required to implement only one interface. For example, imagine if the JDK had defined the following interface:
package java.lang;
public interface Object {
object Create(object initData);
object Get();
void Put(object data);
void Delete();
}
Now imagine every Java class implementing only this interface.
Could you build web apps? Sure. "Enterprise" or "Business" apps? Absolutely. "Smart client" apps? I think I could do it.
To anticipate Patrick's comments, I'm a huge fan of minimal kernels of abstraction (like lisp) upon which we define entire universes.
SOAP is minimalistic enough for me - it's sad (but not terminal) that SOAP's defun, WSDL/XSD, is as complicated as it is.
Had we started with a simpler basis (perhaps Relax NG + some SOAP-specific extensions), my guess is we'd be having different discussions right now.
Posted
Oct 13 2004, 01:48 AM
by
don-box