40 IT - YouTube

3

-, SOAP XML-RPC, REST, -, . .

 REST   ?  POST

REST: ?

REST ( - www). -. , HTTP, REST . , , RESTFul. - . ID, URL, . URL , .


REST

, , . "" XML , SOAP XML-RPC, AMF, Flash. , .

URL, , . : , , /book/2, 145 - /book/2/page/145. . , , HTML doc-.


- . - , , HTTP, :

  • GET ();
  • PUT ();
  • POST ();
  • DELETE ().

Create/Read/Update/Delete- 4 , GET POST. PUT DELETE.


REST -

- - , www , HTTP-. - XML. , .

5 :

  • GET /info/ (Index) . , .
  • GET /info/{id} (View) .
  • PUT /info/ POST /info/ (Create) .
  • POST /info/{id} PUT /info/{id} (Edit) , .
  • DELETE /info/{id} (Delete) , .

, REST, , . , , , , . , REST .


?

REST - . , flash, ? , XML HTTP . REST . , , . HTTP Authentication.


?