REST Questions
tbray.org
tbray.org
It's not that REST is a bad architecture, actually. It's that the things that make REST a good architecture are things that are done elsewhere on a regular basis without the kind of praise or priesthood that you get when you give it a hard-to-grok ("representational state transfer!?") acronym for a name.
What we're seeing with REST is what we saw with Design Patterns in the 90's. A bunch of very simple, very sane ideas turned into a parody of what they were supposed to have been. DP was a cookbook for how to solve common design problems, but what we ended up with (c.f. much of the Java libraries, swing especially) were kitchens designed so closely to that model that they could only produce the recipes in the cookbook.
Names are useful. If the name is misused or used to justify silly things, I don't think you should blame the namer.
If REST really wanted to pick a good name, wouldn't it involve the notion of "stateless resources as URLs" somewhere? They're kinda the central point.
Look: the point here isn't to smack about REST's name. I don't care what you call it, that's not the problem. The problem is that a lot of REST proponents actually think that REST invented a lot of stuff (like, heh, representing state) that are just pre-existing good ideas to which it gave a name.
I get Remote Procedure Call, but I don't see how "a synchronous call and response" comes from the name; stripped of its nuances, all the name means is "doing something somewhere else".
Similarly, "transferring a representation of a resource's state" is much more precise than "sending some "stuff" from one place to another", but only if you're familiar with what I mean by "transfer" and "a resource's state".
> The problem is that a lot of REST proponents actually think that REST invented a lot of stuff
A lot of people think a lot of stupid things. Why is that notable?
For some reason recently we have this technologies like AJAX and REST, that does not mean anything concrete, just "we are using this to achieve that and need some name for managers".
And that is what I'm trying to say: Why in the world do we need to label some more or less trivial idea with some cute initialism?
The cute initialism isn't the point. The paper that coined the initialism (and describes why HTTP was designed the way it was and what you'll lose if you use it as a transport for some ugliness) is.
That doesn't mean that REST "does not mean anything concrete", though.