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

DZone.com: PHP Yaf (Yet Another Framework) Is Very Fast

Padraic Brady's Blog: PHP Framework Benchmarks: Entertaining But Ultimately Useless

Zend Developer Zone: Write for DevZone, See the World! (at least our little corner of it)

Demian Turner's Blog: Is vendor sponsored software certification the way to go?

Joshua Thijssen: Introducing the REST cookbook


Community Events





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


zendserver api symfony community language framework package podcast unittest laravel interview opinion version bugfix release library introduction series update deployment

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