A web developer's blog. PHP, MySQL, CakePHP, Zend Framework, Wordpress, Code Igniter, Django, Python, CSS, Javascript, jQuery, Knockout.js, and other web development topics.

Tag Archives: Zend_Rest_Server

Zend Framework: Handling custom XML reponses using Zend_Rest_Server

This post assumes that you have read about Zend_Rest_Server in the the Zend Framework manual and my previous posts regarding Zend_Rest: Here and here. My EmprestServer class would have something like this: <?php class EmprestServer { //more code here… public … Continue reading

Posted in General | Tagged , , , | Leave a comment

Problems with Zend_Rest. Any ideas? FIXED!

I am stuck with my problem. I am not sure if it is the way I have things set up or it is something else.This works! $rest = new Zend_Rest_Client(’http://mysite.com/api/emp/method/getById/id/1124921/apikey/1234′); $result = $rest->get(); if($result->status()==’success’) { echo $result->emp_id() .’ ‘. $result->emp_shortname().’ … Continue reading

Posted in General | Tagged , , , | 5 Comments

Zend Framework: A simple Zend_Rest_Server example

A few days back I thought of implementing a RESTful web service. I did not have any idea on how to implement one. So I searched online and found this post. Based on astrumfutura’s post, I created my own “simplified” … Continue reading

Posted in General | Tagged , , , , | 1 Comment