Web Service

Web services - XML-RPC, REST, SOAP

Create RESTful Applications Using The Zend Framework - Part II : Using HTTP Response Code

In our last example, we used Zend_Rest_Route and Zend_Rest_Controller to demonstrate how to map requests to controller actions. We also used the response object to send text content in the HTTP response. In this article let us send appropriate HTTP response codes using the response object.

RFC 2616 describes HTTP response codes to use in various contexts.

In this example, we will use a few response codes


Create RESTful Applications Using The Zend Framework

The Zend Framework 1.9 release added a new feature - Zend_Rest_Controller. Zend_Rest_Controller and Zend_Rest_Route classes go hand in hand. In the previous versions of the Zend Framework, we have had the Zend_Rest_Server component. We still have. Since Zend_Rest_Server provides an RPC like component violating the REST architectural constraint, it is likely to be deprecated in the future versions of the Zend Framework.


XML-RPC And PHP

Series of articles about XML-RPC with PHP.


XML RPC Client Using PHP PEAR - A Real World Example: Ping Technorati

In a previpus blog post we discussed how to consume the Technorati ping web service using XML-RPC. The PEAR package XML_RPC2 provides convenient client and server objects. You can call the remote methods as if they were the methods of the client object.

In this post, let us accomplish the same using a PEAR package XML_RPC2. We will write a client script to update Technorati when there is new post in your blog site.


XML RPC Client In PHP - A Real World Example: Ping Technorati

If you are familiar with blogosphere you know what is Technorati.

Technorati is an Internet search engine for searching blogs. You can submit your blog to Technorati and ping their servers when your blog site is updated. when you ping Technorati their web crawlers read the updated information on your site.

Technorati offers an XML-RPC ping web service to allow blogs to notify content changes.

In this article we discuss how to write a PHP script to programatically ping Technorati when there is new content in your site.


Introduction To XML-RPC In PHP

Let us get familiar with some terminology.

RPC From the Wikipedia:
"Remote procedure call (RPC) is an Inter-process communication technology that allows a computer program to cause a subroutine or procedure to execute in another address space (commonly on another computer on a shared network) without the programmer explicitly coding the details for this remote interaction."

Good definition. But what exactly does it mean?


XML RPC Server And Client In PHP - Determine Client's IP Address

In this article I will explain how to write an XML-RPC server and client in PHP.

To be able to understand the article, you have to have some idea about XML-RPC in general.

If you feel like gleaning more information about XML-RPC visit the following websites:

http://www.xmlrpc.com/
http://en.wikipedia.org/wiki/XML-RPC

For an introduction to XML-RPC in PHP visit Introduction to XML-RPC In PHP


Syndicate content