News Feed
Sections




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

Davey Shafik's Blog:
Next Generation REST Web Services Client
September 22, 2006 @ 07:25:38

In his latest post, Davey Shafik talks about a web service client that he's been working up for the Zend Framework, specifically dealing with the consuming and creation of REST services.

I am currently working on a ton of Web Services related things for the Zend Framework, one of my favorite, is the almost complete, Zend_Rest_Client. This is a replacement for Zend_Rest (as we're adding a server also).

Whilst it is almost impossible to emulate the PHP 5 SOAP extension, it is still possible to get a nice interface.

He gives some examples of its usage:

  • creating a client with three lines of code
  • showing off the "fluent API" of the component to make a REST request
  • and a call normally, seperating the methods out into seperate lines
He also mentions that there's still a bit of work to be done, including returning the Zend_Rest_Server array responses back into normal PHP arrays.

0 comments voice your opinion now!
rest web service client zend framework fluent simple rest web service client zend framework fluent simple


blog comments powered by Disqus

Similar Posts

International PHP Magazine: Poll Question: What Do You Look for in Frameworks?

James Fuller's Blog: Adding a Session Flash Message to your site in Lithium PHP

PHPEveryDay.com: New Tutorials Posted (WDDX in PHP)

Site News: A PHPDeveloper.org Rebirth

ColdScripts.com: Mapping Framework Popularity


Community Events





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


framework symfony tool opinion podcast community mvc voicesoftheelephpant composer update release interview library package introduction language laravel security series version

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