<?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>aaronRANSLEYblog</title>
	<atom:link href="http://www.aaronransley.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.aaronransley.com</link>
	<description>opinions, musings, and other writings of a programmer and musician living in the puget sound</description>
	<lastBuildDate>Thu, 08 Jul 2010 09:20:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>The Razor Templating Engine by Microsoft</title>
		<link>http://www.aaronransley.com/2010/07/08/the-razor-templating-engine-by-microsoft/</link>
		<comments>http://www.aaronransley.com/2010/07/08/the-razor-templating-engine-by-microsoft/#comments</comments>
		<pubDate>Thu, 08 Jul 2010 09:19:11 +0000</pubDate>
		<dc:creator>Aaron Ransley</dc:creator>
				<category><![CDATA[dork out]]></category>

		<guid isPermaLink="false">http://www.aaronransley.com/?p=232</guid>
		<description><![CDATA[Microsoft has recently announced (and released, as part of WebMatrix) a new templating engine called Razor. Razor uses a parsing style which results in succinctly delineated template files. For example: This will output: the contents of the name variable the current year and a link to the details page for a particular product. Flow control [...]]]></description>
			<content:encoded><![CDATA[<p>Microsoft has <a href="http://weblogs.asp.net/scottgu/archive/2010/07/02/introducing-razor.aspx" target="_blank">recently announced </a>(and released, as part of <a href="http://blogs.msdn.com/b/davidebb/archive/2010/07/07/how-webmatrix-razor-asp-net-web-pages-and-mvc-fit-together.aspx" target="_blank">WebMatrix</a>) a new templating engine called Razor. Razor uses a parsing style which results in succinctly delineated template files. For example:</p>
<p><img class="alignnone size-full wp-image-235" title="image_thumb_23CC3ACF" src="http://www.aaronransley.com/wp-content/uploads/2010/07/image_thumb_23CC3ACF.png" alt="" width="544" height="198" /></p>
<p>This will output:</p>
<ul>
<li>the con<img src="file:///C:/Users/Aaron/Desktop/flow%20ctrl.png" alt="" />tents of the name variable</li>
<li>the current year</li>
<li>and a link to the details page for a particular product.</li>
</ul>
<p>Flow control statements are similar, delineated intelligently with braces:</p>
<p><img class="alignnone size-full wp-image-236" title="flow ctrl" src="http://www.aaronransley.com/wp-content/uploads/2010/07/flow-ctrl.png" alt="" width="397" height="139" /></p>
<p>Multi-line statements look like this<strong>:</strong></p>
<p><strong><img class="alignnone size-full wp-image-237" title="multi line" src="http://www.aaronransley.com/wp-content/uploads/2010/07/multi-line.png" alt="" width="342" height="138" /></strong></p>
<p>Many have expressed concerns of wheel re-invention. While a valid concern, I feel it pales in comparison to the promise of progress and novel techniques that come with 1st party backing of an alternate, less verbose templating engine. For example: full IntelliSense support for alternate view engines is practically non-existent in projects like <a href="http://sparkviewengine.com/" target="_blank">Spark </a>or <a href="http://lmgtfy.com/?q=nhaml" target="_blank">nhaml</a>.</p>
<p>Recently, Scott Guthrie <a href="http://weblogs.asp.net/scottgu/archive/2010/07/02/introducing-razor.aspx#7553674" target="_blank">commented on a feature request</a>, stating the Razor  templating  engine is very likely to have it&#8217;s source code released on  CodePlex. Yup, just like MVC, <strong>MS is  likely  releasing the source.</strong> This is excellent news, since we can all take a stab at branching and improving Razor as we see fit.</p>
<blockquote><p><em><span style="color: #808080;">As an aside, please <a href="http://tirania.org/blog/archive/2010/Jul-07.html" target="_blank">see this blog post </a>highlighting recently released  .NET 4.0 libraries, now open source and completely compatible with the  open source Mono project.</span></em></p></blockquote>
<p>I&#8217;ve also read that Razor has a <a href="http://weblogs.asp.net/scottgu/archive/2010/07/02/introducing-razor.aspx#7553027" target="_blank">distinct lack of dependencies</a>. Since the engine is simply generating strings from particular blocks of C# code, there is discussion of having Razor handle mail-merges, small-time business logic scripting, and so forth. It needn&#8217;t be married directly to the ASP.NET platform, or even the Web environment.</p>
<p>Bring it on!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.aaronransley.com/2010/07/08/the-razor-templating-engine-by-microsoft/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Loving iFixit&#8217;s Website</title>
		<link>http://www.aaronransley.com/2010/04/03/loving-ifixits-website/</link>
		<comments>http://www.aaronransley.com/2010/04/03/loving-ifixits-website/#comments</comments>
		<pubDate>Sun, 04 Apr 2010 02:11:19 +0000</pubDate>
		<dc:creator>Aaron Ransley</dc:creator>
				<category><![CDATA[dork out]]></category>

		<guid isPermaLink="false">http://www.aaronransley.com/?p=229</guid>
		<description><![CDATA[Check out: http://www.ifixit.com There is something about this Web site that makes exploring fun. The content is laid out in a dense way, so your eyes are always &#8220;satisfied&#8221; with some bit of info or graphic. I could see some considering the layout crowded &#8212; &#8220;Woah man, where&#8217;s my whitespace?&#8221;. That&#8217;s not me, though. I [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Check out: </strong><a href="http://www.ifixit.com">http://www.ifixit.com</a></p>
<p>There is something about this Web site that makes exploring fun. The content is laid out in a dense way, so your eyes are always &#8220;satisfied&#8221; with some bit of info or graphic. I could see some considering the layout crowded &#8212; &#8220;Woah man, where&#8217;s my whitespace?&#8221;. That&#8217;s not me, though. I dig the brainfood aspect of the experience.</p>
<p>It&#8217;s debatable whether or not every geek should explore the tools they use every day, but iFixit puts that question aside and just plows ahead. They end up going a long way to make you feel in control of your devices! From hard-drive assemblies to uni-body Macbook Pro laptops, instructions and pictures are abundant and all encompassing.</p>
<p>I personally was able to disassemble my laptop and install a new fan when needed, thanks to these exceptional guides. I&#8217;m all for the thrill of blind exploration, but when someone has already done it (and learned how <strong>not </strong>to break <em>chassis mount 2B</em>, for example<em>)</em> I&#8217;ll gladly take the free advice.</p>
<p>Check it out! Maybe that broken [xyz] you have lying around might be fixable&#8230; By you!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.aaronransley.com/2010/04/03/loving-ifixits-website/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Automated Testing</title>
		<link>http://www.aaronransley.com/2010/02/09/automated-testing/</link>
		<comments>http://www.aaronransley.com/2010/02/09/automated-testing/#comments</comments>
		<pubDate>Wed, 10 Feb 2010 06:11:18 +0000</pubDate>
		<dc:creator>Aaron Ransley</dc:creator>
				<category><![CDATA[dork out]]></category>
		<category><![CDATA[i'm learnin!]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://www.aaronransley.com/?p=218</guid>
		<description><![CDATA[In the spirit of sharing, I&#8217;m going to talk a bit about how automated testing has stolen my heart. I&#8217;ve been working with some form of Web development for roughly 7 years now, but have had surprisingly little experience in maintaining a codebase over time. I&#8217;ve never liked this fact. Due to the one-off nature [...]]]></description>
			<content:encoded><![CDATA[<p>In the spirit of sharing, I&#8217;m going to talk a bit about how automated testing has stolen my heart.</p>
<p>I&#8217;ve been working with some form of Web development for roughly 7 years now, but have had surprisingly little experience in maintaining a codebase over time. I&#8217;ve never liked this fact.</p>
<p>Due to the one-off nature of many freelance projects and personal experiments, there is often little that needs to be maintained or iterated upon after the fact. It&#8217;s like a software design utopia; nothing changes. I&#8217;ve always been aware of this absurdity and enjoyed it to the fullest, I assure you :)</p>
<p>Now, I work for a <strong>company </strong>and have a<strong> salary</strong> and have<strong> legacy code</strong> to maintain. I also write large amounts of<strong> production code</strong>, employing nebulous and ever-changing requirements. Sounds more like the software industry, doesn&#8217;t it?</p>
<p>This leads me to where I assume many are led: <a href="http://en.wikipedia.org/wiki/Test_automation#Code-driven_testing" target="_blank">automated testing</a>. I&#8217;m learning about unit testing now, but have also touched briefly on integration testing. Most interesting to me so far is the implementation and architecture required to set up test scenarios effectively. Interfaces and <a href="http://en.wikipedia.org/wiki/Dependency_injection" target="_blank">DI</a>, oh my! It&#8217;s a perfectly well defined example of modular code which feels extremely natural to me.</p>
<p>Coming from a workflow that had me entering data and clicking widgets manually, I actually gain productivity. On top of that, the obvious benefits of overall runtime and structural stability lead to more &#8220;confident code&#8221;.</p>
<p>Sadly, I still feel resistance from higher-ups regarding unit testing being &#8220;too expensive&#8221; for small shops, so I am working on compiling citable studies.</p>
<p><a href="http://en.wikipedia.org/wiki/How_to_Win_Friends_and_Influence_People" target="_blank">Wish me luck</a> :)</p>
<p>Thanks for reading!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.aaronransley.com/2010/02/09/automated-testing/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Humanized Output</title>
		<link>http://www.aaronransley.com/2010/02/03/humanized-output/</link>
		<comments>http://www.aaronransley.com/2010/02/03/humanized-output/#comments</comments>
		<pubDate>Thu, 04 Feb 2010 04:34:34 +0000</pubDate>
		<dc:creator>Aaron Ransley</dc:creator>
				<category><![CDATA[dork out]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://www.aaronransley.com/?p=211</guid>
		<description><![CDATA[Shown here is a snippet of the woot! homepage. I enjoy this little widget particularly because of the way excerpts from the forums are prefixed. The human readability of &#8220;[user] would like to know&#8230;&#8221;, &#8220;[user] reports back&#8230;&#8221;, and &#8220;[user] had some troubles with a&#8230;&#8221; is significant. Go organic with your Web application&#8217;s verbiage, especially in areas where [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.woot.com" target="_blank"><img class="size-full wp-image-210  alignright" title="babel" src="http://www.aaronransley.com/wp-content/uploads/2010/02/babel1.gif" alt="" width="280" height="360" /></a>Shown here is a snippet of the <a href="http://www.woot.com">woot!</a> homepage. I enjoy this little widget particularly because of the way excerpts from the forums are prefixed. The human readability of &#8220;[user] would like to know&#8230;&#8221;, &#8220;[user] reports back&#8230;&#8221;, and &#8220;[user] had some troubles with a&#8230;&#8221; is significant.</p>
<p>Go organic with your Web application&#8217;s verbiage, especially in areas where users are likely to be in a hurry. &#8220;About two days ago&#8221; as a timestamp is wildly more helpful than &#8220;53 hours ago&#8221; or &#8220;2-1-2010 6:00 PM&#8221;. While it&#8217;s no replacement, widgets and primary listings are great places to use a more natural language.</p>
<p>And tomorrow, when I check my schedule and see my next meeting is in &#8220;about 3 hours&#8221;, I&#8217;ll remember. When I am in a hurry I can throw &#8220;[blah blah] 7pm tomorrow&#8221; at my calender app and it will just work. It feels comfortable, and it encourages smooth interaction.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.aaronransley.com/2010/02/03/humanized-output/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Website Launch: Girlboy Greetings</title>
		<link>http://www.aaronransley.com/2010/01/31/website-launch-girlboy-greetings/</link>
		<comments>http://www.aaronransley.com/2010/01/31/website-launch-girlboy-greetings/#comments</comments>
		<pubDate>Mon, 01 Feb 2010 04:36:02 +0000</pubDate>
		<dc:creator>Aaron Ransley</dc:creator>
				<category><![CDATA[dork out]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://www.aaronransley.com/?p=199</guid>
		<description><![CDATA[I&#8217;ve just helped design a site for Girlboy Greetings! Girlboy Greetings is a small greeting card establishment from Los Angeles, CA. The designs are quirky and are offered in a variety of colors. My favorite aspect of the cards is how they offer glimpses of everyday thoughts and places. geek::facts(); I took a radically different [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve just helped design a site for Girlboy Greetings!<em><br />
</em></p>
<p><a href="http://girlboygreetings.com" target="_blank">Girlboy Greetings</a> is a small greeting card establishment from Los Angeles, CA. The designs are quirky and are offered in a variety of colors. My favorite aspect of the cards is how they offer glimpses of everyday thoughts and places.</p>
<p><code><span style="font-size: 22px;">geek::facts();</span></code></p>
<p>I took a radically different approach with site conception and design in that I put the site together in Photoshop prior to any HTML development. This feels like a graduation from my previous design mentality, which had often sent me bouncing between <code>divsdivsdivs</code> and &#8220;oh-god-where&#8217;s my vector shape tool&#8221;.</p>
<p>The budget was small and time was tight so we went with a small 3 page, primarily static site. A <a href="http://rubyonrails.org" target="_blank">Rails</a> application with only 4 controllers runs the whole thing. The <a href="http://github.com/thoughtbot/paperclip/blob/master/README.rdoc" target="_blank">Paperclip</a> plugin is in use by the Card model to handle semi-intelligent cropping of uploaded images. An implementation of a <a href="http://jquery.com/" target="_blank">jQuery</a> driven cropper is a to-do. On the front end, all is standard CSS with some basic jQuery effects. <a href="http://fancybox.net/">Fancybox</a> rounds off the card display.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.aaronransley.com/2010/01/31/website-launch-girlboy-greetings/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
