News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Lorna Mitchell's Blog:
PHP REST Server (Part 3 of 3)
September 05, 2008 @ 12:55:48

Lorna Mitchell has posted the last part of her development process towards creating a sample REST server in PHP:

This is part 3 of my article about writing a restful service server. If you haven't already, you might like to read part 1 (covering the core library and grabbing the information we need from the incoming request) and part 2 (covering the service handler itself) before reading this section. This part covers the Response object that I used to return the data to the user in the correct format.

She show how she created the object to push the response back out to the client with an output() method that displays the XML response in a manually generated format.

0 comments voice your opinion now!
rest server tutorial response xml object


blog comments powered by Disqus

Similar Posts

DevShed: Using Self-Saving Objects with Command Objects in PHP 5

PHP-GTK Community Site: GtkToolbar, GtkMenubar, and PEAR XML-RPC for geo-nick

Pivory.com: From Ajax to WebSocket with PHP, a Quick Example

Rob Allen's Blog: Zend Framework Tutorial for ZF v0.8

php|architect: Rich Internet Applications With PHP and Flex (Part 2)


Community Events





Don't see your event here?
Let us know!


community package deployment update library install laravel list api framework release series opinion interview symfony podcast introduction language tips zendserver

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework