<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Wed, 22 May 2013 11:40:20 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[NetTuts.com: Create WordPress Plugins with OOP Techniques]]></title>
      <guid>http://www.phpdeveloper.org/news/16368</guid>
      <link>http://www.phpdeveloper.org/news/16368</link>
      <description><![CDATA[<p>
On NetTuts.com today there's a guide to help you <a href="http://net.tutsplus.com/tutorials/wordpress/create-wordpress-plugins-with-oop-techniques/">create WordPress plugins</a> with object-oriented code instead of procedural method. This means better encapsulation, reusability and more maintainable code.
</p>
<blockquote>
Object-oriented code, among other things, can help organize and add reusability to your code. In this tutorial, I will teach you the basics of writing a WordPress plugin using object oriented techniques. We'll be using Dribble's API as an example for this tutorial.
</blockquote>
<p>
They walk you through a brief explanation of OOP in WordPress plugins, setting up a shortcode, making a template tag and enabling this shortcode in the WordPress widgets. Their example grabs the latest shots from <a href="http://dribbble.com/">Dribble</a> with a getImage() method that fetches the results from their REST API.
</p>]]></description>
      <pubDate>Fri, 20 May 2011 11:28:31 -0500</pubDate>
    </item>
  </channel>
</rss>
