Examples of building a REST API server using Zend Framework?

siliconpi picture siliconpi · Mar 15, 2011 · Viewed 39.9k times · Source

I'm new to Zend Framework (not to PHP), and I need to create a REST based API using Zend.

I've seen examples using Zend_Rest_Server, however other sources state that that has been deprecated.

I'm unable to find a solid example which shows how I should be building such an API.

Answer

wimvds picture wimvds · Mar 15, 2011

Zend_Rest_Server is indeed deprecated since ZF 1.9, you should use Zend_Rest_Controller instead. The following blog posts could be helpful : Building RESTful Services with Zend Framework and Create RESTful Applications Using The Zend Framework.