News Feed
Sections




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

TechChorus Blog:
Create RESTful Applications Using The Zend Framework
November 18, 2009 @ 11:09:32

New on the TechChorus blog there's a quick tutorial from Sudeer looking at making a RESTful web service with the Zend Framework.

The Zend Framework 1.9 release added a new feature - Zend_Rest_Controller. Zend_Rest_Controller and Zend_Rest_Route classes go hand in hand. In the previous versions of the Zend Framework, we have had the Zend_Rest_Server component. We still have. [...] In this article let us explore how to make use of Zend_Rest_Route and Zend_Rest_Controller to build a RESTful server application. Zend_Rest_Route routes the request to the appropriate module, controller and action depending on the HTTP request method and URI.

Written on the base of the quickstart project from the Zend Framework tutorial site, they create a simple REST service that handles the get, put, post and delete requests through a series of methods in the controller. A response is hard-coded for each and a few examples of how to call the service via curl commands.

0 comments voice your opinion now!
rest tutorial zendframework webservice


blog comments powered by Disqus

Similar Posts

Thomas Weidner's Blog: Zend_File_Transfer examples or using validators to increase security

Stoyan Stefanov's Blog: phpBB front-end optimization - 1 hour workshop

Gonzalo Ayuso: Integrating WebSockets with PHP applications. Silex and socket.io playing together.

Lorna Mitchell's Blog: Gthub API: Issues List

Kenny Katzgrau's Blog: Enable Site-Wide Profiling With CodeIgniter


Community Events





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


community podcast composer introduction install extension release unittest interview list conference voicesoftheelephpant symfony language version api laravel opinion series configure

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