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 1 of 3)
September 01, 2008 @ 11:21:54

Lorna Mitchell has started a three part series on her blog detailing the process she went through to develop a REST server in PHP.

I recently had reason to write a REST server in PHP, which was very interesting. There aren't a whole lot of resources on this topic around so I thought I'd write an outline of what I did. There is quite a lot to it so I'm publishing in multiple sections - this is part 1, which covers the central functionality and handling the incoming request.

In this first part she talks about the wrapper class she developed and includes some sample code that does the initial handling of the request (reading from php://input and passing it off to a handle() method to the taken care of).

0 comments voice your opinion now!
rest server tutorial wrapper class


blog comments powered by Disqus

Similar Posts

MelonFire Community: Caching Web Sites With PEAR Cache

Nick Lo's Blog: RewriteRouter and Zend_Config play together

SitePoint PHP Blog: Best Practices REST API from Scratch Introduction

Michael Nitschinger's Blog: Handling JSON like a boss in PHP

Lorna Mitchell: Five Clues That Your API isn't RESTful


Community Events





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


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

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