1

Possible Duplicate:
What am I not understanding about REST?

I am really confused about REST.What does REST mean in real world? What does it mean being a RESTful api? If I write some code in PHP,is it by default RESTful? Please explain with some examples.

Community
  • 1
  • 1
WordsWorth
  • 872
  • 1
  • 11
  • 23
  • Google it?! What do you mean with real world? What would be the unreal one? – markus Oct 04 '11 at 06:17
  • 1
    To start, you might want to look at [What am I not understanding about REST?](http://stackoverflow.com/questions/343288/what-am-i-not-understanding-about-rest). – David Alber Oct 04 '11 at 06:22
  • please go through http://stackoverflow.com/search?q=what+is+rest and point out what is still unclear afterwards – Gordon Oct 04 '11 at 06:44

1 Answers1

2

Wikipedia has a page on it: Representational State Transfer.

From a practical standpoint, it's a way of building a web service by taking advantage of the features of HTTP itself, rather than building a layer on top of HTTP (as SOAP does).

Code written in PHP (or any other language) isn't inherently RESTful. It's a characteristic of how you design your program, not what language you write it in.

Wyzard
  • 33,849
  • 3
  • 67
  • 87