Pádraic Brady has posted a wonderful (long) tutorial on using the Zend Framework and REST to create a sample application from start to finish.
That proposal [Davey Shafik's Zend_Rest_Client proposal] has since been implemented, and is now available from the Framework's incubator directory. Also available is the focus of this tutorial - Zend_Rest_Server.
The tutorial has been broken up into several bite-sized chunks to make it a bit easier to follow:
- What is REST?
- Application Setup
- Adding Population Data to Database
- Adding URIs For Client Requests
- ServiceController Class
- App_Rest_Server_Note Handler
- Building an XML Response
- Trying It Out