<?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>Casey A. McLaughlin &#187; Web Development</title>
	<atom:link href="http://www.caseymclaughlin.com/tags/web-development/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.caseymclaughlin.com</link>
	<description>Online Portfolio</description>
	<lastBuildDate>Mon, 08 Mar 2010 21:38:28 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Biting the Distributed Development Bullet</title>
		<link>http://www.caseymclaughlin.com/2009/12/make-codeigniter-svn-friendly/</link>
		<comments>http://www.caseymclaughlin.com/2009/12/make-codeigniter-svn-friendly/#comments</comments>
		<pubDate>Mon, 21 Dec 2009 20:15:46 +0000</pubDate>
		<dc:creator>McLaughlin Casey</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[management]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[project management]]></category>
		<category><![CDATA[projects]]></category>
		<category><![CDATA[subversion]]></category>
		<category><![CDATA[version control]]></category>

		<guid isPermaLink="false">http://www.caseymclaughlin.com/?p=129</guid>
		<description><![CDATA[You're a dummy for not using version control.  If I can do it, anybody can.]]></description>
			<content:encoded><![CDATA[		<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.title=Biting the Distributed Development Bullet&amp;rft.aulast=McLaughlin&amp;rft.aufirst=Casey&amp;rft.subject=Web Development&amp;rft.source=Casey A. McLaughlin&amp;rft.date=2009-12-21&amp;rft.type=&amp;rft.format=text&amp;rft.identifier=http://www.caseymclaughlin.com/2009/12/make-codeigniter-svn-friendly/&amp;rft.language=English"></span>
<p><a href="http://www.caseymclaughlin.com/wp-content/uploads/2009/12/programmer.jpg"><img class="alignright size-thumbnail wp-image-131" title="programmer" src="http://www.caseymclaughlin.com/wp-content/uploads/2009/12/programmer-150x150.jpg" alt="Will Code for Food" width="150" height="150" /></a>Like most development n00bs, after I started using version control, I never looked back.  And <a title="Stack Overflow Thread" href="http://spedr.com/k1z1">neither should you</a>.</p>
<p>It required me to change the whole way that my office operated, though.  See, the way that we were doing things before seemed so simple; we just edited files and shouted at each other if we collided in our editing.  As it turns out, this was a bad thing, and there have been better alternatives around way longer than I&#8217;ve even been in this business.</p>
<p>But like most crotchety, over-egotistical developer-types it took a while for me to come around.  Here&#8217;s a brief history of my flirtations and eventual commitment to version control.</p>
<h3><span id="more-129"></span>Our Blissful, Youthful Ignorance</h3>
<p>This wasn&#8217;t really that long ago&#8230;</p>
<div id="attachment_139" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.caseymclaughlin.com/wp-content/uploads/2009/12/Workflow-SSH.png"><img class="size-medium wp-image-139" title="The Old Workflow" src="http://www.caseymclaughlin.com/wp-content/uploads/2009/12/Workflow-SSH-300x237.png" alt="The old, SSH-based Workflow" width="300" height="237" /></a><p class="wp-caption-text">1..2..3... Easy Peasy Japanesey.. and stupid.</p></div>
<p>We would all work directly on the files directly on our development server.  We would sit down, SSH into the server using our favorite editor and code away, never thinking of change management, reverting back to old versions, or who would be responsible for what.  Conflict resolution seemed easy&#8230; if I was editing a file named<em> welcome.php</em>, I would simply shout across the room, &#8220;Hey Mike&#8211;don&#8217;t work on <em>welcome.php</em> right now, or I&#8217;ll have to beat you!&#8221;.</p>
<p>Our revision control system consisted of me creating and storing weekly backups of the entire database and file system.  If we made a change that killed the system, we&#8217;d simply either lose that week&#8217;s work or spend hours debugging it.  It was all gloriously simple.</p>
<h3>Version Control Puberty &#8212; The Angsty Years</h3>
<p>One day, I decided to implement Subversion, mainly because other developers were sneering at me and telling me I was a dummy.  And while I didn&#8217;t want to be a dummy, the whole thing seemed overly complicated.  Why would I want to increase complication when everything was working so simple?  I also had some fundamental issues with this new version control idea:</p>
<ul>
<li>First off, everybody has to have to get their own copy of the entire file set.  Bad!  Doom! Insecure! I have to trust my developers with the codebase? ::Gasp::</li>
<li>Secondly, what do you mean that developers can&#8217;t see their changes on the server immediately upon commit without some hacked hook system?  This means they&#8217;ll have to run <a title="Wikipedia LAMP" href="http://en.wikipedia.org/wiki/LAMP_%28software_bundle%29">LAMP</a> on their local boxes, too!  Geez.. now we have to have local dev environment setup procedures, too..</li>
<li>Finally, SVN requires management of its own.  You know.. backing up, securing access, and generally managing.  More overhead and more complication!</li>
</ul>
<p>Grudgingly, in order to remove the &#8220;dummy&#8221; label from my operations, I implemented Subversion.  It was difficult at first to understand how it would fit easily into our procedures, but with some <a title="Subversion Book - Basic Work Cycle (a very helpful chapter)" href="http://svnbook.red-bean.com/en/1.5/svn.tour.cycle.html">very helpful free online material</a>, we started using it.</p>
<p>And sure, I <em>did</em> have to write procedures for setting up local dev environments AND install a subversion clients AND manage a <a title="Hands Down, VisualSVN is the easist-to-use SVN Server for Windows" href="http://www.visualsvn.com/server/">repository server</a>, but you know what?</p>
<p>All of that stuff was way worth it.</p>
<h3>All Grown-up Now</h3>
<p>Let me repeat that: whatever frustrations version control causes, they are all worth it.</p>
<p>After being SVN disciples for a while now, our development procedures have matured.  Here&#8217;s how we do things:</p>
<div id="attachment_137" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.caseymclaughlin.com/wp-content/uploads/2009/12/Workflow-SVN.png"><img class="size-medium wp-image-137" title="SVN Workflow" src="http://www.caseymclaughlin.com/wp-content/uploads/2009/12/Workflow-SVN-300x242.png" alt="The way we do things now" width="300" height="242" /></a><p class="wp-caption-text">The way we do things now.. Much better!</p></div>
<p>I&#8217;ve since tried other VCS systems like <a title="Mercurial Homepage" href="http://mercurial.selenic.com/">Mercurial</a>, <a title="Git Homepage" href="http://git-scm.com/">Git</a>, and <a title="Bazaar Homepage" href="http://bazaar.canonical.com/en/">Bazaar</a>, but have not found any compelling reason to switch.   Either way, using version control has saved our sorry butts on more than one occasion and has made life easier in about 1,001 ways.</p>
<p>As a bonus, it has also forced us to use better procedures and generate better development documentation, which is amazing, because we&#8217;re pretty lazy.  Now if only we could find a tool to better force us to behave when it comes to unit testing&#8230;</p>
<p>Well, that&#8217;s my story.  If I&#8217;ve inspired you to use VCS, hooray!  <a title="Awesome SVN Primer I found on the front page of Google search" href="http://www.snipe.net/2009/03/getting-started-with-subversion/">Here&#8217;s a helpful place to get started</a>.  If not, you&#8217;re a dummy.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.caseymclaughlin.com/2009/12/make-codeigniter-svn-friendly/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
