News Feed
Sections




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

Happy Accidents:
Orno Skinny Series Part 1 Building a RESTful API
March 19, 2013 @ 11:36:54

On the Happy Accidents site there's a new post talking about building a RESTful API (part one of the series) using the Orno dependency injection and MVC components.

have recently been writing a collection of PHP components exploring different design patterns for building applications. With the MVC layer close to completion I decided to write a couple of guides on how these components could be wired together to achieve several different application formats. First in this series will highlight the power of OrnoDi when used to resolve your objects, to do this we will be building a simple RESTful api with the minimal amount of configuration and bootstrap code.

He includes instructions to install the components (via Composer) and configure the DI container with the needed settings. He shows examples of the autoloading setup, how to handle the routing and how to create the sample model and controller to respond to the sample REST requests.

0 comments voice your opinion now!
rest api orno component mvc dependencyinjection tutorial


blog comments powered by Disqus

Similar Posts

NetTuts.com: How to Use New Relic With PHP & WordPress

Noupe.com: 20 Useful PHP + jQuery Components & Tuts for Everyday Project

Ibuildings techPortal: Doing the Heavy Lifting: Gearman and Magento

DevShed: Paginating Result Sets for a Search Engine Built with MySQL and PHP 5

Joshua Eichorn's Blog: Adding AJAX to a Website step by step, Part II


Community Events





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


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

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