<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Journal-ism</title>
	
	<link>http://journal.relativesanity.com</link>
	<description>nerdery, chicanery, curmudgeon</description>
	<pubDate>Tue, 06 Jan 2009 09:31:06 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
	<language>en</language>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/relativesanity/articles" type="application/rss+xml" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><item>
		<title>Staying sane</title>
		<link>http://feedproxy.google.com/~r/relativesanity/articles/~3/4ZqD2Wjl8ns/</link>
		<comments>http://journal.relativesanity.com/2009/01/06/staying-sane/#comments</comments>
		<pubDate>Tue, 06 Jan 2009 09:30:33 +0000</pubDate>
		<dc:creator>jonathan</dc:creator>
		
		<category><![CDATA[business]]></category>

		<category><![CDATA[curmudgeon]]></category>

		<category><![CDATA[design]]></category>

		<category><![CDATA[philosophy]]></category>

		<category><![CDATA[rambling]]></category>

		<guid isPermaLink="false">http://journal.relativesanity.com/?p=133</guid>
		<description><![CDATA[Staying sane is important. Keeping calm under pressure is always preferable to going totally ape, even if you feel the situation warrants it.
The first one to yell loses
There&#8217;s a reason that yelling is often called &#8220;losing it&#8221;. Yelling shows you&#8217;ve lost control, it shows that you&#8217;ve lost sight of what it is you&#8217;re talking about. [...]]]></description>
			<content:encoded><![CDATA[<p>Staying sane is important. Keeping calm under pressure is always preferable to going totally ape, even if you feel the situation warrants it.<span id="more-133"></span><br />
<h2>The first one to yell loses</h2>
<p>There&#8217;s a reason that yelling is often called &#8220;losing it&#8221;. Yelling shows you&#8217;ve lost control, it shows that you&#8217;ve lost sight of what it is you&#8217;re talking about. Yelling means that you&#8217;re trying to beat the other person, not win the argument or express your point.</p>
<p>If you start to feel yourself lose it, just:</p>
<ol>
<li>Smile</li>
<li>Breathe</li>
<li>Go slowly</li>
</ol>
<p>There&#8217;s something much more compelling about a whisper than a yell. <a href="http://www.flickr.com/photos/rsanity/3173652154/">This wallpaper</a> might help you remember.</p>
<img src="http://feeds.feedburner.com/~r/relativesanity/articles/~4/4ZqD2Wjl8ns" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://journal.relativesanity.com/2009/01/06/staying-sane/feed/</wfw:commentRss>
		<feedburner:origLink>http://journal.relativesanity.com/2009/01/06/staying-sane/</feedburner:origLink></item>
		<item>
		<title>Creating nice drop shadows with Fireworks CS4</title>
		<link>http://feedproxy.google.com/~r/relativesanity/articles/~3/FCi8ePI6xKc/</link>
		<comments>http://journal.relativesanity.com/2008/12/02/creating-nice-drop-shadows-with-fireworks-cs4/#comments</comments>
		<pubDate>Tue, 02 Dec 2008 23:04:17 +0000</pubDate>
		<dc:creator>jonathan</dc:creator>
		
		<category><![CDATA[design]]></category>

		<category><![CDATA[howto]]></category>

		<category><![CDATA[rambling]]></category>

		<guid isPermaLink="false">http://journal.relativesanity.com/?p=112</guid>
		<description><![CDATA[ Ever wanted to make some decent-looking drop shadows, but spent ages faffing with airbrushes and filters?
My first screencast
Okay, it&#8217;s not my first screencast, but it&#8217;s the first that&#8217;s been created simply as a how-to. Most of my screencasts have been in direct response to client questions on &#8220;how do I do x in my [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://journal.relativesanity.com/wp-content/uploads/2008/12/icons-picture-1.png" alt="Picture 1.png" border="0" width="85" height="56" align="left" /> Ever wanted to make some decent-looking drop shadows, but spent ages faffing with airbrushes and filters?<span id="more-112"></span></p>
<h2>My first screencast</h2>
<p>Okay, it&#8217;s not my <em>first</em> screencast, but it&#8217;s the first that&#8217;s been created simply as a how-to. Most of my screencasts have been in direct response to client questions on &#8220;how do I do x in my CMS again?&#8221;. Much faster than typing an email, typically.</p>
<p>I use <a href="http://www.flip4mac.com/screenflow.htm">ScreenFlow</a> for capture, and this was all done in one take while waiting for some updates to compile on a Gentoo server.</p>
<h2>Get to the point!</h2>
<p>I ramble a lot. I need to learn to edit this stuff, but hey, you don&#8217;t learn if you don&#8217;t post.</p>
<p>Feedback?</p>
<div class="video">
<object width="549" height="309"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=2408430&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=2408430&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="549" height="309"></embed></object></p>
<p><a href="http://vimeo.com/2408430">Creating nice drop shadows with Fireworks CS4</a> from <a href="http://vimeo.com/user996299">Jonathan Barrett</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
</div>
<p>Oh, and it looks much better in <a href="http://vimeo.com/2408430?pg=embed&#038;sec=2408430&#038;hd=1">HD</a>.</p>
<img src="http://feeds.feedburner.com/~r/relativesanity/articles/~4/FCi8ePI6xKc" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://journal.relativesanity.com/2008/12/02/creating-nice-drop-shadows-with-fireworks-cs4/feed/</wfw:commentRss>
		<feedburner:origLink>http://journal.relativesanity.com/2008/12/02/creating-nice-drop-shadows-with-fireworks-cs4/</feedburner:origLink></item>
		<item>
		<title>Painting the Hammer</title>
		<link>http://feedproxy.google.com/~r/relativesanity/articles/~3/asS_Zr93DRs/</link>
		<comments>http://journal.relativesanity.com/2008/12/01/painting-the-hammer/#comments</comments>
		<pubDate>Mon, 01 Dec 2008 15:57:42 +0000</pubDate>
		<dc:creator>jonathan</dc:creator>
		
		<category><![CDATA[curmudgeon]]></category>

		<category><![CDATA[philosophy]]></category>

		<category><![CDATA[rambling]]></category>

		<guid isPermaLink="false">http://journal.relativesanity.com/?p=102</guid>
		<description><![CDATA[ Remember this.
Languages, frameworks, design patterns, blogs, Photoshop, Fireworks, off-the-shelf products, roll-your-own solutions, operating systems, servers, desktop PCs, laptops, phones, shoes, socks, paradigms: they&#8217;re all just tools.
Craftsmen create. They use their tools and they get the job done.
The end result is the job. The tools are irrelevant to the craftsmen. Don&#8217;t debate others&#8217; choices of [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://journal.relativesanity.com/wp-content/uploads/2008/12/painting-the-hammerb38c662c-123f-482d-943b-b7021159c102.jpg" alt="B38C662C-123F-482D-943B-B7021159C102.jpg" class="illustration" /> Remember this.</p>
<p>Languages, frameworks, design patterns, blogs, Photoshop, Fireworks, off-the-shelf products, roll-your-own solutions, operating systems, servers, desktop PCs, laptops, phones, shoes, socks, paradigms: they&#8217;re all just tools.</p>
<p>Craftsmen create. They use their tools and they get the job done.</p>
<p>The end result is the job. The tools are irrelevant to the craftsmen. Don&#8217;t debate others&#8217; choices of tools - learn from them. That is the path of the artisan.</p>
<p>The more tools you have, the better. The more you use them all, the better.</p>
<p>Anything else is just spending your apprenticeship looking for the perfect hammer, then spending your career painting it.</p>
<img src="http://feeds.feedburner.com/~r/relativesanity/articles/~4/asS_Zr93DRs" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://journal.relativesanity.com/2008/12/01/painting-the-hammer/feed/</wfw:commentRss>
		<feedburner:origLink>http://journal.relativesanity.com/2008/12/01/painting-the-hammer/</feedburner:origLink></item>
		<item>
		<title>PHP is a ghetto</title>
		<link>http://feedproxy.google.com/~r/relativesanity/articles/~3/qg1g00dosIU/</link>
		<comments>http://journal.relativesanity.com/2008/11/18/php-is-a-ghetto/#comments</comments>
		<pubDate>Tue, 18 Nov 2008 14:55:49 +0000</pubDate>
		<dc:creator>jonathan</dc:creator>
		
		<category><![CDATA[curmudgeon]]></category>

		<category><![CDATA[development]]></category>

		<guid isPermaLink="false">http://journal.relativesanity.com/?p=91</guid>
		<description><![CDATA[If you read my last article, I&#8217;m guessing you had one of two reactions. Either &#8220;Oh my science, that&#8217;s me!&#8221;, or &#8220;What an arrogant twat!&#8221;.
My second guess is that if you called me arrogant, your development language of choice for your killer CMS was PHP.
I know. I feel your pain. I&#8217;ve been there. There is [...]]]></description>
			<content:encoded><![CDATA[<p>If you read my <a href="http://journal.relativesanity.com/2008/11/17/how-not-to-build-an-in-house-cms/">last article</a>, I&#8217;m guessing you had one of two reactions. Either &#8220;<a href="http://ohmyscience.org/">Oh my science</a>, that&#8217;s me!&#8221;, or &#8220;What an arrogant twat!&#8221;.</p>
<p>My second guess is that if you called me arrogant, your development language of choice for your killer CMS was PHP.</p>
<p>I know. I feel your pain. I&#8217;ve been there. There is a better way.<span id="more-91"></span></p>
<h2>PHP was good enough for me father, so it&#8217;s good enough for me</h2>
<p>Okay, so now I&#8217;m going to hate on PHP for a bit? What next? Sugar in your gas tank?</p>
<p>Let&#8217;s get one thing straight. I have no problem with PHP as a language. Well, okay, I have a few problems, but in principle I think it&#8217;s a fine platform for developing, well, anything you want. The syntax is a bit flakey, and language consistency is practically non-existent, but it&#8217;s really as good as any other language geared to web development.</p>
<p>I also think there are some great apps written in PHP. In my last post, I mentioned three content management systems that I use regularly. They&#8217;re all PHP-based, and I recommend them all.</p>
<p>So what gives? PHP is a ghetto? How come?</p>
<h2>PHP is too easy</h2>
<p>While it will take me a little while to justify it, my conclusion is simple. PHP is far too easy to hack on and get fast results.</p>
<p>You know what else is too easy? HTML. Let&#8217;s take a little analogy trip back to the late 90s.</p>
<p>Back in the day, HTML was a horrendous tag soup. &#8220;Progress&#8221; was measured by browsers adding proprietary tags to a badly-enforced spec that nobody cared about. We all laid out in tables, we all used massive sliced images to get our message across. Our sites were inaccessible and unsearchable.</p>
<p>But who cared? It was <strong>easy</strong> to build a website. Fire up Front Page, hack about in Photoshop for an afternoon, and boom - one corporate intranet coming right up!</p>
<p>Of course, you could follow the standards if you wanted. You could create great sites without resorting to the nasty tables, but if you did so you were an one of <em>those guys</em> - what was the point?</p>
<p>The point, of course, was maintainability, with an added bonus of learning a whole load about how the web was supposed to work: semantics, presentation separation, scalability, inter-app communcability. These days the cool kids call it &#8220;Web 2.0&#8243;. </p>
<p>Thankfully, the sort of table-driven web design that we saw back then is dying a slow, lingering, but ultimately satisfying death. Designers who still think in terms of CSS being &#8220;that new thing that nobody really uses&#8221; aren&#8217;t occupying many high level positions any more, and it&#8217;s all a bit more disciplined a discipline.</p>
<h2>PHP is still amateur night</h2>
<p>Let&#8217;s haul our analogy back on track. What does this have to do with PHP? The problem is that while the folks running the show at <a href="http://www.php.net/">php.net</a> are desperately trying to enforce some standards, and generally discipline up their users, the users are having none of it. PHP4 just won&#8217;t die, and there are still a lot of professional PHP developers out there who haven&#8217;t moved beyond a few bits of PHP injected into flat files on their server.</p>
<p>PHP is great for quickly adding some functionality to a flat site. That&#8217;s how most of us got into building &#8220;PHP apps&#8221; in the first place. A file here, a login page there, some admin forms and suddenly we&#8217;ve got an app! It&#8217;s untestable, unmaintainable, but it&#8217;s small enough that we don&#8217;t care.</p>
<p>Except we then get adventurous and start hacking at some sort of &#8220;framework&#8221; idea that we have, without realising that we&#8217;ve crossed over to the point where we really need some computer science understanding here. Design patterns? What are they?</p>
<p>Suddenly we have hundreds of .php files in our public_html directory, each one slavishly copying the authentication header include to make sure the right users get to administer the site. Adding a new section? Fire up the FTP client, create a new directory, and make four copies of the &#8220;page&#8221; script.</p>
<p>We might even get creative and use .htaccess to start hacking up our URLs to look nice.</p>
<p>But we&#8217;re still just using glorified server-side includes to activate our pages.</p>
<h2>Go pro</h2>
<p>Most of the good, object oriented, application-thinking PHP developers I know only became that way because of one of two things in their careers:</p>
<ul>
<li>They came to PHP from a comp. sci. background</li>
<li>They left PHP to program in a different language, and came back enlightened</li>
</ul>
<p>This is one of the main reasons that I try to wean PHP developers off PHP as fast as possible when I meet them. I don&#8217;t care if you use Rails, Django, Zope, Erlang or frigging Perl (okay, maybe not Perl) - just get out of the PHP ghetto, and see how the big boys do it.</p>
<p>It&#8217;ll seem weird at first (&#8221;There&#8217;s only one file in the public_html directory!!&#8221;) and you won&#8217;t like it (&#8221;I could do this SO MUCH FASTER if I just wrote some inline PHP to process the form submission&#8221;), but gradually you&#8217;ll start to see all the wins you&#8217;re getting (&#8221;You mean I don&#8217;t have to instantiate the database connection?&#8221;) and the time you end up saving (&#8221;Wow, all my HTML is bundled in a neat package, and I can drop in a new template any time I like!&#8221;).</p>
<p>You&#8217;re then free to come back to PHP and start coding like a <a href="http://www.pbm.com/~lindahl/mel.html">real programmer</a>. You&#8217;ll have a much greater appreciation for how it all works, and that a little discipline saves a lot of time.</p>
<h2>Why the venom?</h2>
<p>The last couple of posts have been pretty vitriolic. They say we hate most in others the faults we see in ourselves, and I&#8217;ve recently been reminded of my &#8220;bad old days&#8221; a few years ago where PHP was my only language, and I loved Rails but didn&#8217;t want to learn Ruby.</p>
<p>I&#8217;ve been working recently on a legacy project from those days, and realise how far I&#8217;ve come. I hope this post and the last one might save someone else the pain.</p>
<p>PHP is bad shit, kids - just say no.</p>
<img src="http://feeds.feedburner.com/~r/relativesanity/articles/~4/qg1g00dosIU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://journal.relativesanity.com/2008/11/18/php-is-a-ghetto/feed/</wfw:commentRss>
		<feedburner:origLink>http://journal.relativesanity.com/2008/11/18/php-is-a-ghetto/</feedburner:origLink></item>
		<item>
		<title>How not to build an in-house CMS</title>
		<link>http://feedproxy.google.com/~r/relativesanity/articles/~3/Gu0PVcjbJNE/</link>
		<comments>http://journal.relativesanity.com/2008/11/17/how-not-to-build-an-in-house-cms/#comments</comments>
		<pubDate>Mon, 17 Nov 2008 13:32:02 +0000</pubDate>
		<dc:creator>jonathan</dc:creator>
		
		<category><![CDATA[blogging]]></category>

		<category><![CDATA[business]]></category>

		<category><![CDATA[curmudgeon]]></category>

		<category><![CDATA[development]]></category>

		<category><![CDATA[How To]]></category>

		<category><![CDATA[Rant]]></category>

		<category><![CDATA[software]]></category>

		<category><![CDATA[Web development]]></category>

		<guid isPermaLink="false">http://journal.relativesanity.com/?p=77</guid>
		<description><![CDATA[It&#8217;s so easy to create a content managed website these days that it&#8217;s often equally easy to be paralysed by choice. This journal runs on WordPress, and uses a modified version of a theme by MidMo Web Design. It took all of 20 minutes from download to test-posting into this theme.
Picking the engine itself, though, [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s so easy to create a content managed website these days that it&#8217;s often equally easy to be paralysed by choice. This journal runs on <a href="http://wordpress.org/">WordPress</a>, and uses a modified version of a theme by <a href="http://midmodesign.com/">MidMo Web Design</a>. It took all of 20 minutes from download to test-posting into this theme.</p>
<p>Picking the engine itself, though, has taken about 2 years, and was based on one thing: immediacy.<span id="more-77"></span></p>
<h2>Choices, choices</h2>
<p>Choice is good, right? Competition is even better. I&#8217;ve recently become jaded with my own erstwhile approach to site management systems. That approach could be boiled down to two simple statements:</p>
<ul>
<li>Content Management Systems are simple</li>
<li>Given enough projects, I can incrementally build my own while getting paid for it</li>
</ul>
<p>The implication being that &#8220;my own&#8221; will be inherently better than any of the off-the-shelf systems that are already out there, because I&#8217;ll understand it from the ground up.</p>
<p>What really happens can be summed up by these parallel statements:</p>
<ul>
<li>CMS is as &#8220;simple&#8221; as word processing: easy to describe, easy to prototype, hard to perfect</li>
<li>Clients are not software designers, and I&#8217;m a scorched-earth perfectionist</li>
</ul>
<p>All of which results in me, having idealised the first two statements, but followed the second two, writing this post two years later.</p>
<h2>Build it in increments -> (step 2) -> profit!</h2>
<p>If you are planning on building an in-house CMS, I&#8217;m assuming that you&#8217;ve already come up with all the rationalising arguments about why it will be &#8220;better&#8221; than off-the-shelf. It doesn&#8217;t matter whether you&#8217;ve convinced yourself that the client&#8217;s requirements are beyond the scope of any existing system, or whether you&#8217;re just full of &#8220;Not Invented Here&#8221; Kool-aid, the point is that you and your team are committed to delivering a CMS to fulfil your client&#8217;s spec.</p>
<p>Of course, what I&#8217;ve just described is a bespoke CMS for a single client. Everyone knows that&#8217;s not scalable to larger projects, so how do we get around that?</p>
<p>All together now:</p>
<blockquote><p>We write the core of the CMS for this client, and build it modularly so that we can just give them what they asked for, but <strong>reuse</strong> the core on the next project!</p></blockquote>
<p>Bingo. Sounds great, doesn&#8217;t it? You make a bit of a time loss on this project, but it&#8217;s an investment, because next time around you&#8217;ll be mainly writing modules for the next client&#8217;s functionality. If the next client has the same spec as this client, it&#8217;s <strong>instant profit</strong>! What can go wrong?</p>
<p>This is where reality creeps in. You build your CMS nice and modularly for the first two weeks. You then realise that you&#8217;re not quite finished the core yet, and you&#8217;ve only got two weeks left to implement the various bits of functionality as modules. You panic. You know what modules you need, so you start building the remainder of the core with those modules in mind. You maybe even start building some modules into the core, promising to refactor them out on the next project, because you finally remembered your <a href="http://www.pragprog.com/titles/tpp/the-pragmatic-programmer">Pragmatic Programmer</a>, and suddenly it&#8217;s all about &#8220;just get it working&#8221;.</p>
<p>You complete the project on time, and what do you have? A half-bespoke, half-modular monster that is going to require a serious refactoring job to make usable for the next project.</p>
<p>However, you&#8217;ve <strong>learned a lot</strong>. This is a key realisation, and often missed. You&#8217;ve learned a hell of a lot, and this is where the rot starts. You&#8217;ve learned so much that you convince yourself that, on the next project, it would be insanity to try to reuse any of what you&#8217;ve just coded. What you decide to do instead is to reuse the <strong>knowledge</strong>. Oh yeah, baby - we salvaged something after all!</p>
<p>So you start coding again from scratch. This time it will be better, you say, since you know how it all went wrong last time, and you&#8217;ve come up with five great new ways of modularising from the get-go. Then client number 2 rolls along.</p>
<h2>One of these kids is kinda different</h2>
<p>So with your newfound &#8220;I get it now!&#8221; knowledge, you start implementing The Plan again. Client 1 was a false start - client 2 is the real deal. Now you know how to make it modular, you&#8217;ll do it right this time.</p>
<p>Except the same thing happens. This time, because you&#8217;re having so much fun coding, and because you&#8217;ve convinced yourself that last time you caved and started coupling the core to the modules too early, you hold out to week three to produce the core CMS. But again, week three rolls around and you&#8217;re still not done. With only one week left to implement the functionality that took you two weeks last time, you start panicking and even more coupling happens. Worse, your project runs over time and is late.</p>
<p>So far, with two projects in the bag, you&#8217;ve overserviced both, pissed off one of the clients by being late, given each a rushed bespoke system (with all the attendant maintenance overheads), and have precisely zero reusable code. Not exactly the outcome you&#8217;d hoped for.</p>
<p>So what went wrong?</p>
<h2>Addiction is curable</h2>
<p>What went wrong is that you failed to notice that your stated goals were not really your goals. Worse, you actually got what you wanted all along.</p>
<p>Huh?</p>
<p>Your implicit goal in building an in-house CMS was to reduce the amount of work you do. You&#8217;ve noticed that servicing your clients is boring, because you&#8217;re constantly writing the same stuff. To fix that, you decide to consciously write that stuff in a way that you can reuse next time.</p>
<p>The logical next step of that is to write an entire <strong>system</strong> that you can reuse next time. This is where the logic breaks down, because there already <strong>are</strong> systems that you can reuse. Right now. You can download <a href="http://modxcms.com/">MODx</a> right now and be at precisely the point you say you want to be at in four weeks.</p>
<p>So why didn&#8217;t you? You didn&#8217;t because your goal isn&#8217;t to reduce the amount of work you do, it&#8217;s to increase it. What you secretly want to do is build a bespoke CMS for every one of your clients. You hope that maybe, one day, you might hit upon a pattern that you can reuse, but you don&#8217;t really care about that. You love coding, you love tweaking and refining and burning it down and starting again. You love it, and you got it.</p>
<h2>Step zero is realising you&#8217;re addicted</h2>
<p>So what are you addicted to? Coding? No - you&#8217;re addicted to the knowledge you&#8217;re learning, to the experience, to &#8220;figuring it out&#8221;. That&#8217;s why it&#8217;s so difficult to locate the source of the problem. When I said &#8220;you wanted to increase your workload&#8221;, you balked, because to you the work is becoming more and more painful.</p>
<p>The knowledge isn&#8217;t, though. You&#8217;re putting up with the pain for the rush of having refined your perfect plan for next time.</p>
<p>And the truth is that your CMS prototypes <em>are</em> getting better all the time. After 5 or 6 more clients, you might have a really solid platform.</p>
<p>Too bad for your first half-dozen alpha and beta testing clients, though.</p>
<h2>Where&#8217;s the exit?</h2>
<p>So how do you break this cycle? You decide which of these is more important to you right now. Do you want to:</p>
<ul>
<li>Build a CMS; or</li>
<li>Streamline your client servicing?</li>
</ul>
<p>You don&#8217;t get both, not right now. If you want to build an in-house CMS, you&#8217;re going to have to commit 6 to 9 months of development time to it, and the client has to be your company, not some real-world project you&#8217;re using to guinea-pig your sketches on. You need to take yourself (and perhaps another developer) off paid work and become software developers, with the attendant investment and payoff cycles that don&#8217;t exist in direct-to-client sales.</p>
<p>That&#8217;s the price. Once you have your CMS, you can start flogging it to people. At that point you can start to &#8220;Streamline your client servicing&#8221;.</p>
<p>Of course, by then, I&#8217;ll be in your sector, stealin&#8217; your clients, because I chose to &#8220;Streamline my client servicing&#8221; straight up using <a href="http://wordpress.org/">WordPress</a> and <a href="http://expressionengine.com/">Expression Engine</a>, with <a href="http://modxcms.com/">MODx</a> in there for the really tricky stuff, and have been having a whale of a time developing modules, plugins and extras for those mature platforms you&#8217;re only starting to catch up with.</p>
<p>Your CMS had better do something unique.</p>
<img src="http://feeds.feedburner.com/~r/relativesanity/articles/~4/Gu0PVcjbJNE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://journal.relativesanity.com/2008/11/17/how-not-to-build-an-in-house-cms/feed/</wfw:commentRss>
		<feedburner:origLink>http://journal.relativesanity.com/2008/11/17/how-not-to-build-an-in-house-cms/</feedburner:origLink></item>
		<item>
		<title>Providing multiple feeds</title>
		<link>http://feedproxy.google.com/~r/relativesanity/articles/~3/ajslG8v81pM/</link>
		<comments>http://journal.relativesanity.com/2008/11/11/providing-multiple-feeds/#comments</comments>
		<pubDate>Tue, 11 Nov 2008 12:18:15 +0000</pubDate>
		<dc:creator>jonathan</dc:creator>
		
		<category><![CDATA[blogging]]></category>

		<category><![CDATA[code]]></category>

		<guid isPermaLink="false">http://journal.relativesanity.com/?p=61</guid>
		<description><![CDATA[Like everyone else these days, I have multiple feeds that encompass my online life. My main site, relativesanity.com, serves as a home page for all these feeds, so that friends and family have a single place to visit if the want to see what I&#8217;m up to. But we live in the age of Google [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://journal.relativesanity.com/wp-content/uploads/2008/11/multiple-feeds100px-feed-iconsvg1.png" alt="100px-Feed-icon.svg.png" border="0" width="80" height="70" align="left" />Like everyone else these days, I have multiple feeds that encompass my online life. My main site, <a href="http://relativesanity.com">relativesanity.com</a>, serves as a home page for all these feeds, so that friends and family have a single place to visit if the want to see what I&#8217;m up to. But we live in the age of <a href="http://reader.google.com">Google Reader</a> and <a href="http://www.newsgator.com/INDIVIDUALS/NETNEWSWIRE/">NetNewsWire</a>. Who wants to visit a site any more?<span id="more-61"></span></p>
<p>Certainly not me, and certainly not my visitors.</p>
<h2>Offering sensible choices</h2>
<p>Let&#8217;s look at all the places I live:</p>
<ul>
<li><a href="http://journal.relativesanity.com/">here</a></li>
<li><a href="http://flickr.com/photos/rsanity">flickr</a></li>
<li><a href="http://ma.gnolia.com/people/relativesanity">ma.gnolia</a></li>
<li><a href="http://twitter.com/relativesanity">twitter</a></li>
<li><a href="http://www.last.fm/user/relativesanity/library/recent">last.fm</a></li>
</ul>
<p>Each of these services provides a simple feed of content (though for some reason, last.fm has stopped scrobbling for about a week now. Grumble. Any ideas? <strong>Solved:</strong> it seems that the Mac OS X last.fm client doesn&#8217;t report password problems. It just fails silently and looks like you&#8217;ve logged in. Nasty bug.). If a visitor just wants to follow me on flickr, they can click on the flickr link on relativesanity.com and then add that feed to whatever reader they use. Job done, right?</p>
<p>Well, not really. I&#8217;m aggregating content on relativesanity.com, so wouldn&#8217;t it make sense to aggregate feeds? By default, relativesanity.com&#8217;s feed <code>link</code> tag used to be a direct pull of my twitter feed, so someone subscribing to the autodetected feed on relativesanity.com would get my twitter updates.</p>
<p>That was fine, but I got more and more requests to provide direct links to the rss feeds from my other accounts. Family, for example, had no idea how to subscribe to flickr (or even that it was an option.</p>
<p>So what to do?</p>
<h2>Relationships for relatives</h2>
<p>Let&#8217;s do some anatomy. <code>link</code> is made up of a few elements:</p>
<dl>
<dt><code>rel</code></dt>
<dd>this specifies the relationship of the link to the page, e.g. &#8220;stylesheet&#8221; or &#8220;alternate&#8221;</dd>
<dt><code>type</code></dt>
<dd>this is the MIME type of the file. For feeds, it&#8217;s often &#8220;application/rss+xml&#8221; or &#8220;application/atom+xml&#8221;</dd>
<dt><code>title</code></dt>
<dd>this is the optional title of the link. For multiple feeds, these titles may be displayed by your browser when you try to subscribe to the feed.</dd>
<dt><code>href</code></dt>
<dd>this is the actual address of the feed itself.</dd>
</dl>
<p>I mentioned &#8220;multiple feeds&#8221; there. You can, it may surprise you to hear, have multiple feeds for any given page. Most people seem to see this as a means to add different <strong>formats</strong> of feed to their page. Flickr is a great example:</p>
<div style="text-align:center;"><img src="http://journal.relativesanity.com/wp-content/uploads/2008/11/screenshotspicture-2.png" alt="Picture 2.png" border="0" width="536" height="93" /></div>
<p>I say &#8220;great&#8221; here, but what I mean is &#8220;terrible&#8221;. What are my options here? &#8220;Atom&#8221; or &#8220;RSS&#8221;? I know they&#8217;re different formats, but why do I care which one to pick? I don&#8217;t know of any feed readers these days that only handle one or the other, so as a visitor, what differentiator is there for me to choose between these? Do they provide the same content? If so, is one more &#8220;efficient&#8221; at delivering that content than the other? Will one become obsolete soon? Do I lock myself into something by choosing one over the other?</p>
<p>It&#8217;s a minefield, and that&#8217;s all from the point of view of someone who understands what <a href="http://en.wikipedia.org/wiki/Atom_(standard)">Atom</a> and <a href="http://en.wikipedia.org/wiki/RSS">RSS</a> are. How&#8217;s my Mum going to feel about this, other than stupid?</p>
<p>Let&#8217;s look at some code:</p>
<pre><code>
  &lt;link rel="alternate" type="application/atom+xml"
    title="Flickr: Your Photostream Atom feed" href="..."&gt;
  &lt;link rel="alternate" type="application/rss+xml"
    title="Flickr: Your Photostream RSS feed" href="..."&gt;
</code></pre>
<p>This is how flickr codes up its photostream feeds. To my mind, it&#8217;s completely pointless. If the feeds offer different content, telling me the format doesn&#8217;t tell me what the difference is. If the feeds <strong>don&#8217;t</strong> offer different content, why offer two?</p>
<p>Here&#8217;s how relativesanity.com&#8217;s feeds now look:</p>
<div style="text-align:center;"><img src="http://journal.relativesanity.com/wp-content/uploads/2008/11/multiple-feedspicture-1.png" alt="Picture 1.png" border="0" width="342" height="156" /></div>
<p>Isn&#8217;t that neat? Some code:</p>
<pre><code>
  &lt;link rel="alternate" type="application/rss+xml"
    title="articles" href="http://journal.relativesanity.com/feed/" /&gt;
  &lt;link rel="alternate" type="application/rss+xml"
    title="thoughts" href="http://twitter.com/statuses/user_timeline/6040962.rss" /&gt;
  &lt;link rel="alternate" type="application/rss+xml"
    title="photos" href="http://api.flickr.com/services/feeds/..." /&gt;
  &lt;link rel="alternate" type="application/rss+xml"
    title="links" href="http://ma.gnolia.com/rss/full/people/relativesanity" /&gt;
  &lt;link rel="alternate" type="application/rss+xml"
    title="music" href="http://ws.audioscrobbler.com/1.0/user/relativesanity/..." /&gt;
  &lt;link rel="alternate" type="application/atom+xml"
    title="everything" href="http://friendfeed.com/relativesanity?format=atom" /&gt;
</pre>
<p></code></p>
<p>Now, when visitors arrive, they can choose what to subscribe to, and the differences between each choice are clearly marked.</p>
<h2>One feed to rule them all (sorry)</h2>
<p>Even better, there&#8217;s an &#8220;everything&#8221; feed that aggregates all the others. This is built using <a href="http://friendfeed.com/">friendfeed.com</a>, which has been on my radar for ages, but for all the wrong reasons. My impression was that friendfeed primarily aggregated feeds of your friends. What I wanted was to aggregate all my feeds (and here&#8217;s the key bit) <strong>into a single RSS feed</strong>. Friendfeed not only lets you do this, it actually provides it as a first-class feature (they should have called it &#8220;myfeed&#8221;, but myfeed.com is gone).</p>
<div style="text-align:center;"><img src="http://journal.relativesanity.com/wp-content/uploads/2008/11/multiple-feedspicture-3.png" alt="Picture 3.png" border="0" width="508" height="346" /></div>
<p>So there we have it. Nice semantic feeds of content, all in one place, and the &#8220;everything&#8221; feed can be updated whenever I sign up to some other life-sucking service that lets me tell the world what I&#8217;m doing.</p>
<p>No, I&#8217;m not on facebook.</p>
<img src="http://feeds.feedburner.com/~r/relativesanity/articles/~4/ajslG8v81pM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://journal.relativesanity.com/2008/11/11/providing-multiple-feeds/feed/</wfw:commentRss>
		<feedburner:origLink>http://journal.relativesanity.com/2008/11/11/providing-multiple-feeds/</feedburner:origLink></item>
		<item>
		<title>Pricing a freelance web development job using OmniPlan</title>
		<link>http://feedproxy.google.com/~r/relativesanity/articles/~3/DDUPhMlqghM/</link>
		<comments>http://journal.relativesanity.com/2008/11/10/pricing-a-freelance-web-development-job-using-omniplan/#comments</comments>
		<pubDate>Mon, 10 Nov 2008 12:05:19 +0000</pubDate>
		<dc:creator>jonathan</dc:creator>
		
		<category><![CDATA[business]]></category>

		<category><![CDATA[Examples]]></category>

		<category><![CDATA[Freelance]]></category>

		<category><![CDATA[How To]]></category>

		<category><![CDATA[Mac]]></category>

		<category><![CDATA[OmniPlan]]></category>

		<category><![CDATA[software]]></category>

		<category><![CDATA[Web development]]></category>

		<guid isPermaLink="false">http://journal.relativesanity.com/?p=35</guid>
		<description><![CDATA[I like my prices to make sense. This usually means justifying the cost of a particular job by being able to demonstrate to the client the effort involved in a particular area. It&#8217;s also useful to know what particular features are expensive because they are difficult, and what ones are expensive because they&#8217;re valuable.
To do [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://journal.relativesanity.com/wp-content/uploads/2008/11/iconspicture-19.png" alt="Picture 19.png" border="0" width="78" height="59" align="left" />I like my prices to make sense. This usually means justifying the cost of a particular job by being able to demonstrate to the client the effort involved in a particular area. It&#8217;s also useful to know what particular features are expensive because they are difficult, and what ones are expensive because they&#8217;re <strong>valuable</strong>.<span id="more-35"></span></p>
<p>To do this, I use <a href="http://www.omnigroup.com/applications/omniplan/">OmniPlan</a> from The Omni Group. I love Omni&#8217;s software (<a href="http://www.omnigroup.com/applications/omnifocus/">OmniFocus</a> runs my life, and <a href="http://www.omnigroup.com/applications/omnioutliner/">OmniOutliner</a> stores most of my most important notes), and OmniPlan is built with the same attention to detail as the rest of their apps.</p>
<h2>Outlining the effort</h2>
<p>The key thing for me is the fact that it uses an outline view for building up your project. Just like OmniOutliner, you can happily drill down deeper and deeper into each &#8220;node&#8221; in the outline. Each node has a number of attributes, the key one being &#8220;Effort&#8221;. The amount of effort assigned to each node then translates into a bar on a Gantt chart, and also an addition to the project cost, once you&#8217;ve told OmniPlan who&#8217;s working on that node, and how much they cost per hour.</p>
<p>Over the couple of years I&#8217;ve been doing this, I&#8217;ve developed a standard &#8220;web development&#8221; template that stubs out most of the tasks I carry out during a project. Just like any good outliner, the nesting facility means that I can group the project into discrete blocks, which is great for being able to produce a &#8220;top line&#8221; summary of what each area of the project will cost.</p>
<div style="text-align:center;"><img src="http://journal.relativesanity.com/wp-content/uploads/2008/11/screenshotspicture-8.png" alt="Picture 8.png" border="0" width="620" height="434" /></div>
<p>Where do all these top line numbers come from? Let&#8217;s expand out all the items in Core Development outline:</p>
<div style="text-align:center;"><img src="http://journal.relativesanity.com/wp-content/uploads/2008/11/screenshotspicture-6.png" alt="Picture 6.png" border="0" width="620" height="766" /></div>
<p>As you can see, the project timeline can now start to build itself from the bottom up. Every task starts out with one hour assigned to it. My first task at the start of a costing is to go through the default outline and prune what isn&#8217;t needed for this project, before adding in what *is* needed. I then go through and start to apply time estimates to each task based on previous experience and &#8220;best guess&#8221; work.</p>
<h2>Bubbling up the costs</h2>
<p>The great thing about OmniPlan is that it tends to remove the best guess factor from most tasks. Let&#8217;s say, for example, that in my first pass I reckon that I&#8217;ll need 4 wireframes:</p>
<div style="text-align:center;"><img src="http://journal.relativesanity.com/wp-content/uploads/2008/11/screenshotspicture-9.png" alt="Picture 9.png" border="0" width="479" height="143" /></div>
<p>I reckon each layout is going to take me half an hour to do, so in they go, and suddenly my Site Wireframes budget sits at 2 hours. If I realise I need more wireframes as I plan the project, in they go and bump up the cost in a fully justifiable way.</p>
<p>Let&#8217;s say, though, that I reckon one of those wireframes is particularly complex because there are lots of variations. I might not have a good handle on how long, say, a progressively enhanced &#8220;personal content aggregator&#8221; might take to wireframe. No worries - I can nest the various sub-tasks to come up with a proposal:</p>
<div style="text-align:center;"><img src="http://journal.relativesanity.com/wp-content/uploads/2008/11/screenshotspicture-10.png" alt="Picture 10.png" border="0" width="470" height="171" /></div>
<p>I now have a better feel for how easy or hard that&#8217;s going to be. This is all the kind of stuff you do when planning a project anyway, but the fact that you can make simple changes to subdivisions of tasks and have them percolate up your estimates automatically is a real boon for tracking complex projects.</p>
<h2>Show me the money</h2>
<p>Once I&#8217;ve gone through and assigned time estimates to each part of the project (practically writing the spec as I go, incidentally), I can then use OmniPlan to build timescale estimates and cost them up.</p>
<p>First I switch to the Resource view:</p>
<div style="text-align:center;"><img src="http://journal.relativesanity.com/wp-content/uploads/2008/11/screenshotspicture-11.png" alt="Picture 11.png" border="0" width="620" height="434" /></div>
<p>By selecting me (or creating a new resource) and viewing the inspector panel:</p>
<div style="text-align:center;"><img src="http://journal.relativesanity.com/wp-content/uploads/2008/11/screenshotspicture-12.png" alt="Picture 12.png" border="0" width="328" height="280" /></div>
<p>I can set hourly rates, and how &#8220;available&#8221; I am for the project. No, I don&#8217;t charge £100 per hour for development. I wish I did.</p>
<p>Back to the Task view, and I expand all tasks, select all, and choose Structure -> Assign Resource -> Jonathan. This hammers through all the hourly estimates and gives me a cost based on my hourly rate, as well as displaying a project total in the status bar at the bottom of the window. By selecting View -> View Options then enabling &#8220;Total Cost&#8221; in the Outline Columns pane, I can now see how my top line works out:</p>
<div style="text-align:center;"><img src="http://journal.relativesanity.com/wp-content/uploads/2008/11/screenshotspicture-14.png" alt="Picture 14.png" border="0" width="620" height="434" /></div>
<p>Awesomeness!</p>
<h2>Time keeps on slippin&#8217;</h2>
<p>Next up is to get a timescale plan. To the right of the outline we get a Gantt chart. The Gantt chart is smart enough to build up a timing plan automatically based on how many people you have working on the project, how available they are, and what dependencies you build into the project.</p>
<p>Since we&#8217;ve only got one person working on this full time, we can&#8217;t have any concurrency, so it&#8217;s all about the dependencies. As you can see, there are some black arrowed lines running from the end of each task group to the beginning of another:</p>
<div style="text-align:center;"><img src="http://journal.relativesanity.com/wp-content/uploads/2008/11/screenshotspicture-15.png" alt="Picture 15.png" border="0" width="689" height="434" /></div>
<p>Each one of these arrows represents a dependency, and we set those up quite simply by selecting the task which depends on another one, opening the dependency inspector, and dragging in that task&#8217;s pre-requisite and dependent tasks:</p>
<div style="text-align:center;"><img src="http://journal.relativesanity.com/wp-content/uploads/2008/11/screenshotspicture-16.png" alt="Picture 16.png" border="0" width="328" height="280" /></div>
<p>This ensures that our Gantt chart never schedules anything before its pre-requisites are completed.</p>
<p>Once all THAT&#8217;s done, we select all the tasks and choose Project -> Level Resources. This rebuilds the Gantt based on what we&#8217;ve said about the project, and gives us a good estimate of how long the project will take to complete.</p>
<h2>All you do is write code, right?</h2>
<p>The final super-smart thing about OmniPlan is the ability to restrict a Resource&#8217;s availability. Go into Calendar view, and select your resource. By default, that resource is made available to the project full time. Let&#8217;s say we only want to spend half of each day on this project, the rest of the time left for maintenance, admin, phone calls, email, and other freelance stuff. Simple - just make sure that the &#8220;Normal Work Week&#8221; for your resource is set from 8am to 12noon (just drag on the calendar like in iCal).</p>
<div style="text-align:center;"><img src="http://journal.relativesanity.com/wp-content/uploads/2008/11/screenshotspicture-17.png" alt="Picture 17.png" border="0" width="715" height="436" /></div>
<p>Now if we go back to the Task view and run Project -> Level Resources again, we&#8217;ll see that we now have a much longer looking Gantt chart:</p>
<div style="text-align:center;"><img src="http://journal.relativesanity.com/wp-content/uploads/2008/11/screenshotspicture-18.png" alt="Picture 18.png" border="0" width="675" height="396" /></div>
<p>Even better, we can see that the Duration of the project (see the status bar, and click on that to cycle through the various bits of info this can display) is over 2 weeks, but the actual effort involved only spans 4 days.</p>
<p>Now all we need to do is write up our proposal document based on these timings and specs, send to the client, and wait for approval so we can bill them their deposit.</p>
<p>You do charge your clients deposits, don&#8217;t you?</p>
<h2>Downloads</h2>
<ul>
<li><a href="http://journal.relativesanity.com/wp-content/uploads/2008/11/downloadsweb-developmentomniplan.zip" title="Web Development.omniplan.zip"> Web Development OmniPlan Template (zip)</a></li>
</ul>
<img src="http://feeds.feedburner.com/~r/relativesanity/articles/~4/DDUPhMlqghM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://journal.relativesanity.com/2008/11/10/pricing-a-freelance-web-development-job-using-omniplan/feed/</wfw:commentRss>
		<feedburner:origLink>http://journal.relativesanity.com/2008/11/10/pricing-a-freelance-web-development-job-using-omniplan/</feedburner:origLink></item>
	</channel>
</rss>
