News Feed
Sections




News Archive
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
November 13, 2006 @ 09: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.

0 comments voice your opinion now!
rest zend framework web service example tutorial rest zend framework web service example tutorial


blog comments powered by Disqus

Similar Posts

Zend Developer Zone: Contest! Write a small piece of sample code, win a free copy of Zend Studio

Lorenzo Ferrara: Testing Apigility Code-Connected REST APIs

Jonathan Snook's Blog: Multiple Validation Sets in CakePHP 1.2

Chris Hartjes' Blog: Using CakePHP's Native Web Service Support

DevShed: Using Method Call Overloading in PHP 4


Community Events





Don't see your event here?
Let us know!


release series framework interview language list conference zendserver development podcast code deployment laravel developer introduction api symfony community bugfix tips

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework