<?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>Cameron Drysdale</title>
	<atom:link href="http://driz.co.uk/feed" rel="self" type="application/rss+xml" />
	<link>http://driz.co.uk</link>
	<description>Web Standards, HTML, CSS, PHP, JavaScript, WordPress, Textpattern</description>
	<lastBuildDate>Tue, 09 Mar 2010 17:44:26 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0-alpha</generator>
		<item>
		<title>IEBE Census</title>
		<link>http://driz.co.uk/portfolio/web/iebe</link>
		<comments>http://driz.co.uk/portfolio/web/iebe#comments</comments>
		<pubDate>Tue, 09 Mar 2010 17:42:42 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Portfolio]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://driz.co.uk/?p=379</guid>
		<description><![CDATA[
]]></description>
			<content:encoded><![CDATA[
]]></content:encoded>
			<wfw:commentRss>http://driz.co.uk/portfolio/web/iebe/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Test Post</title>
		<link>http://driz.co.uk/uncategorized/test-post</link>
		<comments>http://driz.co.uk/uncategorized/test-post#comments</comments>
		<pubDate>Sat, 20 Feb 2010 21:41:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://driz.co.uk/?p=303</guid>
		<description><![CDATA[Test Post
]]></description>
			<content:encoded><![CDATA[<p>Test Post</p>
]]></content:encoded>
			<wfw:commentRss>http://driz.co.uk/uncategorized/test-post/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress for a CMS</title>
		<link>http://driz.co.uk/blog/wordpress-for-a-cms</link>
		<comments>http://driz.co.uk/blog/wordpress-for-a-cms#comments</comments>
		<pubDate>Mon, 08 Feb 2010 00:04:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[CMS]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://driz.co.uk/?p=266</guid>
		<description><![CDATA[WordPress was designed to be a blogging system but can work as a CMS just as good, but it&#8217;s a little tricky to setup and many people get it wrong (they get it working but it&#8217;s ugly behind the scenes). I have had many years working with WP and I&#8217;m by no mean an expert, [...]]]></description>
			<content:encoded><![CDATA[<p>WordPress was designed to be a blogging system but can work as a CMS just as good, but it&#8217;s a little tricky to setup and many people get it wrong (they get it working but it&#8217;s ugly behind the scenes). I have had many years working with WP and I&#8217;m by no mean an expert, but I&#8217;d be more than confident in saying I&#8217;m extremely competent as using it for a variety of different tasks.</p>
<p><span id="more-266"></span></p>
<h2>Understanding what home.php and index.php do</h2>
<p>This gets everyone confused so it&#8217;s best to explain what these two templates are used for. index.php is the core of a template, WP will use it where ever it can except when it finds a more suitable template file, so for example if your trying to view a date it will look for a date template first then if it can&#8217;t find that it will look for an archive template and then finally the index.php template. What&#8217;s important to understand here is that this is not the home page rather just the core template file and is only used if wp needs to use it! Home.php is a home page template and will be called as the home page template if it exists.</p>
<h2>Changing the home page to a static page</h2>
<p>WordPress allows you to change the home page to a page of your choosing and also a page for the posts. What&#8217;s important to note here is that neither one is required. So for example you can choose your home page but don&#8217;t need to specify one for your posts this is the core part of using WP as a CMS as you&#8217;re unlikely to have just one page of posts unless you just want a blog but perhaps you want both a blog and press release centre and also some other dynamic content. Leaving that option off will allow much better control of your content.</p>
<h2>Homepage doesn&#8217;t have static content</h2>
<p>If your homepage is like mine then you don&#8217;t need a static page at all as all your content is coming from the various sections of the site. In this case you just need to build a shit hot index.php file with custom loops.</p>
<h2>What about index.php?</h2>
<p>So if you haven&#8217;t specified a posts page what happens to index.php? Well it doesn&#8217;t get used for a page no more it gets called when WP needs it (as it should be). So if you query a bunch of posts like /category/news/ then it will call the category.php file if you have one or if not then it will resort to the index.php file. Simple huh?</p>
<h2>Conclusion</h2>
<p>WP kicks ass a CMS and Blogging platform, but as with most things on the web there is more than one day to do things, you could use a static page if your home page is copy heavy and needs to edited like a page, or if your home page is just a bunch of links and categories much like a news site or a personal site like mine then you just need to make your index.php (or home.php if you want to have a truely unique home page) to reflect this. The problem is that this is not easily achievable by all, it takes someone with some concept of HTML/PHP. But hopefully this article will assist some developers out-there with there next client project.</p>
<h2>A better solution!</h2>
<p>Ideally though it would be much better if WordPress supported sections whereby you could assign your categories, pages, and posts to a section. So for example you would your have default section which is what WordPress has right now, and then you could create another one called Blog and one called Portfolio and then assign pages like archives, hire me etc and other content. Best of all you could have proper hierarchy structure much like /portfolio/category/web/ or /portfolio/2010/ instead of everything being relative to the site root.</p>
<h2>Problems?</h2>
<p>Of course like all web applications this isn&#8217;t 100% fool-proof. There  will be issues depending on how you structure your site, but all of them can be easily overcome using a variety of conditional tags.</p>
<p>Let us know your thoughts in the comments.</p>
]]></content:encoded>
			<wfw:commentRss>http://driz.co.uk/blog/wordpress-for-a-cms/feed</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
		<item>
		<title>Another Aside</title>
		<link>http://driz.co.uk/uncategorized/another-aside</link>
		<comments>http://driz.co.uk/uncategorized/another-aside#comments</comments>
		<pubDate>Sat, 06 Feb 2010 01:07:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://driz.co.uk/?p=249</guid>
		<description><![CDATA[some aside text
]]></description>
			<content:encoded><![CDATA[<p>some aside text</p>
]]></content:encoded>
			<wfw:commentRss>http://driz.co.uk/uncategorized/another-aside/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sample Asides</title>
		<link>http://driz.co.uk/uncategorized/sample-asides</link>
		<comments>http://driz.co.uk/uncategorized/sample-asides#comments</comments>
		<pubDate>Sat, 06 Feb 2010 00:54:04 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://driz.co.uk/?p=246</guid>
		<description><![CDATA[This is an asides
]]></description>
			<content:encoded><![CDATA[<p>This is an asides</p>
]]></content:encoded>
			<wfw:commentRss>http://driz.co.uk/uncategorized/sample-asides/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Welcome to v7</title>
		<link>http://driz.co.uk/uncategorized/welcome-to-v7</link>
		<comments>http://driz.co.uk/uncategorized/welcome-to-v7#comments</comments>
		<pubDate>Wed, 03 Feb 2010 22:27:42 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Tag1]]></category>
		<category><![CDATA[Tag2]]></category>
		<category><![CDATA[Tag3]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://driz.co.uk/?p=241</guid>
		<description><![CDATA[Hello 123
]]></description>
			<content:encoded><![CDATA[<p>Hello 123</p>
]]></content:encoded>
			<wfw:commentRss>http://driz.co.uk/uncategorized/welcome-to-v7/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>3MR Form Builder</title>
		<link>http://driz.co.uk/portfolio/web/formbuilder</link>
		<comments>http://driz.co.uk/portfolio/web/formbuilder#comments</comments>
		<pubDate>Fri, 29 Jan 2010 01:31:44 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Portfolio]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[ASP.NET]]></category>

		<guid isPermaLink="false">http://driz.co.uk/?p=233</guid>
		<description><![CDATA[
Client: Home Connections
Technologies: HTML, CSS, JavaScript, ASP.NET

coming soon
]]></description>
			<content:encoded><![CDATA[<ul>
<li><strong>Client:</strong> Home Connections</li>
<li><strong>Technologies:</strong> HTML, CSS, JavaScript, ASP.NET</li>
</ul>
<p>coming soon</p>
]]></content:encoded>
			<wfw:commentRss>http://driz.co.uk/portfolio/web/formbuilder/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FoneFunMembers</title>
		<link>http://driz.co.uk/portfolio/web/fonefunmembers</link>
		<comments>http://driz.co.uk/portfolio/web/fonefunmembers#comments</comments>
		<pubDate>Fri, 29 Jan 2010 01:12:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Portfolio]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://driz.co.uk/?p=218</guid>
		<description><![CDATA[coming soon
]]></description>
			<content:encoded><![CDATA[<p>coming soon</p>
]]></content:encoded>
			<wfw:commentRss>http://driz.co.uk/portfolio/web/fonefunmembers/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nicholas Associates Software</title>
		<link>http://driz.co.uk/portfolio/web/nasoftware</link>
		<comments>http://driz.co.uk/portfolio/web/nasoftware#comments</comments>
		<pubDate>Thu, 22 Oct 2009 19:47:23 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Portfolio]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[nicholas associates]]></category>
		<category><![CDATA[placement]]></category>

		<guid isPermaLink="false">http://driz.co.uk/?p=161</guid>
		<description><![CDATA[I&#8217;m currently on placement at Nicholas Associates Software and my first project was design and develop a website for the company that would showcase the main products and services and serve as a contact point for new customers.

]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m currently on placement at Nicholas Associates Software and my first project was design and develop a website for the company that would showcase the main products and services and serve as a contact point for new customers.</p>
<p><img src="/wp-content/uploads/nasoftware-full.jpg" alt="" /></p>
]]></content:encoded>
			<wfw:commentRss>http://driz.co.uk/portfolio/web/nasoftware/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>smplr</title>
		<link>http://driz.co.uk/portfolio/web/smplr</link>
		<comments>http://driz.co.uk/portfolio/web/smplr#comments</comments>
		<pubDate>Sun, 16 Aug 2009 18:59:21 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Portfolio]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://hermes.hud.ac.uk/u0558234/?p=20</guid>
		<description><![CDATA[Experimental prototype for a Web 2.0 search engine that uses a one-page layout for displaying results.]]></description>
			<content:encoded><![CDATA[<p>Experimental prototype for a Web 2.0 search engine that uses a one-page layout for displaying results.</p>
<p><img src="/wp-content/uploads/smplr-full.jpg" alt="" /></p>
]]></content:encoded>
			<wfw:commentRss>http://driz.co.uk/portfolio/web/smplr/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
