<?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>The Code Train &#187; phpunit</title>
	<atom:link href="http://thecodetrain.co.uk/tag/phpunit/feed/" rel="self" type="application/rss+xml" />
	<link>http://thecodetrain.co.uk</link>
	<description>Where Neil Crosby talks about coding on the train...</description>
	<lastBuildDate>Sun, 03 Apr 2011 18:15:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Five ways to make offline working easier</title>
		<link>http://thecodetrain.co.uk/2008/10/five-ways-to-make-offline-working-easier/</link>
		<comments>http://thecodetrain.co.uk/2008/10/five-ways-to-make-offline-working-easier/#comments</comments>
		<pubDate>Tue, 28 Oct 2008 18:15:14 +0000</pubDate>
		<dc:creator>Neil Crosby</dc:creator>
				<category><![CDATA[Blog Posts]]></category>
		<category><![CDATA[distributed version control]]></category>
		<category><![CDATA[documentation]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[list]]></category>
		<category><![CDATA[mamp]]></category>
		<category><![CDATA[marsedit]]></category>
		<category><![CDATA[offline]]></category>
		<category><![CDATA[php function index]]></category>
		<category><![CDATA[phpunit]]></category>
		<category><![CDATA[tools]]></category>

		<guid isPermaLink="false">http://thecodetrain.co.uk/?p=129</guid>
		<description><![CDATA[<p>Nowadays an &#8220;always on&#8221; existence is far less of a pipe dream than it was even a year ago.  Usable wireless hotspots have popped up everywhere and many of us have data tariffs on our mobile phones.  It&#8217;s no surprise then that many people simply expect to always have a network connection and become flummoxed when this is taken away from them.</p>

<p>Not having a connection to the outside world shouldn&#8217;t be a blocker to getting work done though.  On my commute to and from work I have no internet connection available to my laptop and it really doesn&#8217;t stop me from getting anything done.  In fact, being disconnected from the cloud actually helps to free my mind and reduce the distractions that so often occur when I am connected.</p>

<p>A few people have asked me what my setup is for working on the train, so here&#8217;s a brief rundown of what I have on my laptop:</p>

<h3>A Development Environment</h3>

<p>For me, this is <a href="http://www.mamp.info/en/index.php">MAMP</a>, a simple installation LAMP setup for the Mac.  I personally currently run MAMP Pro, which costs money but gives me an easy interface for creating Virtual Hosts which I find very handy.</p>

<h3>Documentation</h3>

<p>Just as important as the development environment is the documentation to go with it.  If there&#8217;s a language or tool that you use that has documentation available for it then download it &#8211; you&#8217;ll regret your decision not to if you need it and you&#8217;re away from a network connection.</p>

<p>Because I write a lot of PHP and it&#8217;s a little inconsistent in its naming conventions I&#8217;m constantly in and out of the documentation.  I find the <a href="http://www.artissoftware.com/phpfi/">PHP Function Index</a> application invaluable on the train, as it makes the PHP documentation searchable and also allows you to download and keep an offline copy of all the user comments from PHP.net.</p>

<h3>MarsEdit</h3>

<p>Right now I&#8217;m working in <a href="http://www.red-sweater.com/marsedit/">MarsEdit</a>, the really rather nice blog entry writing tool.  It allows me to write entries for multiple blogs, store them locally and sync with the blog servers when I have a network connection.  It has built in support for Markdown (which matters to me) and gives a nice preview of your entries as you write them.  I really wish it would let me turn on a column to show the &#8220;Post Status&#8221; of my entries though &#8211; it would make finding the half finished things so much easier.</p>

<h3>Git</h3>

<p>I&#8217;ve only just started using git (check out <a href="http://github.com/NeilCrosby">my profile on GitHub</a>), but it&#8217;s looking like it should fit my usage nicely.  Working on the train means that there are plenty of times when I solve a problem and then want to move on to a new one.  With my previous setup of an SVN server on a completely separate machine I couldn&#8217;t commit my code before starting the second problem.  With git though, I can commit any changes I want locally and then upload them to an external server later at my leisure.  Apparently, I can even use git on the train for intermediary commits and then commit back to my normal SVN repository when I get home.</p>

<h3>A backup network connection</h3>

<p>Of course, there are times when you really do need a network connection and then a phone with a decent data plan really comes in handy.  On those occasions though Sod&#8217;s Law will apply and you won&#8217;t have any signal.  When that happens I just sit back, relax and move onto something else.</p>
<div style="display:block"><small><em><a href="http://neilcrosby.com">Neil Crosby</a> also blogs at about t-shirts at <a href="http://iwearcotton.com">I Wear Cotton</a>, writes <a href="http://thetenwordreview.com/users/workingwithme">Ten Word Reviews</a>, and uploads <a href="http://www.flickr.com/photos/thevoicewithin/">photos</a> to flickr.  You can follow a combined feed of posts at <a href="http://neilcrosby.com/">NeilCrosby.com</a>.</em></small></div>]]></description>
			<content:encoded><![CDATA[<p>Nowadays an &#8220;always on&#8221; existence is far less of a pipe dream than it was even a year ago.  Usable wireless hotspots have popped up everywhere and many of us have data tariffs on our mobile phones.  It&#8217;s no surprise then that many people simply expect to always have a network connection and become flummoxed when this is taken away from them.</p>

<p>Not having a connection to the outside world shouldn&#8217;t be a blocker to getting work done though.  On my commute to and from work I have no internet connection available to my laptop and it really doesn&#8217;t stop me from getting anything done.  In fact, being disconnected from the cloud actually helps to free my mind and reduce the distractions that so often occur when I am connected.</p>

<p>A few people have asked me what my setup is for working on the train, so here&#8217;s a brief rundown of what I have on my laptop:</p>

<h3>A Development Environment</h3>

<p>For me, this is <a href="http://www.mamp.info/en/index.php">MAMP</a>, a simple installation LAMP setup for the Mac.  I personally currently run MAMP Pro, which costs money but gives me an easy interface for creating Virtual Hosts which I find very handy.</p>

<h3>Documentation</h3>

<p>Just as important as the development environment is the documentation to go with it.  If there&#8217;s a language or tool that you use that has documentation available for it then download it &#8211; you&#8217;ll regret your decision not to if you need it and you&#8217;re away from a network connection.</p>

<p>Because I write a lot of PHP and it&#8217;s a little inconsistent in its naming conventions I&#8217;m constantly in and out of the documentation.  I find the <a href="http://www.artissoftware.com/phpfi/">PHP Function Index</a> application invaluable on the train, as it makes the PHP documentation searchable and also allows you to download and keep an offline copy of all the user comments from PHP.net.</p>

<h3>MarsEdit</h3>

<p>Right now I&#8217;m working in <a href="http://www.red-sweater.com/marsedit/">MarsEdit</a>, the really rather nice blog entry writing tool.  It allows me to write entries for multiple blogs, store them locally and sync with the blog servers when I have a network connection.  It has built in support for Markdown (which matters to me) and gives a nice preview of your entries as you write them.  I really wish it would let me turn on a column to show the &#8220;Post Status&#8221; of my entries though &#8211; it would make finding the half finished things so much easier.</p>

<h3>Git</h3>

<p>I&#8217;ve only just started using git (check out <a href="http://github.com/NeilCrosby">my profile on GitHub</a>), but it&#8217;s looking like it should fit my usage nicely.  Working on the train means that there are plenty of times when I solve a problem and then want to move on to a new one.  With my previous setup of an SVN server on a completely separate machine I couldn&#8217;t commit my code before starting the second problem.  With git though, I can commit any changes I want locally and then upload them to an external server later at my leisure.  Apparently, I can even use git on the train for intermediary commits and then commit back to my normal SVN repository when I get home.</p>

<h3>A backup network connection</h3>

<p>Of course, there are times when you really do need a network connection and then a phone with a decent data plan really comes in handy.  On those occasions though Sod&#8217;s Law will apply and you won&#8217;t have any signal.  When that happens I just sit back, relax and move onto something else.</p>
]]></content:encoded>
			<wfw:commentRss>http://thecodetrain.co.uk/2008/10/five-ways-to-make-offline-working-easier/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

