Pragmatism in the real world

Gary Hockin: Zend Framework 2 and a Restful Application

Gary Hockin has posted Zend Framework 2 and a Restful Application

After speaking to a prospective employer in a job interview, I was interested to try out the ZendMvcControllerRestfulController. With Zend_Json_Server in ZF1 having, shall we say, a less than sterling reputation, it was very interesting for me to see how the strategy has been implemented in ZF2.

Gary then explains how to change the Zend Skeleton Application to work with HTTP verbs by changing the routes and updating the IndexController to extend RestfulController.