Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Pádraic Brady's Blog:
RESTful Web Services with Zend Framework
Nov 13, 2006 @ 15:17:00

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
By the end of it, you'll have a fully functioning REST server you can bounce requests off of. In his case, grabbing the contents of simple notes based on the request info and spitting an XML response back out the other side.

tagged: rest zend framework web service example tutorial rest zend framework web service example tutorial

Link:


Trending Topics: