News Feed
Sections




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

PHPBuilder.com:
Building RESTful APIs with the Slim Microframework
October 06, 2011 @ 10:12:07

On PHPBuilder.com today there's a new tutorial from Jason Gilmore about building a simple RESTful API with Slim, a microframework for PHP.

Although a relatively new entrant in the PHP framework sweepstakes, I've been lately quite intrigued by Slim, a slick RESTful microframework modeled after Ruby's Sinatra, which is coincidentally by far my favorite microframework available for any programming language. In this article I'll show you just how easy it is to get started building a powerful RESTful API using this streamlined framework.

Setup of the framework is as simple as downloading the latest copy from its github repository. It can then be included and used to make the simple routes in his examples. He uses a "games" request type to show how to handle GET, POST and PUT requests through Slim's simple interface.

1 comment voice your opinion now!
tutorial restful rest api slim microframework put get post


blog comments powered by Disqus

Similar Posts

PHP-Learn-it.com: Starting with PHP and AJAX

HowTo Forge: Installing Lighttpd With PHP5 And MySQL Support On Fedora 7

NetTuts.com: Testing Like a Boss in Laravel: Models

Job Posting: Next Internet Seeks Senior Software Engineer (San Francisco, CA)

Volker Dusch's Blog: Setting up Hudson for PHP Projects in 15 minutes


Community Events





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


list podcast symfony2 series community threedevsandamaybe unittest configure language introduction interview developer laravel opinion code testing release install framework refactor

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