 | News Feed |
 | Jobs Feed |
Sections
|
| feed this: |  |
Ibuildings techPortal: DPCRadio Web services for consumer devices
by Chris Cornutt September 07, 2010 @ 07:18:36
On the Ibuildings techPortal there's a new post with the latest episode in their DPCRadio series (as recorded at this past Dutch PHP Conference) - Melanie Rhianna Lewis' talk on web services and consumer devices.
A web service is an API provided by a site that allows a remote application to access data and use functionality without having to 'act like a web browser'. [...] The talk will describe how a web service targeted at consumer devices can be implemented. It will look at the different methods of calling remote functionality such as SOAP, XML-RPC, JSON and restful services. It will also consider the limitations of consumer devices, memory restrictions, communications bandwidth restrictions, and so on that have to be considered when designing a web service aimed at consumer devices. Finally it will have a brief look at how to make a service secure.
You can find the slides for the session here and you can either listen to the episode through the in-page player or buy downloading the mp3 directly.
voice your opinion now!
dpcradio webservice consumer device cellphone soap xmlrpc json dpc10
Kevin Schroeder's Blog: Zend_Server
by Chris Cornutt September 06, 2010 @ 09:47:22
In a new post to his blog Kevin Schroeder shows how to use the Zend_Server component of the Zend Framework to make a script that automatically makes the server you need based off of the request type.
I've been doing some work with Adobe on some articles and one of them was on working with mobile clients with Flash. Well, me being the masochist I did more. What I did was write an example that worked as a full website, an Ajax website, a Flash service and an XML-RPC service. [...] In a plugin, which I will show you in a bit, I attached an instance of Zend_Server_Interface. Then in the controller I simple told it to do its thing, with the exception of handing the Service Mapping Description for JSON-RPC ($smd). That's it.
Because of how the XML-RPC, JSON and AMF servers are handled, they extend the main Zend_Server_Interface, making it easy to create them on the fly. He includes the code for both the sample controller and the plugin mentioned above. It checks for Ajax, AMF, XML and JSON request types and sets the service handler correctly. If there's not one, it falls back on the mapping.
voice your opinion now!
zendserver zendframework xml json xmlrpc ajax tutorial autodetect
Zend Developer Zone: NP-Gravatar
by Chris Cornutt August 25, 2010 @ 10:12:44
In a new post to the Zend Developer Zone today the NP-Gravatar libraries are introduced as a way to hook your application into the Gravatar web service.
Gravatar is a famous web-service for providing globally-unique avatars. Gravatar, like many other web services, has its own APIs, which are based on simple HTTP GET requests. [...] By studying and analyzing those APIs, I come up with an idea to create a Zend Framework implementation of all those Gravatar services. That resulted in NP-Gravatar package, which will be presented in this post.
The project gives you two service classes and one view helper to make the integration with the frontend simpler. He explains each library and gives a code sample of them in action - grabbing profile information, an interface to the XML-RPC service they offer and the view helper to call a simple "gravatar()" method inside of an IMG tag.
voice your opinion now!
gravatar zendframework tutorial package xmlrpc api
Sudheer Satyanarayana's Blog: XML RPC Client Using PHP PEAR - A Real World Example Ping Technorati
by Chris Cornutt September 07, 2009 @ 16:45:04
Sudheer Satyanarayana has this new post on his blog today talking about a simple way (via a PEAR package) to make an XML-RPC connection to ping technorati about updates to your blog.
In a previous 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.
You'll need to grab the XML_RPC2 PEAR package to make this all work, but once that's installed, you're a quick few lines of code away from a client to update Technorati with the ping information for your site.
voice your opinion now!
xmlrpc client pear tutorial
ONLamp.com: Developing Web Services Using PHP
by Chris Cornutt July 27, 2007 @ 10:28:00
On O'Reilly's ONLamp.com website, there's a new tutorial by Deepak Vohra about the creation of web services with PHP, two different kinds - a SOAP service (and client) and an XML-RPC web service.
A web service consists of a server to serve requests to the web service and a client to invoke methods on the web service. The PHP class library provides the SOAP extension to develop SOAP servers and clients and the XML-RPC extension to create XML-RPC servers and clients. Before I delve further into developing web services with PHP, I shall briefly discuss web services.
HE starts with the SOAP service, using the functionality from the php_soap module to create a simple SOAP server (including the creation of a WSDL file, example included). The other side of things is included as well - a SOAP client that makes a request for items from a certain catalog and outputs to a page.
He uses the XML-RPC functionality to make the same type of service (with the same data) and includes the request and response XML for their request for the "hello" message the server responds with.
voice your opinion now!
soap xmlrpc webservice tutorial request response xml soap xmlrpc webservice tutorial request response xml
|
Community Events
Don't see your event here? Let us know!
|