News Feed
Sections




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

PHPBuilder.com:
Building RESTful Web Services with the Zend Framework
November 11, 2011 @ 11:37:45

New on PHPBuilder.com today is a tutorial introducing you to web services with the Zend Framework, a guide to creating a simple RESTful service with this popular PHP framework.

Rather than attempt to build and maintain multiple versions of the Web application in order to accommodate the diverse array of challenges and advantages presented by each device type, developers are increasingly embracing a unified approach which allows them to manage a single server-side code base which communicates with multiple client-specific interfaces by way of a RESTful Web service. The Zend Framework's Zend_Rest component offers PHP developers with an incredibly straightforward approach to building RESTful Web services.

He shows how to set up some internal RESTful routing (with the help of Zend_Rest_Route) and create a simple controller that responds to several of the major HTTP request types - POST, GET, PUT, etc. In his simple example, he shows how to update a basic TODO list with a POST and the JSON response that would follow.

0 comments voice your opinion now!
restful webservice zendframework routing tutorial controller


blog comments powered by Disqus

Similar Posts

PHPMaster.com: Targeted Geolocation with Geonames

ZendCasts.com: Reporting with Zend_Tool and Zend_Log

Lee Davis' Blog: FormFactory - Driving Doctrine 1.2 / 2.x Mappings into Zend_Form objects

DevShed: Implementing the Stage Pattern in PHP 5

DevShed: Building an Error Logger with the Chain of Responsibility Pattern in PHP 5


Community Events





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


introduction library api laravel language opinion podcast bugfix symfony interview tips release package list voicesoftheelephpant community series framework deployment install

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