<?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>Jumping Through Hoops &#187; WordPress</title>
	<atom:link href="http://blog.jameshiggs.com/tags/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.jameshiggs.com</link>
	<description>James Higgs&#039;s Blog</description>
	<lastBuildDate>Wed, 03 Feb 2010 14:16:44 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Lightweight vs Heavyweight</title>
		<link>http://blog.jameshiggs.com/2008/01/02/lightweight-vs-heavyweight/</link>
		<comments>http://blog.jameshiggs.com/2008/01/02/lightweight-vs-heavyweight/#comments</comments>
		<pubDate>Wed, 02 Jan 2008 13:16:44 +0000</pubDate>
		<dc:creator>higgis</dc:creator>
				<category><![CDATA[Opinion]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[CMS]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://blog.jameshiggs.com/2008/01/02/lightweight-vs-heavyweight/</guid>
		<description><![CDATA[Nik Silver has a thought-provoking piece on Heavyweight vs Lightweight content management. As the (former) architect of what you might call a middleweight CMS, I find his argument almost totally wrong. As far as I can tell, it amounts to a false syllogism that goes like this:

WordPress is a lightweight CMS
The Guardian use a heavyweight [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://niksilver.com/">Nik Silver</a> has a thought-provoking <a href="http://niksilver.com/2007/12/27/lightweight-versus-heavyweight-the-cost-is-in-the-management/">piece on Heavyweight vs Lightweight content management</a>. As the (former) architect of what you might call a middleweight CMS, I find his argument almost totally wrong. As far as I can tell, it amounts to a false syllogism that goes like this:</p>
<ul>
<li><a href="http://www.wordpress.org">WordPress</a> is a lightweight CMS</li>
<li><a href="http://www.guardianunlimited.co.uk">The Guardian</a> use a heavyweight CMS</li>
<li>WordPress cannot do everything needed for the the Guardian website</li>
<li>Therefore, a heavyweight CMS is better than a lightweight CMS</li>
</ul>
<p>I think the argument he&#8217;s trying to make is that a well-designed system with a <a href="http://weblog.raganwald.com/2007/07/abbreviation-accidental-complexity-and.html">judicious amount of abstraction</a> is better than one without the abstraction. But I don&#8217;t follow his argument that any changes to WordPress would necessarily result in unmaintainable code. In fact, there are numerous newspapers who use WordPress, and several very high traffic sites that use it too. His argument is basically a retread of the tired old-skool IT dirge <em>&#8220;but this isn&#8217;t enterprise software&#8221;</em>. I find this surprising given that Nik is an eloquent advocate of agile methodologies and should, in theory, be sceptical of the idea that software needs to be big to be effective.</p>
<p>He says:</p>
<blockquote><p>Lightweight is often good, but it must have its tradeoffs, otherwise other technologies wouldn’t exist.</p></blockquote>
<p>Really? He seems dangerously close to the &#8216;one true language&#8217; trap here &#8211; an El Dorado of a language that would be perfect for every job and everyone would agree on. This is absurd. Heavyweight software will continue to exist for a long time in my view, mainly because of the vested interests of the corporations that sell it. And not all heavyweight software is bad of course.</p>
<p>Every single decision you make when designing a software system is about compromise &#8211; manageability vs performance, explicitness vs extensibility, productivity vs complexity and so on. Every system you ever use has tradeoffs: not every system <em>needs</em> to be extensible, and not every system needs to be optimised to the limit. I prefer the <a href="http://www.pragprog.com/">Pragmatic Programmers&#8217;</a> advice: &#8220;do the simplest thing that could possibly work.&#8221;</p>
<p>To suggest that WordPress is, out of the box, a viable alternative to an existing bespoke system is faintly silly. Is WordPress the cleanest abstraction possible for a CMS? No &#8211; it&#8217;s targeted pretty much exclusively at blogging. But to suggest that there&#8217;s something difficult about getting ads into a page is a bit weird &#8211; check out <a href="http://www.techcrunch.com">TechCrunch</a> if you don&#8217;t believe me.</p>
<p>Lightweight languages and frameworks (for example, Ruby or Python) are all the rage because they make developers very productive. There are downsides, performance being the most often raised one. Many of these downsides are <a href="http://en.wikipedia.org/wiki/Fear,_uncertainty_and_doubt">FUD</a> though. Everything I see at the moment leads me to think that the days of Java and C# are numbered as the &#8216;enterprise way&#8217;. The productivity you can get out of things like Ruby on Rails is so great that people are going to be forced to re-evaluate the &#8216;heavyweight&#8217; options. The (perceived) performance problems of scripting languages are sure to go away. Remember the days when people hand-wrote assembler because they didn&#8217;t trust the C compiler to optimise their code properly?</p>
<p>In 2007 I failed to learn a new programming language, although I dabbled with<a href="http://en.wikipedia.org/wiki/Objective-C"> Objective-C</a> and <a href="http://en.wikipedia.org/wiki/Cocoa_%28API%29">Cocoa</a>. 2008 will be the year of Python (with a smattering of PHP) for me. There are many places to read more about extending your language knowledge, but I recommend Martin Fowler&#8217;s <a href="http://martinfowler.com/bliki/OneLanguage.html">One Language</a> and <a href="http://martinfowler.com/bliki/ImprovementRavine.html">Improvement Ravine</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.jameshiggs.com/2008/01/02/lightweight-vs-heavyweight/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Getting WordPress, mod_rewrite and Leopard to work together</title>
		<link>http://blog.jameshiggs.com/2007/12/25/getting-wordpress-mod_rewrite-and-leopard-to-work-together/</link>
		<comments>http://blog.jameshiggs.com/2007/12/25/getting-wordpress-mod_rewrite-and-leopard-to-work-together/#comments</comments>
		<pubDate>Tue, 25 Dec 2007 13:28:46 +0000</pubDate>
		<dc:creator>higgis</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[leopard]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://blog.jameshiggs.com/2007/12/25/getting-wordpress-mod_rewrite-and-leopard-to-work-together/</guid>
		<description><![CDATA[I&#8217;ve been trying to get Leopard, Apache 2 and WordPress working together for a while now. I want to use the WordPress friendly URL feature, and this requires the Apache mod_rewrite module to work too. There are various places around the web that have partial solutions to these problems. Here&#8217;s the procedure I followed &#8211; [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been trying to get Leopard, Apache 2 and WordPress working together for a while now. I want to use the WordPress friendly URL feature, and this requires the Apache mod_rewrite module to work too. There are various places around the web that have partial solutions to these problems. Here&#8217;s the procedure I followed &#8211; YMMV</p>
<p>First off, WordPress is installed in <code>/Users/jameshiggs/Sites/blog</code>. Leopard comes with Apache 2.2 installed, but has PHP disabled by default. To correct this, go to the console and change directory to <code>/etc/apache2</code> and open <code>httpd.conf</code> in your favourite editor. For me this means typing:</p>
<pre>sudo mate httpd.conf</pre>
<p>You&#8217;ll probably have to enter your admin password. Find the line that reads:</p>
<pre>#LoadModule php5_module libexec/apache2/libphp5.so</pre>
<p>and uncomment it so that it looks like this:</p>
<pre>LoadModule php5_module libexec/apache2/libphp5.so</pre>
<p>Next, we need to make sure that your user directory allows <code>.htaccess</code> rules. To do this, create a file called <code>jameshiggs.conf</code> (obviously, you&#8217;ll need to replace my user name with yours) in <code>/etc/apache2/users</code>. The contents of that file should read:</p>
<pre>&lt;Directory "/Users/jameshiggs/Sites"&gt;
	Options Indexes MultiViews
	AllowOverride All
	Order allow,deny
	Allow from all
&lt;/Directory&gt;</pre>
<p>Again, you&#8217;ll need to replace my user name with yours.</p>
<p>The final piece of the jigsaw is to configure WordPress to use friendly URLs &#8211; which you do from the Options &gt; Permalinks page. I&#8217;ve selected the second option which makes URLs look like this: <code>http://localhost/~jameshiggs/blog/2007/12/25/sample-post/</code>. If WordPress can write to the site root then it will automatically create the <code>.htaccess</code> file. If not, you&#8217;ll need to create it yourself in the root of your blog site. On my machine, the file should look like this:</p>
<pre>&lt;IfModule mod_rewrite.c&gt;
	Options +FollowSymLinks
	RewriteEngine On
	RewriteBase /~jameshiggs/blog/
	RewriteCond %{REQUEST_FILENAME} !-f
	RewriteCond %{REQUEST_FILENAME} !-d
	RewriteRule . /~jameshiggs/blog/index.php [L]
&lt;/IfModule&gt;</pre>
<p>Finally, you need to restart Apache &#8211; the easiest way to do that is to go to System Preferences &gt; Sharing panel and untick Web Sharing. Once Apache has stopped, tick it again and Apache should start up. And that&#8217;s it.</p>
<p>Let me know if you have any variants to this procedure.</p>
<p>Thanks to <a href="http://www.bagelturf.com/files/a47270927ba7060915782314c984c3a9-1074.html">Bagelturf</a> and <a href="http://danilo.ariadoss.com/2007/12/16/how-to-setup-apache-php-mysql-on-mac-os-x-105-leopard/">Ariadoss</a> for hints that helped me get this running.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.jameshiggs.com/2007/12/25/getting-wordpress-mod_rewrite-and-leopard-to-work-together/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
