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

PHPMaster.com: Implement Two-Way SMS with PHP

PHPFreaks.com: Working with checkboxes and a database

DevShed: Implementing the ArrayAccess Interface - PHP

DevShed: Implementing the Stage Pattern in PHP 5

Francois Zaninotto's Blog: Validating a YAML file against a schema in PHP


Community Events





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


podcast community application tips developer deployment conference code version language series interview introduction api framework zendserver release list development laravel

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