<?xml version="1.0" encoding="utf-8"?>
			
			<rss version="2.0">
			<channel>
			<title>Hal Helms On Web Development - Simplicity</title>
			<link>http://www.halhelms.com/blog/index.cfm</link>
			<description>Hal Helms talks about web development.</description>
			<language>en-us</language>
			<pubDate>Wed, 08 Sep 2010 20:22:27 -0400</pubDate>
			<lastBuildDate>Tue, 14 Jul 2009 11:23:00 -0400</lastBuildDate>
			<generator>BlogCFC</generator>
			<docs>http://blogs.law.harvard.edu/tech/rss</docs>
			<managingEditor>hal@halhelms.com</managingEditor>
			<webMaster>hal@halhelms.com</webMaster>
			
			
			
			
			
			<item>
				<title>ColdFusion and OOP - A Match Made in Heaven or a Long Road to Hell?</title>
				<link>http://www.halhelms.com/blog/index.cfm/2009/7/14/ColdFusion-and-OOP--A-Match-Made-in-Heaven-or-a-Long-Road-to-Hell</link>
				<description>
				
				Well, now I&apos;ve done it. If I had not sufficiently alienated both Adobe and the ColdFusion community leaders, I participated in a discussion at the suggestion of my good friend, &lt;a href=&quot;www.clarkvalberg.com&quot; target=&quot;newwin&quot;&gt;Clark Valberg&lt;/a&gt;. 

Having read my blogpost from a few weeks back in which I expressed my concern that ColdFusion was losing its way, Clark decided that it would make for an interesting podcast to have Brian Kotek (as an able proponent of OO in CF orthodoxy), Ben Nadel (as an honest developer looking for answers) and me (as a reluctant heretic) talk about OO in ColdFusion.
				 [More]
				</description>
						
				
				<category>Simplicity</category>				
				
				<category>ColdFusion</category>				
				
				<category>Software Development</category>				
				
				<category>General</category>				
				
				<category>Philosophy</category>				
				
				<pubDate>Tue, 14 Jul 2009 11:23:00 -0400</pubDate>
				<guid>http://www.halhelms.com/blog/index.cfm/2009/7/14/ColdFusion-and-OOP--A-Match-Made-in-Heaven-or-a-Long-Road-to-Hell</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>Thoughts on Object Oriented &quot;Purity&quot;</title>
				<link>http://www.halhelms.com/blog/index.cfm/2009/4/2/Thoughts-on-Object-Oriented-Purity</link>
				<description>
				
				Ben Nadel recently wrote a blog post on his disillusionment in his attempts to &quot;get&quot; OO. His conclusion was that he was going to have to give up on &quot;object purity&quot; and accept a more practical OO approach. Based on the comments on his post, a lot of people are feeling this.
				 [More]
				</description>
						
				
				<category>Simplicity</category>				
				
				<category>Software Development</category>				
				
				<category>General</category>				
				
				<category>Philosophy</category>				
				
				<pubDate>Thu, 02 Apr 2009 05:39:00 -0400</pubDate>
				<guid>http://www.halhelms.com/blog/index.cfm/2009/4/2/Thoughts-on-Object-Oriented-Purity</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>Code Formatting in Blog Pages with jQuery</title>
				<link>http://www.halhelms.com/blog/index.cfm/2008/12/11/Code-Formatting-in-Blog-Pages-with-jQuery</link>
				<description>
				
				In my Occasional Newsletter, I want to have my code nicely formatted. And I want to just copy working code to display it. ColdFusion code has those troubling angled brackets that play havoc with browser display. I didn&apos;t want to have to swap those for the HTML entity representations. Also, when I indent my code, I use tabs instead of spaces. I didn&apos;t want to have to manually replace every tab with non-breaking spaces.

Here&apos;s what I came up with:

1. I place my code in a TEXTAREA.&lt;br /&gt;
2. I style the TEXTAREA via CSS to remove the borders, provide a light grey background, switch the font, and change the font color.&lt;br /&gt;
3. I wrote a little bit of jQuery that...&lt;br /&gt;
   a. sets the &quot;cols&quot; and &quot;rows&quot; setting of the textarea dynamically&lt;br /&gt;
   b. replaces all tabs with non-breaking spaces&lt;br /&gt;

Here&apos;s the jQuery:
&lt;code&gt;
$(document).ready(function(){
   $(&apos;textarea&apos;).each(function(){
      $(this).val($(this).val().replace(/	/g,&apos;   &apos;));
      $(this).attr(&apos;rows&apos;,$(this).val().split(&quot;\n&quot;).length);
      $(this).attr(&apos;cols&apos;,80);
      $(this).attr(&apos;readonly&apos;, true);
   })
});
&lt;/code&gt;
Now, what was a chore becomes really easy. I love jQuery.

Note: This works with HTML pages, but ColdFusion pages will still interpret the code.
				
				</description>
						
				
				<category>Simplicity</category>				
				
				<category>Software Development</category>				
				
				<category>Code</category>				
				
				<pubDate>Thu, 11 Dec 2008 18:58:00 -0400</pubDate>
				<guid>http://www.halhelms.com/blog/index.cfm/2008/12/11/Code-Formatting-in-Blog-Pages-with-jQuery</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>The Beauty of Simplicity</title>
				<link>http://www.halhelms.com/blog/index.cfm/2008/11/21/The-Beauty-of-Simplicity</link>
				<description>
				
				For the past several weeks, I&apos;ve been working on a very complicated app. I&apos;ve been working with Maciej, my colleague, and together we&apos;ve been struggling to keep the whole thing going in our heads.

At the same time, I&apos;ve been reading a biography of Einstein that concentrates on the Great Man before he had attained his now-exalted status. What I find fascinating is how much Einstein struggled with the different, competing observations and theories before arriving at his breakthrough understanding of relativity.

Einstein was not content with a theory that would explain observations; he wanted to understand the fundamental nature of the universe. Once that was done, he was convinced, theories for individual phenomena would arise naturally. He found that understanding by hewing to a belief that reality was, at its heart, beautifully simple. And, as far as equations go, there&apos;s not much simpler than e=mc^2. Ah, but getting to that simplicity nearly broke him.
				 [More]
				</description>
						
				
				<category>Simplicity</category>				
				
				<category>Software Development</category>				
				
				<category>Philosophy</category>				
				
				<pubDate>Fri, 21 Nov 2008 18:19:00 -0400</pubDate>
				<guid>http://www.halhelms.com/blog/index.cfm/2008/11/21/The-Beauty-of-Simplicity</guid>
				
			</item>
			
		 	
			</channel></rss>