rest
REST, PHP, PUT, and WebDAV on Apache
Submitted by John Locke on Thu, 11/08/2007 - 02:04We're doing a fair amount of AJAX development these days, and ran into a problem with the REST convention. Thought I'd put my notes here in case somebody else runs into this.
REST, short for "Representational State Transfer" is a new-ish approach to managing state in a web application. With PHP, you typically manage state using its session features, which pass a cookie back and forth from the browser. Then the server needs to store values for each browser session, mirroring in some fashion the data in the browser with a cache on the server.
















