Jump to content

REST JSON tutorial


PhDJ

Recommended Posts

that links had all information you need to start use REST. it is process the URI of resource and manupulate data depending upon that, it works like same way as other http based application works. clients need to just open the URI and they can get and use the resource.php imlementetion http://rest.elkstein...est-in-php.htmlgeneral guides http://rest.elkstein...guidelines.html

Edited by birbal
Link to comment
Share on other sites

that links had all information you need to start use REST. it is process the URI of resource and manupulate data depending upon that, it works like same way as other http based application works. clients need to just open the URI and they can get and use the resource.php imlementetion http://rest.elkstein...est-in-php.htmlgeneral guides http://rest.elkstein...guidelines.html
It has everything on how to use REST, not on how to build your own REST server.
Link to comment
Share on other sites

you dont need build a different server for REST. REST will simply work same as web page.in this case apache will handle the requests. where as in web pages people outputs html markups you will generate and output JSON data which will be use by clients. which JSON data will be manipulated will be depending upon the Request URI which will cause it generate JSON data dynamically.What clients will do is just get the URI using fopen() or file_get_contents() or Curl library and use it. the example is showing in that site is showing how the client will get the URI.

Link to comment
Share on other sites

It seems I was not the only one wondering about the server side of things : Dr. M. Elkstein said... Hello James, Indeed, I have written little about the server-side part of REST, seeing that it is no different than "regular" web serving (except that the output is to be consumed by machines, not people). I see now that more and more people ask for this extension, and I plan to write about it in the (hopefully near) future. December 6, 2009 9:08 PM Seems like he never got around to it ...

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...