News Feed
Sections




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

Federico Cargnelutti's Blog:
Building a RESTful Web API with PHP and Apify
September 12, 2011 @ 09:10:06

Federico Cargnelutt has a new post to his blog showing you how to create a REST API for your site using the Apify (complete with a shiny new 1.0 release).

Web services are a great way to extend your web application, however, adding a web API to an existing web application can be a tedious and time-consuming task. Apify takes certain common patterns found in most web services and abstracts them so that you can quickly write web APIs without having to write too much code.

Some code snippets are included to build a simple REST service - first some examples with user handling then a more fleshed out example of a controller that lets you fetch "post" information as pulled from a model. A screencast has also been posted showing the library in action.

0 comments voice your opinion now!
webservice rest apify tutorial release screencast


blog comments powered by Disqus

Similar Posts

Brian Moon's Blog: PHP command line progress bar

php[architect]: Sending HTML Emails with Drupal 7, Webform, and Mandrill

CSS Tricks: Create a Slick iPhone/Mobile Interface from any RSS Feed

PHPMaster.com: Tracking Upload Progress with PHP and JavaScript

Simon Jodet: Partial mocks with Mockery


Community Events





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


introduction opinion series security community language tool library composer mvc version symfony interview voicesoftheelephpant update release podcast laravel framework package

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