<?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>PHP, CSS, HTML, Web &#38; beyond &#187; networking</title>
	<atom:link href="http://www.joseairosa.com/tag/networking/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.joseairosa.com</link>
	<description>Programming Tips &#38; Tricks</description>
	<lastBuildDate>Mon, 23 Jan 2012 12:46:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>WP-RESTful WordPress Plugin</title>
		<link>http://www.joseairosa.com/2010/06/29/wp-restful-wordpress-plugin/</link>
		<comments>http://www.joseairosa.com/2010/06/29/wp-restful-wordpress-plugin/#comments</comments>
		<pubDate>Tue, 29 Jun 2010 10:56:51 +0000</pubDate>
		<dc:creator>José P. Airosa</dc:creator>
				<category><![CDATA[Guide]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Plugins]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[api]]></category>
		<category><![CDATA[extension]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[rest]]></category>
		<category><![CDATA[restful]]></category>

		<guid isPermaLink="false">http://www.joseairosa.com/?p=246</guid>
		<description><![CDATA[Hello! I&#8217;m 99% sure that you already heard about APIs or REST APIs, it&#8217;s what Twitter, flickr and a lot more companies use to share they&#8217;re resources with a consumer. A consumer can be anything from a website (for example, showing your Twitter updates on your blog or personal website) to a desktop / mobile [...]]]></description>
			<content:encoded><![CDATA[<p>Hello!</p>
<p>I&#8217;m 99% sure that you already heard about APIs or REST APIs, it&#8217;s what Twitter, flickr and a lot more companies use to share they&#8217;re resources with a consumer.<br />
A consumer can be anything from a website (for example, showing your Twitter updates on your blog or personal website) to a desktop / mobile application (iPhone, Android, Windows Mobile, &#8230;).<br />
This is possible because all information sent to and from the API is encoded in either two common, inter-platform language, XML and JSON.<br />
The difference between a regular API and a REST API is on the way they work. A REST API requires two entities to work, a client and a server.</p>
<h3><a title='Original Link: http://wordpress.org/extend/plugins/wp-restful/'  href="http://www.joseairosa.com/?Ndwkpfbo" target="_blank">Download WP-RESTful</a> <em>(Version 0.1)</em></h3>
<h3><a title='Original Link: http://wordpress.org/extend/plugins/wp-restful-users-plugin/'  href="http://www.joseairosa.com/?MHcP7Ghn" target="_blank">Download WP-RESTful Users Plugin</a> <em>(Version 0.1)</em></h3>
<h3><a title='Original Link: http://wordpress.org/extend/plugins/wp-restful-categories-plugin/'  href="http://www.joseairosa.com/?EyjonMf1" target="_blank">Download WP-RESTful Categories Plugin</a> <em>(Version 0.1)</em></h3>
<h3><a title='Original Link: http://wordpress.org/extend/plugins/wp-restful-tags-plugin/'  href="http://www.joseairosa.com/?tKIJ3z9F" target="_blank">Download WP-RESTful Tags Plugin</a> <em>(Version 0.1)</em></h3>
<h2 style="margin-top: 15px;"><em><strong>Follow me for  real-time updates</strong></em></h2>
<p><a title='Original Link: http://twitter.com/joseairosa'  href="http://www.joseairosa.com/?cXam8aSF">Twitter</a></p>
<h2 style="margin-top: 15px;"><em><strong>How does it work?</strong></em></h2>
<p>WP-RESTful uses OAuth, a widely, commonly and open source API implementation used all over the World (Wide Web).<br />
The way it work is fairly simple.</p>
<p>First a Consumer registers with a Server. At this point the Server will provide the Consumer with 2 tokens, a public and a private token. The public token will be used to communicate and identify the Consumer with the Server while the private token will be stored locally for security and integrity reasons.<br />
After this the Consumer will request the Server with a Request Token. This Request Token will be used to initiate the Authentication Protocol in where the Consumer will be required to authorize the Server.<br />
The Server will create 2 new token (definitive tokens). They will be our authentication tokens.</p>
<p>I know this sounds and seems complicated but you won&#8217;t need to do anything as the Plugin will do almost everything for you (Registration and Authentication process are manual).</p>
<h2 style="margin-top: 15px;"><em><strong>Plugin features</strong></em></h2>
<ul>
<li>Add new Plugins to API Plugin to extend functionalities to any way you want/need. (See next group)</li>
<li>Fully manageable Client and Server side.</li>
<li>Ability to choose what fields are allowed to be returned to the consumer.</li>
<li>Ability to restrict modules to OAuth authentication process or liberated them and make them open.</li>
<li>Load balance system where you can specify how many requests a given consumer is allowed in a 60 minute timeframe.</li>
<li>Out of the box Post and Comments management.</li>
<li>And much more&#8230;</li>
</ul>
<h2 style="margin-top: 15px;"><em><strong>Plugins</strong></em></h2>
<p>As stated on &#8220;Plugin Features&#8221; you have the ability to develop and/or add new modules to your REST API. This means, for example, if you use a plugin like WP E-Commerce, you can develop a plugin for the REST API in order to provide support for WP E-Commerce resources.<br />
The way these plugins are developed is very similar to how plugins for WordPress are developed.<br />
You can see this video that explains how plugins work and how you can develop them.</p>
<h2 style="margin-top: 15px;"><em><strong>Requirements?</strong></em></h2>
<p>All requirements for the plugin  to work properly are addressed by the plugin itself, upon activation.  You can see your system status on WP-RESTful link after activation the  plugin.</p>
<h2 style="margin-top: 15px;"><em><strong>How to install?</strong></em></h2>
<p>This plugin is installed like any other WordPress plugin out there.</p>
<ol>
<li>First you need to download it from WordPress Plugin Repository.</li>
<li>Upload the contents of the compacted file to your plugin folder on  your WordPress installation.</li>
<li>Go to your WordPress Administration page and activate the Plugin (Plugins → Installed → WP-RESTful → Activate)</li>
<li>Create a new page, name it API, set the permalink to /api and set the content as &#91;REST_return&#93; and save the page.</li>
<li>Go to WP-RESTful → WP-RESTful to check your system status.</li>
</ol>
<h2 style="margin-top: 15px;"><em><strong><em><strong>I need  help!</strong></em></strong></em></h2>
<p>Check these two videos. They will help you starting up.</p>
<div style="margin: 10px 0;"><object width="556" height="438"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=12940958&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=12940958&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="556" height="438"></embed></object>
<p><a title='Original Link: http://vimeo.com/12940958'  href="http://www.joseairosa.com/?byFNurYF">WP-RESTful &#8211; Starting and setting up</a> from <a title='Original Link: http://vimeo.com/joseairosa'  href="http://www.joseairosa.com/?QcbEwEWF">José Airosa</a> on <a title='Original Link: http://vimeo.com'  href="http://www.joseairosa.com/?tz2GLZGJ">Vimeo</a>.</p>
</div>
<div style="margin: 10px 0;"><object width="556" height="438"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=12941005&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=12941005&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="556" height="438"></embed></object>
<p><a title='Original Link: http://vimeo.com/12941005'  href="http://www.joseairosa.com/?TljfG9PY">WP-RESTful &#8211; Working with Plugins</a> from <a title='Original Link: http://vimeo.com/joseairosa'  href="http://www.joseairosa.com/?QcbEwEWF">José Airosa</a> on <a title='Original Link: http://vimeo.com'  href="http://www.joseairosa.com/?tz2GLZGJ">Vimeo</a>.</p>
</div>
<p>This post will be updated, if needed, to reflect changes made to the  plugin.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.joseairosa.com/2010/06/29/wp-restful-wordpress-plugin/feed/</wfw:commentRss>
		<slash:comments>71</slash:comments>
		</item>
	</channel>
</rss>

