Web development , php , ajax , symfony, framework, zend
In: web resources
15 Jul 2009
Behind almost every successful web application, there is an easy-to-use & feature-rich API as they simply help the main application to spread into others & reached by more users.
Also, an API-enabled application can be easily developed further using the API itself.
In order to create an API for your web application, here are 10 tutorials to get you started. But before that, you may want to checkout the video: How To Design A Good API and Why it Matters by Google.
A very detailed yet easy-to-implement tutorial on creating a REST API with PHP.
And, there is a follow-up article: "Making RESTful Requests in PHP" by the same author which can guide you as well.
A detailed tutorial which describes the concepts like REST, SOAP & creates an API step-by-step with PHP.
This example utilizes controllers in an MVC style application. Most of the stuff is handled by an instance of Zend_Rest_Server so it shows implementing to our service.
This article covers both creating an API with PHP where the data is stored in a MySQL database & reaching to the API with a VBScript file.
The tutorial describes a PHP API returning XML data in 6 steps:
Ok, this is not a tutorial but includes very handy tips that can be used when creating a REST API with PHP for the security & ease of usage of the API.

As Rails automatically offers URL addressable resources for all the data in a Rails web application, every Rails application already has a ready-to-go RESTful API". The tutorial explains how to use it in detail.
The article describes the 2 options for creating an API:
and provides example codes o get you started.
The tutorial uses the RESTful Rails Controller & creates a simple RESTful Rails application with a full test suite and HTTP method dispatching.
A solid start to creating your own REST API with ASP.NET MVC.
Considering, depending on the type of the request you may want to sendXML or JSON data, the tutorial provides a class which can return both.
There are also various frameworks for creating APIs easily like WSO2 WSF, Recess PHP framework, Tonic & more.
Special Downloads:
Free Admin Template For Web Applications
jQuery Dynamic Drag’n Drop
ScheduledTweets
Advertisements:
SSLmatic – Cheap SSL Certificates (from $19.99/year)
Dreamhost $50 Discount Code: WRD
Follow WebResourcesDepot At Twitter And Get More Resources!
Tags: Asp.Net, Php, Rails, REST, SOAP
This blog delivers stylish and dynamic news for designers and web-developers on all subjects of design, ranging from: CSS, Ajax, Javascript, web design, graphics, typography, advertising & much more. Our goal is to help you communicate effectively on the web with an engaging website or functional interface.