REST Resources


When I first heard the term REST and read the wikipedia article about it (which was updated since I first read it) but the impression I got was that REST is about having friendly URLs and using verbs as the way to describe what you want to do.

Only lately I got referred to to this article by my boss, Arnon:

http://www.infoq.com/articles/webber-rest-workflow

Which is a really excellent explanation and example of using rest for integration over the web with emphasis on using http as a state machine (what is known as HATEOAS), usage of the HTTP response codes and HTTP headers and conventions of HTTP verbs (GET, PUT, DELETE are expected to be idempotent).

Reading this article really placed the puzzle pieces in place for me.

Another excellent resource is this presentation about REST patterns and Anti-Patterns.:

http://www.parleys.com/display/PARLEYS/Home#title=RESTful%20Design%2C%20Patterns%20and%20Anti-Patterns;slide=1;talk=31817742

With my current knowledge of REST, it really amazes me that for so long I was using the web just as means for tunneling without really harnessing its power. The shift to thinking about entities as identifiable resources that their state can be changed by web calls really simplifies the way I thinks about web applications.

  1. No comments yet.
(will not be published)
  1. No trackbacks yet.