by parasubvert · 14y ago · 0 comments
The point of all of this is interoperability. Communication requires shared understanding, which is impossible if everyone invents their own nouns and verbs at whim.
In fact, REST specifically lets systems grow organically since each object never assumes knowledge about either state or state transitions, all knowledge is contingent and empirically discovered.
Okay. I'll let Alan Kay argue the exact same point then.
http://video.google.com/videoplay?docid=-2950949730059754521
The whole video is worth watching but the relevant part starts at 43:00. This video was made three years before Fielding submitted his dissertation.
(note: this isn't an appeal to authority fallacy since he's making an actual argument.)
[1] The Smalltalk variety of OOP which is about encapsulation, message passing, and extreme late binding.
A "well documented protocol" (binary or not) by definition is interoperable within a certain context. The question is, how big is the scope of that context?
The point of the Web protocols is to provide a framework for evolving bits of agreement - not "big design up front", except for the essential bits that have proven themselves, or are essential to bootstrap communication. HTTP, MIME, and URI are those essential bits of agreement at the moment. Witness how HTML isn't as essential as it used to be, given the growth of JSON APIs and mobile native apps.
As for REST, I'm sure it's nice for some things. However, if you think interoperability is going to magically spring out of it you're ignoring the lessons of XML, which that having an (ostensibly) human-understandable format is not going to magically allow machines to become more interoperable. All it will do is allow people to make bad guesses about the meaning of documents instead of reading the documentation.
Similarly, to suggest that HTTP hasn't proven itself (compared to what?) or that "innovations" of the web existed decades ago (really!?) is nonsensical to me. It's the most widely deployed application protocol on Earth. It handles billions of dollars of transactions.
You claim the web is unreliable. I think that's a layer error. The issue is that networks are unreliable. That's not something one can paper over.