1

I read some discussions about RPC style and RESTful web services.

So far I have the following 2 thoughts:

  1. The argue between RPC and REST seems kind of similar to the argue between CISC and RISC instruction architecture. RPC looks forward to using a more complex vocabulary while REST just use a few common verbs.

  2. The REST style just introduce the HTTP protocol as the middle-layer between client and server in the hope to decouple the 2 parties. Just like David Wheeler said:

    All problems in computer science can be solved by another level of indirection, except of course for the problem of too many indirections.

So:

  1. Are these 2 thoughts valid?

  2. What are the most appropriate scenarios for these 2 styles, respectively?

smwikipedia
  • 61,609
  • 92
  • 309
  • 482
  • Possible duplicate of [SOAP or REST for Web Services?](http://stackoverflow.com/questions/76595/soap-or-rest-for-web-services) – Dai Jan 06 '16 at 02:52
  • @Dai Actually, I have seen that thread. But real intention is to discuss my 2 thoughts. I changed my question. – smwikipedia Jan 06 '16 at 02:54

0 Answers0