News Feed
Sections




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

Zend Developer Zone:
Create APIs with FRAPI
October 20, 2010 @ 09:13:58

New on the Zend Developer Zone is a tutorial from Trevor Morse about creating an API with the help of FRAPI, a tool built to make creating API interfaces simple and easy by providing a framework to build on top of rather than rolling your own.

You have been asked to create a RESTful API to allow access to all the great features of your application. Of course there are a few options; you could write the code yourself to handle all the new API functionality, or you could use an existing framework that handles most of this for you. When starting to look at creating a RESTful API for web2project I came across FRAPI and loved what I saw.

He introduces FRAPI and talks about some of the features it includes including a nice testing interface so you don't have to have a separate tool. He goes through the process of creating a new action - setting up a route, adding parameters - and how FRAPI automatically generates the classes you'll need to respond correctly to REST requests. He goes on to talk about setting response codes, scalability concerns and how to integrate it into a project.

0 comments voice your opinion now!
frapi api rest tutorial interface


blog comments powered by Disqus

Similar Posts

Cats Who Code: Sending SMS with PHP and TextMagic: An A to Z guide

DevShed: Comparing Files and Databases with PHP Benchmarking Applications

Happy Accidents: Orno Skinny Series Part 1: Building a RESTful API

SitePoint PHP Blog: How to Use the JsonSerializable Interface

Fabien Potencier's Blog: Create your own framework... on top of the Symfony2 Components (part 2)


Community Events





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


configure interview podcast application library laravel code community api list bugfix release wordpress series framework threedevsandamaybe developer language introduction project

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