<?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>Merrick Christensen</title>
	<atom:link href="http://merrickchristensen.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://merrickchristensen.com</link>
	<description>A twenty year old web developer. I still can&#039;t grow a decent beard.</description>
	<lastBuildDate>Tue, 07 Jun 2011 23:13:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Apache2 Setup</title>
		<link>http://merrickchristensen.com/apache2-setup/</link>
		<comments>http://merrickchristensen.com/apache2-setup/#comments</comments>
		<pubDate>Thu, 05 May 2011 20:56:47 +0000</pubDate>
		<dc:creator>Merrick</dc:creator>
				<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://merrickchristensen.com/?p=192</guid>
		<description><![CDATA[sudo apt-get install apache2 sudo apt-get install php5 sudo apt-get install libapache2-mod-php5 sudo /etc/init.d/apache2 restart sudo apt-get install mysql-server mysql-client # u/p root/root sudo apt-get install vim # sudo apt-get install php-pear sudo apt-get install php5-dev sudo apt-get install php5-curl sudo pecl i pecl_http cd /etc/php5/apache2 add extension to php.ini sudo apachectl restart sudo apt-get ...]]></description>
			<content:encoded><![CDATA[<p>sudo apt-get install apache2</p>
<p>sudo apt-get install php5</p>
<p>sudo apt-get install libapache2-mod-php5</p>
<p>sudo /etc/init.d/apache2 restart</p>
<p>sudo apt-get install mysql-server mysql-client # u/p root/root</p>
<p>sudo apt-get install vim # <img src='http://merrickchristensen.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>sudo apt-get install php-pear<br />
sudo apt-get install php5-dev<br />
sudo apt-get install php5-curl<br />
sudo pecl i pecl_http</p>
<p>cd /etc/php5/apache2<br />
add extension to php.ini<br />
sudo apachectl restart</p>
<p>sudo apt-get install phpunit</p>
<p># Add Virtual Host </p>
]]></content:encoded>
			<wfw:commentRss>http://merrickchristensen.com/apache2-setup/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Code Camp Notes</title>
		<link>http://merrickchristensen.com/188/</link>
		<comments>http://merrickchristensen.com/188/#comments</comments>
		<pubDate>Mon, 28 Mar 2011 23:55:58 +0000</pubDate>
		<dc:creator>Merrick</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://merrickchristensen.com/?p=188</guid>
		<description><![CDATA[# Software Craftsmanship ## Things to look at: * Utah Software Craftsmanship Group * Code Katas * Apprenticeship Patterns Book Different language communities can be considered as Dojos, you can expert in one and cross pollinate so to speak. # HTML5 ## Things to look at: * Modernizer * Protocol Registers * Stream API * ...]]></description>
			<content:encoded><![CDATA[<p># Software Craftsmanship</p>
<p>## Things to look at:</p>
<p>* Utah Software Craftsmanship Group<br />
* Code Katas<br />
* Apprenticeship Patterns Book</p>
<p>Different language communities can be considered as Dojos, you can expert in one and cross pollinate so to speak.</p>
<p># HTML5</p>
<p>## Things to look at:</p>
<p>* Modernizer<br />
* Protocol Registers<br />
* Stream API<br />
* getUserMedia (Webcams, Audio, Etc)</p>
<p># Distributed Systems</p>
<p>## Fallacies of Distributed Systems</p>
<p>* The network is reliable<br />
* Latency is zero<br />
*	Bandwidth is infinite<br />
* The network is homogeneous</p>
<p>## Things to look at:</p>
<p>* Udi Dahan<br />
* [http://goo.gl/kyDAE](Cap Theorem)<br />
* Eventual Consistency is sexy.<br />
* /h/a/r/r/y/p/o/t/cache.json<br />
* CQRS, Event Sourcing<br />
* Messaging is hot.</p>
<p># RIAS and Node.JS</p>
<p>## Things to look at:</p>
<p>* Yahoo Design Patterns<br />
* Pattern Tap<br />
* Patternry<br />
* UIPatterns</p>
]]></content:encoded>
			<wfw:commentRss>http://merrickchristensen.com/188/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sustainability In Computer Science</title>
		<link>http://merrickchristensen.com/sustainability-in-computer-science/</link>
		<comments>http://merrickchristensen.com/sustainability-in-computer-science/#comments</comments>
		<pubDate>Fri, 24 Dec 2010 21:46:05 +0000</pubDate>
		<dc:creator>Merrick</dc:creator>
				<category><![CDATA[Elsewhere]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://merrickchristensen.com/?p=173</guid>
		<description><![CDATA[This video and talk is top notch. Content Warning: There is a bit of vulgarity in his more honest parts.]]></description>
			<content:encoded><![CDATA[<p>This video and talk is top notch.</p>
<p><embed src="http://blip.tv/play/AYKDzRUC" type="application/x-shockwave-flash" width="480" height="300" allowscriptaccess="always" allowfullscreen="true"></embed></p>
<p>Content Warning: There is a bit of vulgarity in his more honest parts. </p>
]]></content:encoded>
			<wfw:commentRss>http://merrickchristensen.com/sustainability-in-computer-science/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>View Partials In Kohana 3</title>
		<link>http://merrickchristensen.com/view-partials-in-kohana-3/</link>
		<comments>http://merrickchristensen.com/view-partials-in-kohana-3/#comments</comments>
		<pubDate>Thu, 16 Dec 2010 04:01:31 +0000</pubDate>
		<dc:creator>Merrick</dc:creator>
				<category><![CDATA[Kohana]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://merrickchristensen.com/?p=164</guid>
		<description><![CDATA[To create view partials within a Kohana view just use this bit of code.. &#60;?php include(Kohana::find_file('views', 'path/to/partial')); ?&#62;]]></description>
			<content:encoded><![CDATA[<p>To create view partials within a Kohana view just use this bit of code..<br />
<code><br />
	&lt;?php include(Kohana::find_file('views', 'path/to/partial')); ?&gt;<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://merrickchristensen.com/view-partials-in-kohana-3/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Remove jQuery From Your WordPress Theme</title>
		<link>http://merrickchristensen.com/remove-jquery-from-your-wordpress-theme/</link>
		<comments>http://merrickchristensen.com/remove-jquery-from-your-wordpress-theme/#comments</comments>
		<pubDate>Sat, 27 Nov 2010 20:47:29 +0000</pubDate>
		<dc:creator>Merrick</dc:creator>
				<category><![CDATA[Elsewhere]]></category>
		<category><![CDATA[The JavaScript Blog]]></category>

		<guid isPermaLink="false">http://merrickchristensen.com/?p=159</guid>
		<description><![CDATA[New post on the JavaScript Blog, get it while its hot: The JavaScript Blog]]></description>
			<content:encoded><![CDATA[<p>New post on the JavaScript Blog, get it while its hot: <a href="http://thejavascriptblog.com/remove-jquery-from-your-wordpress-theme/" title="JavaScript Blog">The JavaScript Blog</a></p>
]]></content:encoded>
			<wfw:commentRss>http://merrickchristensen.com/remove-jquery-from-your-wordpress-theme/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Kohana 3 Routes and Request Class</title>
		<link>http://merrickchristensen.com/kohana-3-routes-and-request-class/</link>
		<comments>http://merrickchristensen.com/kohana-3-routes-and-request-class/#comments</comments>
		<pubDate>Tue, 09 Nov 2010 23:59:08 +0000</pubDate>
		<dc:creator>Merrick</dc:creator>
				<category><![CDATA[Kohana]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://merrickchristensen.com/?p=154</guid>
		<description><![CDATA[Kohana 3 Routes and Requests Kohana sports a powerful and lean Request class. The most useful I&#8217;ve seen of any PHP framework, it essentially takes a regular expression and routes it to the appropriate controller, directory, action, or other value using keys, this allows for some robust URLs and applications. Lets take a look at ...]]></description>
			<content:encoded><![CDATA[<h1>Kohana 3 Routes and Requests</h1>
<p>Kohana sports a powerful and lean <a href="http://kohanaframework.org/guide/api/Request">Request</a> class. The most useful I&#8217;ve seen of any PHP framework, it essentially takes a regular expression and routes it to the appropriate controller, directory, action, or other value using keys, this allows for some robust URLs and applications. Lets take a look at how to mimic Basecamp style URL&#8217;s in Kohana minus the sub domain. If there is interest I&#8217;ll add that in a later article, just let me know in the comments, yeah?</p>
<h2>Basecamp Project Style Route</h2>
<p><code>
<pre>
Route::set('projects', 'projects/
<project_id>(/<controller>(/<action>(/<id>)))', array(
    'project_id' => '\d+'
  ))->defaults(array(
    'controller' => 'log',
    'action' => 'index',
));</pre>
<p></code></p>
<p>This route will take a URL like <em>projects/1/</em>, and load up the <em>Controller_Log.php</em> file and fire the <em>action_index</em>. In fact anything after <em>projects/1/</em> will be fired like the default route. So this allows you to use, <em>projects/1/todos/add</em> and fire the <em>action_add</em> in the <em>Controller_Todos.php</em> file. Even better if you want to scope your todos to the project referenced in the URL, you can set the project in the controllers before() method:</p>
<p><code></p>
<pre>
public function before()
	{
		parent::before();

		$property = ORM::factory('project')
						->where('id','=', $this->request->param('property_id'))
						->where('user_id', '=', $this->user->id)
						->find();

		if($property->loaded())
		{
			$this->property = $property;
			$this->template->property = $property;
		}
		else
		{
                        // Couldn't find the project
			$this->request->redirect('/');
		}

	}
</pre>
<p></code></p>
<p>Notice I grabbing the parameter from the URL using the param() method in the Request class using the specified key in the route.</p>
<p><code><br />
$this->request->param('project_id');<br />
</code></p>
<p>You could grab any parameter this way:</p>
<p><code><br />
$this->request->param('id');<br />
</code></p>
<p>Using this method in your actions allows you to never pass parameters to your functions again, thus you can change the order of your routes and the site will function the exact same way.</p>
<p><a href="http://kohanaframework.org">Kohana Framework</a></p>
]]></content:encoded>
			<wfw:commentRss>http://merrickchristensen.com/kohana-3-routes-and-request-class/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Real-time Syncing Your iPhone With Google</title>
		<link>http://merrickchristensen.com/real-time-syncing-your-iphone-with-google/</link>
		<comments>http://merrickchristensen.com/real-time-syncing-your-iphone-with-google/#comments</comments>
		<pubDate>Tue, 15 Jun 2010 16:00:49 +0000</pubDate>
		<dc:creator>Merrick</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://merrickchristensen.com/?p=33</guid>
		<description><![CDATA[One of my good friends, Will Robertson showed me a trick buried deep inside of Google&#8217;s documentation. You can use real time syncing across all your Google products using Exchange. I add a calendar event on my phone, instantly it is added to my iPad, iPhone, and both computers (work and home). I get this ...]]></description>
			<content:encoded><![CDATA[<p>One of my good friends, <a href="http://shoxty.com" target="_blank">Will Robertson</a> showed me a trick buried deep inside of Google&#8217;s documentation. You can use real time syncing across all your Google products using Exchange.</p>
<p>I add a calendar event on my phone, instantly it is added to my iPad, iPhone, and both computers (work and home). I get this real-time effect for Calendars, Email, and Contacts.</p>
<p>Skip IMAP, use exchange.</p>
<p><a title="Exchange Documentation With iPhone" href="http://www.google.com/support/mobile/bin/answer.py?answer=138740&amp;topic=14252" target="_blank">http://www.google.com/support/mobile/bin/answer.py?answer=138740&amp;topic=14252</a></p>
]]></content:encoded>
			<wfw:commentRss>http://merrickchristensen.com/real-time-syncing-your-iphone-with-google/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Rubik &#8211; A Pleasant Suprise</title>
		<link>http://merrickchristensen.com/rubik-a-pleasant-suprise/</link>
		<comments>http://merrickchristensen.com/rubik-a-pleasant-suprise/#comments</comments>
		<pubDate>Mon, 07 Jun 2010 00:13:34 +0000</pubDate>
		<dc:creator>Merrick</dc:creator>
				<category><![CDATA[Life]]></category>
		<category><![CDATA[Music]]></category>

		<guid isPermaLink="false">http://merrickchristensen.com/?p=26</guid>
		<description><![CDATA[Last night I had the opportunity to go see a band I have always wanted to see, mewithoutYou. I was able to get on the guest list because one of my friends, Trent Davis, was doing a photo shoot with them. One of the warm up bands was called Rubik and absolutely blew me away; ...]]></description>
			<content:encoded><![CDATA[<p>Last night I had the opportunity to go see a band I have always wanted to see, <a href="http://www.mewithoutyou.com/" target="_blank">mewithoutYou</a>. I was able to get on the guest list because one of my friends, <a href="http://www.trentondavisphoto.com/" target="_blank">Trent Davis</a>, was doing a photo shoot with them. One of the warm up bands was called Rubik and absolutely blew me away; it was like <a href="http://merrickchristensen.com/sigur-ros-hoppipolla/" target="_blank">Sigur Ros</a> meets <a href="http://www.modestmousemusic.com/" target="_blank">Modest Mouse</a>. An entertaining display of different instruments, brass, percussion, guitar, and beautiful vocals, <a href="http://www.myspace.com/rubikband" target="_blank">Rubik</a> is a band I would really recommend.</p>
<p>It is funny how you almost always walk out of a concert, with a different band burned into your head then the band you intended to see.</p>
]]></content:encoded>
			<wfw:commentRss>http://merrickchristensen.com/rubik-a-pleasant-suprise/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A Thanks To David Archuleta</title>
		<link>http://merrickchristensen.com/a-thanks-to-david-archuleta/</link>
		<comments>http://merrickchristensen.com/a-thanks-to-david-archuleta/#comments</comments>
		<pubDate>Sat, 05 Jun 2010 20:15:39 +0000</pubDate>
		<dc:creator>Merrick</dc:creator>
				<category><![CDATA[Life]]></category>
		<category><![CDATA[Music]]></category>

		<guid isPermaLink="false">http://merrickchristensen.com/?p=22</guid>
		<description><![CDATA[The Story A few years ago I was blessed to record two songs that I had written with David Archuleta. The first Angels in The Alleyway was primarily written about my struggles with the mental illness I&#8217;ve dealt with for several years. The fear I think we all feel that we&#8217;ve lost our mind, are ...]]></description>
			<content:encoded><![CDATA[<h2>The Story</h2>
<p>A few years ago I was blessed to record two songs that I had written with David Archuleta. The first <strong>Angels in The Alleyway</strong> was primarily written about my struggles with the mental illness I&#8217;ve dealt with for several years. The fear I think we all feel that we&#8217;ve lost our mind, are somehow different, and have let everyone including ourselves and God down.  The end of the song attempts to portray the hope &amp; salvation I know and feel when I turn to God. His supporting me, and my realizing it.</p>
<p>The second,<strong> The Most Beautiful Part About This Is&#8230; </strong>was written for an uncle of mine who was diagnosed with terminal illness at a relatively young age. The song is about the faith and inspiration I felt and witnessed from him, and his entire family. I am still amazed every time I think about them. David was kind enough to record these songs with me. This song, in particular, has been a huge strength to my family, or at least I like to think so.</p>
<h2>A huge thanks&#8230;</h2>
<p>I can&#8217;t thank David enough for the incredible impact his recording these songs have had in my life and my family&#8217;s. He is truly a gifted man and everything you perceive about him, you know that wholesome, good, humble person; in my opinion and experience is entirely true. I can&#8217;t think of a better person to have the success that David has since American Idol, I have never even heard of someone handling such fame and growth with such grace and humility; especially at such a young age. I can&#8217;t give David enough props for that and all the other things I&#8217;ve been able to see. I hope this post isn&#8217;t perceived as a plug for the songs I&#8217;ve done with him, as  you can see that aren&#8217;t linked anywhere on this site. This is just me sincerely expressing my gratitude.</p>
]]></content:encoded>
			<wfw:commentRss>http://merrickchristensen.com/a-thanks-to-david-archuleta/feed/</wfw:commentRss>
		<slash:comments>28</slash:comments>
		</item>
		<item>
		<title>Assets &#8211; A PHP 5 Asset Combining Class</title>
		<link>http://merrickchristensen.com/assets-a-php5-asset-combining-class/</link>
		<comments>http://merrickchristensen.com/assets-a-php5-asset-combining-class/#comments</comments>
		<pubDate>Mon, 31 May 2010 17:20:29 +0000</pubDate>
		<dc:creator>Merrick</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Open Source]]></category>

		<guid isPermaLink="false">http://merrickchristensen.com/merrickchristensen.com/?p=1</guid>
		<description><![CDATA[Assets takes multiple JavaScript or CSS files and combines them into one. So mootools.js, drag.js, slider.js, and tips.js can become script.php?load=mootools,drag,slider,tips. Rather then four script tags, you have one. I recently published this Open Source PHP class to combine different text files into one in real time. The benefit here is JavaScript management and page ...]]></description>
			<content:encoded><![CDATA[<h1>Assets takes multiple JavaScript or CSS files and combines them into one.</h1>
<p><strong>So m<em>ootools.js, drag.js, slider.js, and tips.js</em> </strong><strong>can become <em>script.php?load=mootools,drag,slider,tips</em>.</strong></p>
<p>Rather then four script tags, you have one. I recently published this Open Source PHP class to combine different text files into one in real time. The benefit here is JavaScript management and page loading speed. Making a bunch of HTTP requests to external JavaScript will slow down the page load, if you don&#8217;t believe me just open your website and profile it using the WebKit Inspector.</p>
<h1>Documentation</h1>
<p>There are two ways to really use Assets.</p>
<h2>Automatic</h2>
<p><code>Assets::factory()-&gt;get()-&gt;render();</code></p>
<p>This method implies that you are calling the page with a parameter of &#8220;load&#8221; in the URL. The file names need to be separated by commas. Example:<em> script.php?load=mootools,drag,slider,tips</em></p>
<h2>Manual</h2>
<p><code>Assets:factory()-&gt;add('file.js')-&gt;add('file2.js')-&gt;render();</code></p>
<p>This methods adds each file individually passed in using PHP. It is worth noting that you can also pass and array of file names into the add() method.</p>
<h2>Notes</h2>
<p>If you prefer to use the <em>new Assets</em> that is completely OK. You  don&#8217;t have to use the <em>factory() </em>method. Also, I am open to feedback; in fact that&#8217;s half the reason I release my code for free is for people to tear it up and tell me what to improve.</p>
<h1>Download</h1>
<p><a href="http://github.com/iammerrick/Assets" target="_blank">Assets is on GitHub</a></p>
]]></content:encoded>
			<wfw:commentRss>http://merrickchristensen.com/assets-a-php5-asset-combining-class/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

