<< Direct Manipulation, Emerging Behavior, Untestable Qualities, ... | Home | Aren't You Happy Java Don't Have Default Arguments >>

Clearest Explanation of REST Yet

REST is refutation of Web Services (WS-*)

Sometimes a concept is so vague that you spend years trying to understand it. And one day, you get it.

Here's one example of me getting OLE way back when.

REST has been something that I've heard a lot in the past couple of years. I've been to numerous internal as well as local user group talks on the subject. I read articles in online magazines. I've heard testimonies on how a little bit of rest did wonders in decoupling an otherwise tangled mess.

However in the back of my mind there is a nagging feeling that I have not understood the concept completely. It didn't help that the explainers invariably resort to "it's an architecture style," or "when I GET the URL http://host/car, I'm getting a representation of a car, which is a resource, and my state is transferred," followed immediately by an apology, "I know. I know. It's not the best of explanations on earth."

Then I read this tutorial on REST Web Services, referenced in John Cowan's weblog. And it all clicked for me.

I'll let you read the tutorial yourself since it's a rather long one (148 slides.) Here are two slides that resonated with me the most:

The Unix Way

  • Files have a generic interface
  • All resources in the system could be accessed through these narrow interfaces
  • Some things were always exceptions
  • Unix networking broker this philosophy
  • The Plan 9 research OS restored it, doubled and in spades

REST from a Unix viewpoint

  • Resource rather than files
  • URI space instead of the filesystem
  • A slightly different (even narrower) generic interface
  • But the focus is the same: a generic shared abstraction, not point-to-point interface coordination.


Re: Clearest Explanation of REST Yet

The presentation is 150 slides big, and it is the simplest way to explain REST? You have to be kidding...

Re: Clearest Explanation of REST Yet

No, not the simplest, clearest.

Re: Clearest Explanation of REST Yet

Sorry, REST is a lot simpler than the author is showing. It looks like he's deliberately trying to make it sound complicated. There are hardly any examples too. Just show a few URL's from del.icio.us and explain why it's REST. Can't be any simpler than that.

Re: Clearest Explanation of REST Yet

REST is hard to understand because it is so simple, compared to SOAP, etc. People expect there to be more to it, but there isn't. It's just plain HTTP.

Re: Clearest Explanation of REST Yet

Dear Anonymous: I was asked to do a 3 1/2 hour tutorial. That requires a lot of slides. If you missed it at Extreme, come see it at XML 2005.

Add a comment Send a TrackBack