<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Free Web Resources - Web Resources Depot &#187; REST</title>
	<atom:link href="http://www.webresourcesdepot.com/tag/rest/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.webresourcesdepot.com</link>
	<description>Free Web Resources</description>
	<lastBuildDate>Sat, 20 Mar 2010 05:01:56 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How To Create An API? (10 Tutorials)</title>
		<link>http://www.webresourcesdepot.com/how-to-create-an-api-10-tutorials/</link>
		<comments>http://www.webresourcesdepot.com/how-to-create-an-api-10-tutorials/#comments</comments>
		<pubDate>Tue, 14 Jul 2009 07:00:16 +0000</pubDate>
		<dc:creator>Umut M.</dc:creator>
				<category><![CDATA[Extras]]></category>
		<category><![CDATA[Info]]></category>
		<category><![CDATA[No License]]></category>
		<category><![CDATA[Asp.Net]]></category>
		<category><![CDATA[Php]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[REST]]></category>
		<category><![CDATA[SOAP]]></category>

		<guid isPermaLink="false">http://www.webresourcesdepot.com/?p=1033</guid>
		<description><![CDATA[Behind almost every successful web application, there is an easy-to-use &#38; feature-rich API as they simply help the main application to spread into others &#38; 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 [...]]]></description>
			<content:encoded><![CDATA[<p><img height="130" width="130" align="left" src="http://www.webresourcesdepot.com/wp-content/uploads/image/api-icon.jpg" alt="API Icon" style="margin-right: 5px;" />Behind almost every successful web application, there is an <strong>easy-to-use &amp; feature-rich API</strong> as they simply help the main application to spread into others &amp; reached by more users.</p>
<p>Also, an API-enabled application <strong>can be easily developed further</strong> using the API itself.</p>
<p>In order to <strong>create an API</strong> for your web application, here are <strong>10 tutorials to get you started</strong>. But before that, you may want to checkout the video: <a href="http://www.youtube.com/watch?v=aAb7hSCtvGw" target="_blank">How To Design A Good API and Why it Matters</a> by Google.</p>
<p>&nbsp;</p>
<h2>PHP</h2>
<hr />
<h3><a target="_blank" href="http://www.gen-x-design.com/archives/create-a-rest-api-with-php/">Create a REST API with PHP</a></h3>
<p><a target="_blank" href="http://www.gen-x-design.com/archives/create-a-rest-api-with-php/"><img height="146" width="480" alt="Create REST API With PHP" src="http://www.webresourcesdepot.com/wp-content/uploads/image/create-rest-api.jpg" /></a></p>
<p>A very detailed yet easy-to-implement<strong> tutorial on creating a REST API with PHP</strong>.</p>
<p>And, there is a follow-up article:&nbsp;&quot;<a href="http://www.gen-x-design.com/archives/making-restful-requests-in-php/" target="_blank">Making RESTful Requests in PHP</a>&quot; by the same author which can guide you as well.</p>
<h3><a href="http://particletree.com/features/how-to-add-an-api-to-your-web-service/" target="_blank">How to Add an API to your Web Service (PHP)</a></h3>
<p><a href="http://particletree.com/features/how-to-add-an-api-to-your-web-service/" target="_blank"><img height="146" width="480" src="http://www.webresourcesdepot.com/wp-content/uploads/image/create-api-php.gif" alt="Create API PHP" /></a></p>
<p>A detailed tutorial which describes the concepts like REST, SOAP &amp; creates an API&nbsp;step-by-step with <strong>PHP</strong>.</p>
<p><span id="more-1033"></span></p>
<h3><a target="_blank" href="http://blog.realmofzod.com/2009/05/06/implement-a-rest-api-with-the-zend-framework/">Implement a Rest API with the Zend Framework</a></h3>
<p><a target="_blank" href="http://blog.realmofzod.com/2009/05/06/implement-a-rest-api-with-the-zend-framework/"><img height="146" width="480" alt="API With Zend" src="http://www.webresourcesdepot.com/wp-content/uploads/image/api-with-zend.gif" /></a></p>
<p>This example utilizes controllers in an MVC style application. Most of the stuff is handled by an instance of&nbsp; Zend_Rest_Server so it shows implementing to our service.</p>
<h3><a href="http://www.j2fi.net/2009/05/24/simple-api/" target="_blank">Creating a Simple REST API With VB, PHP and MySQL</a></h3>
<p><a href="http://www.j2fi.net/2009/05/24/simple-api/" target="_blank"><img height="146" width="480" src="http://www.webresourcesdepot.com/wp-content/uploads/image/api-with-php-mysql-vbscript.gif" alt="REST API With PHP,MySQL &amp; VBScript" /></a></p>
<p>This article covers both <strong>creating an API with PHP</strong> where the data is stored in a MySQL&nbsp;database &amp; reaching to the API with a VBScript file.</p>
<h3><a target="_blank" href="http://www.codewalkers.com/c/a/Miscellaneous/Create-Your-Own-Custom-API/">Create Your Own Custom API (PHP)</a></h3>
<p><a target="_blank" href="http://www.codewalkers.com/c/a/Miscellaneous/Create-Your-Own-Custom-API/"><img height="146" width="480" alt="Create A Custom API" src="http://www.webresourcesdepot.com/wp-content/uploads/image/how-to-php-api.gif" /></a></p>
<p>The tutorial describes a PHP API returning XML data in 6 steps:</p>
<ul>
<li>Create Your Own Custom API</li>
<li>Developing the basic API layout</li>
<li>The Client</li>
<li>The Server</li>
<li>The Server Class</li>
<li>The &quot;Test&quot; Step</li>
</ul>
<h3><a href="http://www.recessframework.org/page/towards-restful-php-5-basic-tips" target="_blank">Towards RESTful PHP &#8211; 5 Basic Tips</a></h3>
<p><a href="http://www.recessframework.org/page/towards-restful-php-5-basic-tips" target="_blank"><img height="146" width="480" src="http://www.webresourcesdepot.com/wp-content/uploads/image/php-api-tips.gif" alt="PHP API Tips" /></a></p>
<p>Ok, this is not a tutorial but includes very handy tips that can be used when <strong>creating a REST&nbsp;API with PHP</strong> for the security &amp; ease of usage of the API.</p>
<p>&nbsp;</p>
<h2>Rails</h2>
<hr />
<h3><a target="_blank" href="http://hinchcliffe.org/archive/2008/01/10/16613.aspx">Creating Open Web APIs: Exploring REST and WOA in Rails 2.0</a></h3>
<p><img height="146" width="480" alt="Creating Open Web APIs" src="http://www.webresourcesdepot.com/wp-content/uploads/image/create-open-web-api.gif" /></p>
<p>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&quot;. The tutorial explains how to use it in detail.</p>
<h3><a target="_blank" href="http://www.whatcodecraves.com/articles/2008/11/25/how_to_make_an_api_for_a_rails_app/">How to Make an API for a Rails App?</a></h3>
<p><a target="_blank" href="http://www.whatcodecraves.com/articles/2008/11/25/how_to_make_an_api_for_a_rails_app/"><img height="146" width="480" alt="Creating An API For Rails Application" src="http://www.webresourcesdepot.com/wp-content/uploads/image/api-for-rails-application.gif" /></a></p>
<p>The article describes the 2 options for creating an API:</p>
<ul>
<li>HTTP Basic Auth</li>
<li>Using API key</li>
</ul>
<p>and provides example codes o get you started.</p>
<h3><a href="http://www.xml.com/pub/a/2006/04/19/rest-on-rails.html?page=3" target="_blank">Putting REST on Rails</a></h3>
<p><a href="http://www.xml.com/pub/a/2006/04/19/rest-on-rails.html?page=3" target="_blank"><img height="146" width="480" src="http://www.webresourcesdepot.com/wp-content/uploads/image/rails-and-rest.jpg" alt="Ruby on Rails And Rest" /></a></p>
<p>The tutorial uses the <a href="http://rubyforge.org/projects/restful-rails/" target="_blank">RESTful Rails Controller</a> &amp; creates a simple RESTful Rails application with a full test suite and HTTP method dispatching.</p>
<p>&nbsp;</p>
<h2>ASP.NET</h2>
<hr />
<h3><a target="_blank" href="http://msmvps.com/blogs/omar/archive/2008/10/03/create-rest-api-using-asp-net-mvc-that-speaks-both-json-and-plain-xml.aspx">Create REST API using ASP.NET MVC (JSON &amp; XML)</a></h3>
<p><a target="_blank" href="http://msmvps.com/blogs/omar/archive/2008/10/03/create-rest-api-using-asp-net-mvc-that-speaks-both-json-and-plain-xml.aspx"><img height="146" width="480" alt="Create API With Asp.Net" src="http://www.webresourcesdepot.com/wp-content/uploads/image/api-with-asp-net.gif" /></a></p>
<p>A solid start to <strong>creating your own REST&nbsp;API with ASP.NET MVC</strong>.</p>
<p>Considering, depending on the type of the request you may want to sendXML&nbsp;or JSON data, the tutorial provides a class which can return both.</p>
<p>&nbsp;</p>
<h2>Other Information on APIs</h2>
<p>There are also various <strong>frameworks for creating APIs</strong> easily like <a target="_blank" href="http://wso2.org/projects/wsf/">WSO2 WSF</a>, <a target="_blank" href="http://www.recessframework.org/">Recess PHP framework</a>, <a target="_blank" href="http://tonic.sourceforge.net/">Tonic</a> &amp; more.</p>
<h3>Books On Creating An API</h3>
<ul>
<li><a href="http://www.amazon.com/gp/product/0596529260?ie=UTF8&amp;tag=webre02-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=0596529260" target="_blank">RESTful Web Services</a><img height="1" width="1" border="0" style="border: medium none  ! important; margin: 0px ! important;" alt="" src="http://www.assoc-amazon.com/e/ir?t=webre02-20&amp;l=as2&amp;o=1&amp;a=0596529260" /></li>
<li><a href="http://www.amazon.com/gp/product/0596102356?ie=UTF8&amp;tag=webre02-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=0596102356" target="_blank">Building Scalable Web Sites: Building, scaling, and optimizing the next generation of web applications</a><img height="1" width="1" border="0" style="border: medium none  ! important; margin: 0px ! important;" alt="" src="http://www.assoc-amazon.com/e/ir?t=webre02-20&amp;l=as2&amp;o=1&amp;a=0596102356" /><a href="http://www.amazon.com/gp/product/1847195520?ie=UTF8&amp;tag=webre02-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=1847195520"><br />
    </a></li>
<li><a href="http://www.amazon.com/gp/product/1847195520?ie=UTF8&amp;tag=webre02-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=1847195520" target="_blank">RESTful PHP Web Services</a><img height="1" width="1" border="0" style="border: medium none  ! important; margin: 0px ! important;" alt="" src="http://www.assoc-amazon.com/e/ir?t=webre02-20&amp;l=as2&amp;o=1&amp;a=1847195520" /></li>
<li><a href="http://www.amazon.com/gp/product/1590596331?ie=UTF8&amp;tag=webre02-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=1590596331" target="_blank">Pro PHP XML and Web Services</a><img height="1" width="1" border="0" style="border: medium none  ! important; margin: 0px ! important;" alt="" src="http://www.assoc-amazon.com/e/ir?t=webre02-20&amp;l=as2&amp;o=1&amp;a=1590596331" /></li>
<li><a href="http://www.amazon.com/gp/product/1590598067?ie=UTF8&amp;tag=webre02-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=1590598067" target="_blank">Web Development Solutions: Ajax, APIs, Libraries, and Hosted Services Made Easy</a><img height="1" width="1" border="0" style="border: medium none  ! important; margin: 0px ! important;" alt="" src="http://www.assoc-amazon.com/e/ir?t=webre02-20&amp;l=as2&amp;o=1&amp;a=1590598067" /></li>
<li><a href="http://www.amazon.com/gp/product/1430209739?ie=UTF8&amp;tag=webre02-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=1430209739" target="_blank">Practical API Design: Confessions of a Java Framework Architect</a><img height="1" width="1" border="0" style="border: medium none  ! important; margin: 0px ! important;" alt="" src="http://www.assoc-amazon.com/e/ir?t=webre02-20&amp;l=as2&amp;o=1&amp;a=1430209739" /></li>
<li><a href="http://www.amazon.com/gp/product/059652112X?ie=UTF8&amp;tag=webre02-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=059652112X" target="_blank">Java Web Services: Up and Running</a><img height="1" width="1" border="0" style="border: medium none  ! important; margin: 0px ! important;" alt="" src="http://www.assoc-amazon.com/e/ir?t=webre02-20&amp;l=as2&amp;o=1&amp;a=059652112X" /><a href="http://www.amazon.com/gp/product/1847195520?ie=UTF8&amp;tag=webre02-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=1847195520"><br />
    </a></li>
<li><a href="http://www.amazon.com/gp/product/9993792918?ie=UTF8&amp;tag=webre02-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=9993792918" target="_blank">Developing Web Services with Apache Axis2</a><img height="1" width="1" border="0" style="border: medium none  ! important; margin: 0px ! important;" alt="" src="http://www.assoc-amazon.com/e/ir?t=webre02-20&amp;l=as2&amp;o=1&amp;a=9993792918" /></li>
</ul>
<p><strong>Special Downloads:</strong><br />
<a href="http://www.webresourcesdepot.com/?download=jBasket" target="_blank">Ajaxed Add-To-Basket Scenarios With jQuery And PHP</a><br />
<a href="http://www.webresourcesdepot.com/?download=Free-Admin-Template" target="_blank">Free Admin Template For Web Applications</a><br />
<a href="http://www.webresourcesdepot.com/?download=jQuery-Dynamic-Drag-Drop" target="_blank">jQuery Dynamic Drag&#8217;n Drop</a><br />
<a href="http://www.webresourcesdepot.com/?download=sTwitter-1-0" target="_blank">ScheduledTweets</a></p>
<p><strong>Advertisements:</strong><br />
<a href="http://www.sslmatic.com" target="_blank">SSLmatic &#8211; Cheap SSL Certificates (from $19.99/year)</a><br />
<a href="http://twitter.com/umutm" target="_blank">Follow WebResourcesDepot At Twitter And Get More Resources!</a></p>

	Tags: <a href="http://www.webresourcesdepot.com/tag/aspnet/" title="Asp.Net" rel="tag">Asp.Net</a>, <a href="http://www.webresourcesdepot.com/tag/php/" title="Php" rel="tag">Php</a>, <a href="http://www.webresourcesdepot.com/tag/rails/" title="Rails" rel="tag">Rails</a>, <a href="http://www.webresourcesdepot.com/tag/rest/" title="REST" rel="tag">REST</a>, <a href="http://www.webresourcesdepot.com/tag/soap/" title="SOAP" rel="tag">SOAP</a><br />

	<h4>Related posts</h4>
	<ul class='st-related-posts'>
	<li><a href="http://www.webresourcesdepot.com/share-and-find-codes-you-need-with-snipplr/" title="Share And Find Codes You Need With Snipplr (April 17, 2008)">Share And Find Codes You Need With Snipplr</a></li>
	<li><a href="http://www.webresourcesdepot.com/free-flash-charts-from-fusioncharts/" title="Free Flash Charts From FusionCharts (November 17, 2008)">Free Flash Charts From FusionCharts</a></li>
	<li><a href="http://www.webresourcesdepot.com/event-calendar-with-asp-php-aspnet-support/" title="Event Calendar With ASP-PHP-ASP.NET Support (June 10, 2008)">Event Calendar With ASP-PHP-ASP.NET Support</a></li>
	<li><a href="http://www.webresourcesdepot.com/detect-mobile-browsers-using-any-language/" title="Detect Mobile Browsers Using Any Language (November 30, 2009)">Detect Mobile Browsers Using Any Language</a></li>
	<li><a href="http://www.webresourcesdepot.com/ajax-upload-script-with-php-net-or-coldfusion/" title="Ajax Upload Script With PHP, .NET Or Coldfusion (November 12, 2009)">Ajax Upload Script With PHP, .NET Or Coldfusion</a></li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.webresourcesdepot.com/how-to-create-an-api-10-tutorials/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
	</channel>
</rss>

<!-- This site's performance optimized by W3 Total Cache. Dramatically improve the speed and reliability of your blog!

Learn more about our WordPress Plugins: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced) (user agent is rejected)
Database Caching 9/21 queries in -2.811 seconds using disk

Served from: www.webresourcesdepot.com @ 2010-03-21 03:06:08 -->