<?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>stevenclark.com.au &#187; ruby</title>
	<atom:link href="http://stevenclark.com.au/category/ruby/feed/" rel="self" type="application/rss+xml" />
	<link>http://stevenclark.com.au</link>
	<description></description>
	<lastBuildDate>Wed, 08 Feb 2012 06:58:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
		<item>
		<title>Build Your Own Ruby on Rails Web Applications (Book Review)</title>
		<link>http://stevenclark.com.au/2007/12/08/build-your-own-ruby-on-rails-web-applications-book-review/</link>
		<comments>http://stevenclark.com.au/2007/12/08/build-your-own-ruby-on-rails-web-applications-book-review/#comments</comments>
		<pubDate>Sat, 08 Dec 2007 09:00:04 +0000</pubDate>
		<dc:creator>steven</dc:creator>
				<category><![CDATA[books]]></category>
		<category><![CDATA[reviews]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://stevenclark.com.au/2007/12/08/build-your-own-ruby-on-rails-web-applications-book-review/</guid>
		<description><![CDATA[Over the past couple of weeks I&#8217;ve worked through Build Your Own Ruby on Rails Web Applications by Patrick Lenz. As an intermediate Java programmer, and I say that extremely timidly, my background knowledge already included Object Oriented concepts but it was worth reading the first five chapters simply to gain the context. The step [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.amazon.com/gp/product/0975841955?ie=UTF8&#038;tag=stevenclacoma-20&#038;linkCode=as2&#038;camp=1789&#038;creative=390957&#038;creativeASIN=0975841955"><img src="http://stevenclark.com.au/wp-content/uploads/2007/12/rails.jpg" alt="Build Your Own Ruby on Rails Web Applications by Patrick Lenz (cover)" title="Build Your Own Ruby on Rails Web Applications by Patrick Lenz (cover)" class="intextimg" /></a>Over the past couple of weeks I&#8217;ve worked through <a href="http://www.amazon.com/gp/product/0975841955?ie=UTF8&#038;tag=stevenclacoma-20&#038;linkCode=as2&#038;camp=1789&#038;creative=390957&#038;creativeASIN=0975841955">Build Your Own Ruby on Rails Web Applications</a> by Patrick Lenz. As an intermediate Java programmer, and I say that extremely timidly, my background knowledge already included Object Oriented concepts but it was worth reading the first five chapters simply to gain the context. The step by step nature of the rest of the book was reasonably easy to follow although I would suggest anyone not confident in their debugging skills might simply cut-and-paste code snippets and constantly check against the errata for potential broken code.</p>
<p>Overall I took a lot away from reading this book. Its strength is the assumption the reader has never programmed before to any complexity so practically every line is thoroughly explained. I also took a lot away from it about the methodologies involved in creating and maintaining test regimes within the process.</p>
<p>The real question is would I feel confident to dive into a Ruby on Rails application by myself? No of course not. I don&#8217;t think many reading a single book with or without a project to walk through could seriously make any significant application the following week. But books aren&#8217;t actually about that. What Patrick Lenz has provided the reader is a solid understanding of what the framework can achieve and the overview necessary to learn more.</p>
<p>I would feel confident to use Ruby on Rails now for something simple. Or I would be confident to enter a team environment where Ruby on Rails was the framework. Nobody can really ask more of an entry level book. Whether I do use it or not is quite another story and only time will tell if I head down the Web 2.0 application trail. I have a few small ideas.</p>
<p>I did have a few minor hiccups with the book &#8211; particularly an inability to get ruby-debug downloaded and installed correctly. But that&#8217;s a minor issue. Even if that issue stole a little from my confidence to attempt something a little more complex. And let&#8217;s face it programming books are a hard slog so don&#8217;t expect the sections on debugging, testing, plugins and deployment to be anything but what they have to be.</p>
<p>I&#8217;d highly recommend anyone, particularly from an Object Oriented background, to pick this one up while its free over on Sitepoint. I think my next step is to work on something quite basic and solidify Patrick&#8217;s fundamental knowledge before thinking about making anything more advanced. But you never know your luck in the big city&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://stevenclark.com.au/2007/12/08/build-your-own-ruby-on-rails-web-applications-book-review/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A Framework Question for Code Purists</title>
		<link>http://stevenclark.com.au/2007/11/26/a-framework-question-for-code-purists/</link>
		<comments>http://stevenclark.com.au/2007/11/26/a-framework-question-for-code-purists/#comments</comments>
		<pubDate>Sun, 25 Nov 2007 21:22:43 +0000</pubDate>
		<dc:creator>steven</dc:creator>
				<category><![CDATA[css]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://stevenclark.com.au/2007/11/26/a-framework-question-for-code-purists/</guid>
		<description><![CDATA[I&#8217;ve got a small question for code purists who suggest frameworks in themselves are bad because wheels need reinventing by every coder who came after us. My question: why is it different using a framework of prewritten code? As opposed to a Content Management System (CMS) or ecommerce solution of pre-written code? I ask this [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve got a small question for code purists who suggest frameworks in themselves are bad because wheels need reinventing by every coder who came after us.</p>
<p><strong>My question</strong>: why is it different using a framework of prewritten code? As opposed to a Content Management System (CMS) or ecommerce solution of pre-written code?</p>
<p>I ask this because somewhere in that argument is the perceived ideal of the coder generating pure unadulterated markup, styling and behaviour without using anything that came before. In my humble opinion this is exactly what you do when you pick up content management, blogging software and any number of web solutions out there. So why is it so different to picking up a library or framework and getting on with the job? Even a code purist must admit they couldn&#8217;t build the e-commerce site without that pile of pre-written code on the server. It all comes from somewhere. Even a lot of code you generate yourself is either inspired directly by, or includes legacy portions of, the code of your peers and teachers.</p>
<p>Here&#8217;s an example. Say I&#8217;m a new programmer learning Java and I need to do a gritty little thing like work out the circumference of a circle of given radius. Not only that but I need to take that circumference and output it as a rounded figure to the nearest centimetre. Do I really need to know the math involved in figuring the circumference from the radius? Or how to round a number? No. Why that is a no is because a fundamental part of programming is the use of functions to complete otherwise mundane tasks. And that reuse of code makes for less errors than if everyone jumped in and had to write the math part themselves. Functions speed up the process of development, make programs more compact and readable, and they improve the quality of the code by drawing on one source consistently to achieve the same functionality.</p>
<p>Which brings us back to libraries and frameworks. In essence they sit on top of the language &#8211; for example Rails sits on top of Ruby &#8211; where functions can be called to achieve tasks which might be repeatable across projects. There&#8217;s nothing new about that paradigm at all. Its exactly what happens, in a general sense, when I implement a shopping cart with someone&#8217;s prewritten code. So why is this all such a bother to code purists?</p>
]]></content:encoded>
			<wfw:commentRss>http://stevenclark.com.au/2007/11/26/a-framework-question-for-code-purists/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Look at Frameworks as Just a Useful Tool</title>
		<link>http://stevenclark.com.au/2007/11/24/look-at-frameworks-as-just-a-useful-tool/</link>
		<comments>http://stevenclark.com.au/2007/11/24/look-at-frameworks-as-just-a-useful-tool/#comments</comments>
		<pubDate>Sat, 24 Nov 2007 02:10:49 +0000</pubDate>
		<dc:creator>steven</dc:creator>
				<category><![CDATA[css]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://stevenclark.com.au/2007/11/24/look-at-frameworks-as-just-a-useful-tool/</guid>
		<description><![CDATA[I&#8217;ve never really understood the argument against libraries and frameworks. They&#8217;re tools and nothing more. Perhaps they allow some to get up and rolling without fully understanding the dependent technologies but that in itself isn&#8217;t my sticking point. In some ways the abstraction can prevent the novice from creating awkward solutions for easy problems within [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve never really understood the argument against libraries and frameworks. They&#8217;re tools and nothing more. Perhaps they allow some to get up and rolling without fully understanding the dependent technologies but that in itself isn&#8217;t my sticking point. In some ways the abstraction can prevent the novice from creating awkward solutions for easy problems within the context of their project. Although I would suggest its important to learn the underlying language.</p>
<p>James Bennett wrote a great article this week titled <a href="http://www.b-list.org/weblog/2007/nov/19/frameworks/">Lets talk about frameworks (again)</a> where he points out the difference between frameworks, libraries and snippets. I think its a must read. It offers a larger perspective, albeit not the only one, about what frameworks might or might not achieve for us as developers. The technician versus the artist. Without doubt there are many like myself who are somewhere between the poles of technician and artist.</p>
<p>Recently I&#8217;ve been working through <a href="http://www.sitepoint.com/books/rails1/">Build Your Own Ruby on Rails Web Applications</a> by Patrick Lenz. And why not? I am at the end of a Bachelor of Computing which heavily focused on Object Oriented Programming (OOP). I am an intermediate level Java Programmer in Java 2 Standard Edition and have completed work in Java 2 Micro Edition as well as C, PHP, SQL, machine and assembly code, UNIX, JavaScript and other languages. I think on the whole the leap into Ruby and then into Rails isn&#8217;t something that should be thrown back at me simply because I&#8217;ve decided to adopt a framework for a project. I have worked in web standards semantic markup for at least the last four years so have paid my dues. I would hardly describe myself as someone who just jumps into a framework as if its day one of my programming career.</p>
<p>So I think its wrong to slate everyone who uses a framework as getting a free ride. Maybe there are those who do get a free ride from frameworks and libraries but many of us can actually program to some extent already or worked with semantic markup and Cascading Stylesheets before picking up a framework. At least significantly enough that the framework is not a black box solution.</p>
<p><span id="more-197"></span></p>
<p>Yes I do think people should at least learn some fundamentals of the underlying language before they embark with frameworks and libraries but that of itself isn&#8217;t a condemnation of the methodology. Its a suggestion to the implementers in just the same way I would suggest the use of a mattock over a shovel in some situations.</p>
<p>In the end it comes down to where the rubber meets the road &#8211; your current abilities, the project at hand and the constraints which make using a framework significantly beneficial to spend time to learn. I&#8217;m enjoying riding the rails at this point. Toot, toot. All aboard.</p>
]]></content:encoded>
			<wfw:commentRss>http://stevenclark.com.au/2007/11/24/look-at-frameworks-as-just-a-useful-tool/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

