I've spent a week reading about RESTful webservice and searching for a fully example to build my project above. When I reach a fully understanding of the REST webservice, I couldn't find any full implementation for it!I was wondering why there's a lack in code samples of this great technique.I want to implement it with PHP and Apache web server and make it fully and has all verbs like this tutorial [part-1][1] , [part-2][2] (see comments for links) saying: The Basics of a RESTful RequestEvery REST request consists of essentially the same basic parts:The URL  This is the URL well be making a request against (often referred to as a resource).The Verb  GET, POST, PUT, or DELETE there are some others out there, but these are the 4 most common ones.The Params  The parameters well be supplying to the API, often referred to as the request body.Credentials  Username and password well cover HTTP Digest auth credentials.And, of course, well have a few pieces for our response as well:The Response Body  The actual response body the API gave us.The Response Status Code  The HTTP status code the API responded with.Other Response Info  Well also have some other interesting info in the response.At first I tried this sample , but I found later that it doesn't follow REST standard rules.After digging in the web I found this example but it doesn't give me the server code! Just the client code and processing response.Do you know any common lib for REST that support both server-side and client-side ? with examples and docs? please give me your suggestions , it's urgent .
REST webservice full implementation: server + client
apache;web services;centos;restful
For server side development I can recommend Restler. I don't know any lib that covers both client and server.