The Artima Developer Community
Sponsored Link

Java Buzz Forum
Clearest Explanation of REST Yet

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Weiqi Gao

Posts: 1808
Nickname: weiqigao
Registered: Jun, 2003

Weiqi Gao is a Java programmer.
Clearest Explanation of REST Yet Posted: Sep 11, 2005 3:39 PM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Weiqi Gao.
Original Post: Clearest Explanation of REST Yet
Feed Title: Weiqi Gao's Weblog
Feed URL: http://www.weiqigao.com/blog/rss.xml
Feed Description: Sharing My Experience...
Latest Java Buzz Posts
Latest Java Buzz Posts by Weiqi Gao
Latest Posts From Weiqi Gao's Weblog

Advertisement

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.

Read: Clearest Explanation of REST Yet

Topic: Review: Nokia Smart Phone Hacks Previous Topic   Next Topic Topic: Links for 2005-08-29 [del.icio.us]

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use