<?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>WordPress Web Hosting &#187; rapid application development</title>
	<atom:link href="http://www.shrewdies.net/blog/rapid-application-development/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.shrewdies.net</link>
	<description>Business Web Hosting For Shrewdies Not Dummies</description>
	<lastBuildDate>Thu, 01 Jul 2010 06:41:39 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>WordPress Pods Plugin Builder Taking Shape</title>
		<link>http://www.shrewdies.net/1363/wordpress-pods-plugin-builder-taking-shape/</link>
		<comments>http://www.shrewdies.net/1363/wordpress-pods-plugin-builder-taking-shape/#comments</comments>
		<pubDate>Mon, 08 Mar 2010 18:04:18 +0000</pubDate>
		<dc:creator>Keith from shrewdies</dc:creator>
				<category><![CDATA[Function]]></category>
		<category><![CDATA[rapid application development]]></category>
		<category><![CDATA[wordpress plugin]]></category>
		<category><![CDATA[WordPress Pods CMS]]></category>
		<category><![CDATA[WordPress Pods Plugin Builder]]></category>

		<guid isPermaLink="false">http://www.shrewdies.net/?p=1363</guid>
		<description><![CDATA[WordPress Pods CMS plugin is fantastic for adding new content to websites that do not easily fit the standard Page or Post styles. With it&#8217;s easy to use interface, it is good for novice writers, but it also stands on a very powerful data management platform. This makes it a real candidate for Rapid Application [...]]]></description>
			<content:encoded><![CDATA[<div class="kctIntro">WordPress Pods CMS plugin is fantastic for adding new content to websites that do not easily fit the standard Page or Post styles.</p>
<p>With it&#8217;s easy to use interface, it is good for novice writers, but it also stands on a very powerful data management platform.</p>
<p>This makes it a real candidate for Rapid Application Development, but how to package and distribute those applications?</p></div>
<p>Before I present my latest project for building structured WordPress plugins, packaged with properly formatted readme file, straight from the Pods interface let me explain what Pods is.<br />
<span id="more-1363"></span><br />
<h2>WordPress Pods Background</h2>
<p>Pods builds applications by creating data tables and presenting that data on pages, using display templates to keep presentation simple. Going beyond basic table administration, Pages and Templates can include any HTML or PHP code you like to manipulate data. And going beyond that, there are Helpers that can manipulate data before during or after it has been entered.</p>
<p>This means that any extension to WordPress can be coded in Pods. Tasks that do not require data manipulation probably do not need Pods. On the other hand, most plugins do need to use the WordPress database, even if only to store some options. Using Pods makes that data easy to maintain and it&#8217;s structure means that it is very easy to build reusable code libraries.</p>
<p>I will explain Pods Data, Template, Page and Helper features in more detail when I explain how my Pods projects work. First let&#8217;s look at my current to build WordPress plugins using Pods.</p>
<h2>WordPress Pods Plugin Builder</h2>
<p>Pods already does a good job of easing distribution of projects. It is extremely easy to bundle your project components together and export them as a Pods Package. The <a href="http://podscms.org/packages/">Pods CMS site has several examples of these packages</a> which as well as being useful in their own right, can be used to learn various techniques.</p>
<p>These packages can be pasted directly into Pods, or loaded programatically, as demonstrated in the Pods UI demo. This makes distribution very easy, but there is one vital thing missing for most projects, and another missing for many.</p>
<p>The vital missing part is data. Though pods can export and import data, this is not part of the Pods package process. If you are handling a project for a client, it is very easy to move data to your clients site by exporting and importing, but it is not possible to supply a single package including code and data.</p>
<p>For most Pods projects, that data problem is the only one, and the import and export routines simply mean you have to distribute code and data separately. For many of my projects, I want to provide WordPress plugin functionality. This means that I need at least one plugin file to hook the functions into WordPress.</p>
<p>My Pods Plugin Builder produces standard format WordPress plugin files from Pods. The plugin it produces will load a Pods package, load the data, and add the hooks that WordPress needs. It also produces a correctly formatted readme.txt file which is so important if you want people to be able to find your plugin in the WordPress repository.</p>
<p>I passed a milestone today when I used the package to produce my first plugin.</p>
<h2>WordPress Pods Plugin Builder: Next Steps</h2>
<p>In the next few articles I will:</p>
<ul>
<li>Describe the package in detail, including work still to do, and potential additional features.</li>
<li>Introduce the plugin that this package has produced, and describe how key features of Pods work.</li>
<li>Apply the package to my shrewdBar &#038; shrewdChat projects.</li>
<li>Release the package for wider testing and distribution.</li>
</ul>
<p><!--more--><div style="margin-left:-1em;"><table><tr><td><script type="text/javascript"><!--
google_ad_client = "pub-7512621270035949";
/* shrewdies 300x250, created 22/12/09 */
google_ad_slot = "4026195862";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></td><td>
<script type="text/javascript"><!--
ch_client = "GoutPal";
ch_type = "mpu";
ch_width = 300;
ch_height = 250;
ch_color_bg = "ffffff";
ch_color_border = "ffffff";
ch_color_title = "00009e";
ch_color_site_link = "00009e";
ch_non_contextual = 4;
ch_vertical ="premium";
ch_sid = "ShrewdiesReward";
ch_alternate_ad_url = "http://www.shrewdies.net/ad.html";
var ch_queries = new Array( );
var ch_selected=Math.floor((Math.random()*ch_queries.length));
if ( ch_selected < ch_queries.length ) {
ch_query = ch_queries[ch_selected];
}
//--></script>
<script  src="http://scripts.chitika.net/eminimalls/amm.js" type="text/javascript">
</script></td></tr></table></div></p>
]]></content:encoded>
			<wfw:commentRss>http://www.shrewdies.net/1363/wordpress-pods-plugin-builder-taking-shape/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Pods WordPress Plugin</title>
		<link>http://www.shrewdies.net/466/pods-wordpress-plugin/</link>
		<comments>http://www.shrewdies.net/466/pods-wordpress-plugin/#comments</comments>
		<pubDate>Sat, 30 Jan 2010 15:46:52 +0000</pubDate>
		<dc:creator>Keith from shrewdies</dc:creator>
				<category><![CDATA[Function]]></category>
		<category><![CDATA[rapid application development]]></category>
		<category><![CDATA[relational database]]></category>
		<category><![CDATA[Simple:Press]]></category>
		<category><![CDATA[WordPress Pods CMS]]></category>

		<guid isPermaLink="false">http://www.shrewdies.net/?p=466</guid>
		<description><![CDATA[The Pods WordPress plugin is driving me crazy. Mad with admiration one minute, mad with frustration the next. It&#8217;s like breaking your leg when you jump around to celebrate a lottery win. Fantastic find &#8211; frustrating failings. Let me say first, that so far, I believe the potential of this plugin is tremendous. I&#8217;m just [...]]]></description>
			<content:encoded><![CDATA[<div class="kctIntro">The <a href="http://pods.uproot.us/">Pods WordPress plugin</a> is driving me crazy.</p>
<p>Mad with admiration one minute, mad with frustration the next.</p>
<p>It&#8217;s like breaking your leg when you jump around to celebrate a lottery win. Fantastic find &#8211; frustrating failings.</p></div>
<p>Let me say first, that so far, I believe the potential of this plugin is tremendous. I&#8217;m just letting off a bit of steam here because the excitement of finding a truly great WordPress plugin is making me emotional about the rough edges. I am certain those rough edges can be easily smoothed. The proof of the pudding will come in a day or so, when I complete my replacement toolbar.</p>
<p>The developers describe it as:</p>
<blockquote><p>WordPress evolved.<br />
Pods is a CMS framework for WordPress.<br />
It&#8217;s a plugin that sits on top of WordPress, allowing you to add and display your own content types.</p></blockquote>
<p>I see it as a Rapid Application Development (RAD) tool that could change the way we look at plugins. </p>
<p>Why am I so pleased with this gem?</p>
<p>For months, I have been looking for an easy way to work with extra data tagged onto WordPress. With a background in relational database planning and management, it is frustrating to have to workround things like usermeta &#038; WordPress options. Also, I like simple but comprehensive forms to manage linked data, and it  is daunting to have to code a relational database application to integrate with WordPress.</p>
<p>I can see that it can be done. <a href="http://www.shrewdies.net/290/simplepress-forum-simplified/">Simple:Press forum</a> is a prime example of integrating a rich database application into WordPress, but it has a scary amount of code and complex field relationships, with little in the way of generic routines that can be adapted for other applications.</p>
<p>Other tools I have seen, only allow simple flat file manipulation, and would need a lot of adapting to tackle relationships. Enter Pods &#8211; an easy way to add relational tables as separate applications, or linked into WordPress users or posts. Amazing potential, and amazingly easy to use.</p>
<p>So what are the problems?</p>
<p>Not much if you are familiar with coding, and do not mind getting your hands dirty.
<ul>
<li>The user guide is very poor in examples, and I suspect some of it is out of date, as the plugin is still on a steep development curve. </li>
<li>The forum, and the guide, have been radically pruned recently, so just as you think you have found an answer to something &#8211; click &#8211; 404 not found!</li>
<li>Pods has a great way of attaching code to fields called helpers, but the names of these have been changed in the latest release, so many of the example packages do not work. However, it is very easy to find and replace on these, so very easy to fix &#8211; I&#8217;m just surprised it should be necessary.</li>
</ul>
<p>So that&#8217;s a very brief introduction to Pods. I&#8217;ll go and finish the toolbar, then go through some code over the next few posts to show you just how easy it is to build an application. Early days yet, but I think this might be the answer to my nightmare about the lack of good, well-structured example plugins.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.shrewdies.net/466/pods-wordpress-plugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
