News Feed
Sections




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

Phil Sturgeon's Blog:
Video Set up a REST API with CodeIgniter
March 21, 2011 @ 11:50:56

Phil Sturgeon has posted a new screencast to his blog today showing you how to set up a REST controller with CodeIgniter, covering some of of the things you'll need to get up and running.

I wrote up an article on NetTuts last year "Working with RESTful Services in CodeIgniter" hoping that would cover the majority of questions but with new features like API Keys, Limiting and Logging being added I thought a quick run-through was in order. This video covers the basic implementation, HTTP Basic/Digest authentication, format switching and goes onto the new API Key and logging features.

He starts from scratch and creates configuration files, controllers and views. He shows how to create some sample controllers based off of a REST_Controller base and handling the different request types (GET, POST, etc) with different methods. You can find the code for the REST_Controller over on github.

0 comments voice your opinion now!
codeigniter rest api video screencast tutorial


blog comments powered by Disqus

Similar Posts

PHPMaster.com: Practical Code Refactoring, Part 2 - Readability

DevShed: Using the Observer Design Pattern with Static Data in PHP 5

IBM developerWorks: Paint 3-D images with PHP

DevShed: The Basics of Implementing Adapter Objects with PHP

GoodPHPTutorials.com: SQL Injections in PHP with MySQL


Community Events





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


laravel list conference language voicesoftheelephpant library series podcast artisanfiles composer security framework introduction opinion symfony community tool release version interview

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