Sunday, October 11, 2009

The REST Debate

I guess a lot has been said about REST and RESTFull web services. Lately however some people have started thinking that it is a magic bullet, rather strange arguments are given that we don't need to know about the methods we call, well that's not true !!!!

Let's analyse web services and the CRUD (Create, Read, Update and Delete) operations both RESTfull and good old SOAP variant (to think of it REST is older)

When we use REST the entity is restricted to only four operation CRUD and calling these methods on the entity is standardised based upon GET, PUT,DELETE... and other Web verbs. In rest we define the Nouns with a fixed set of Verbs.

On the other hand SOAP gives us ability to define the Verb and the Noun.

Even if you use REST you still need to define your Noun's and it is same as defining your entity structures or object model everything else will fall into place.

REST will not make anything simple, it's just a different way of looking at things and can really benefit us as long as we use it judicially...

No comments:

Post a Comment