<?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>Simone Carletti&#039;s Blog &#187; addison wesley</title>
	<atom:link href="http://www.simonecarletti.com/blog/tags/addison-wesley/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.simonecarletti.com/blog</link>
	<description>Simone Carletti&#039;s personal ramblings on programming, syndication, search engines &#38; marketing.</description>
	<lastBuildDate>Tue, 07 Feb 2012 08:48:33 +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>Design Patterns in Ruby Book Review</title>
		<link>http://www.simonecarletti.com/blog/2009/03/book-review-design-patterns-in-ruby/</link>
		<comments>http://www.simonecarletti.com/blog/2009/03/book-review-design-patterns-in-ruby/#comments</comments>
		<pubDate>Tue, 03 Mar 2009 12:20:35 +0000</pubDate>
		<dc:creator>Simone Carletti</dc:creator>
				<category><![CDATA[Books]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[addison wesley]]></category>
		<category><![CDATA[design patterns]]></category>
		<category><![CDATA[reviews]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://www.simonecarletti.com/blog/?p=155</guid>
		<description><![CDATA[Design Patterns in Ruby by Russ Olsen is the first book entirely dedicated to the implementation in Ruby of the most common Design Patterns.]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.simonecarletti.com/blog/out/amzcom-rubypatterns"><img class="alignleft" title="Book Design Patterns in Ruby" src="http://share.weppos.net/simonecarletti/book-addison-rubypatterns-20110817-214258.png" alt="Book Design Patterns in Ruby" width="189" height="250" /></a> <a href="http://www.simonecarletti.com/blog/out/amzcom-rubypatterns"><em>Design Patterns in Ruby</em></a> (<a href="http://www.simonecarletti.com/blog/out/amzcom-rubypatterns">US</a> | <a href="http://www.simonecarletti.com/blog/out/amzuk-rubypatterns">UK</a>) is the first book entirely dedicated to the <strong>implementation of the most common Design Patterns in Ruby</strong> as defined by the <em>Gang of Four</em> (GoF). <em>Design Patterns in Ruby</em> is written by <a href="http://www.russolsen.com/">Russ Olsen</a>, edited by Addison-Wesley and is a part of the <strong>Professional Ruby Series</strong> managed by <a href="http://obiefernandez.com/">Obie Fernandez</a>. This series is without a doubt synonymous to quality and guarantee for those looking for a book on Ruby or Rails.</p>
<p>Compared to my last readings, this publication was decisively less time consuming. I finished the book in no more than a week, dedicating an hour a day in tram. On condition that you have a certain familiarity with <strong>Ruby</strong> and <strong>Object Oriented Programming</strong>, <em>Design Patterns in Ruby</em> is a quick and involving reading.<span id="more-155"></span></p>
<h2>Structure</h2>
<p>The book is divided in three parts.</p>
<p>The first part, <strong>Patterns and Ruby</strong>, is a quick introduction to the design patterns and the Ruby programming language. As I said before, you should not rely too much on the second chapter. A single section is not enough to demonstrate the power of the Ruby language.</p>
<p>The second part, <strong>Patterns in Ruby</strong>, is the heart of the book. Each chapter covers one of the different patterns originally discussed by the GoF, providing a brief introduction, practical examples of the Ruby implementation and a few real world examples, inspired by famous Ruby libraries such as <code>Rails</code> and <code>URI</code>. At the end of each chapter, a summarizing paragraph wraps up the most important Design Pattern elements.</p>
<p>The third part, <strong>Pattern for Ruby</strong>, takes into consideration three patterns not included in the original book but emerged with the introduction and the development of the Ruby language.</p>
<h3>Design Pattern discussed</h3>
<p>This is the list of all design patterns discussed in the book:</p>
<ul>
<li>Template</li>
<li>Strategy</li>
<li>Observer</li>
<li>Composite</li>
<li>Iterator</li>
<li>Commands</li>
<li>Adapter</li>
<li>Proxy</li>
<li>Decorator</li>
<li>Singleton</li>
<li>Factory</li>
<li>Builder</li>
<li>Interpreter</li>
</ul>
<p>These are the Ruby-oriented patterns covered in the third chapter:</p>
<ul>
<li>Domain-Specific Language (DSL)</li>
<li>Meta-Programming</li>
<li>Convention Over Configuration</li>
</ul>
<h2>Requirements</h2>
<p>As stated in the preface of the author, in order to read this book you don’t need to hold any particular competence either in Ruby or Design Pattern. Even so, you should have a certain familiarity with the dynamics of the object oriented programming. I confess to finding myself partially disagreeing. <strong>Tackling the reading in this book without a certain amount of knowledge of Ruby could prove itself as counter-productive</strong>, considering that some design patterns use characteristics like meta-programming, reflection, modules, symbols, Mixins, blocks, and procedures. While the previous can be considered common aspects in many languages, starting from symbols onwards, you find yourself entering in the Ruby world.</p>
<p>The second chapter of the book offers a brief introduction to Ruby, but these 30 minutes of reading are nothing compared with the experience you can learn with a day-by-day programming or a Ruby book such as the excellent <a href="http://bit.ly/cjpbLm">Learn to Program</a> or <a href="http://bit.ly/9SZ23k">Programming Ruby</a>, one of the most complete Ruby references.</p>
<p>You don’t need any specific Design Pattern knowledge in order to appreciate this book. I agree with the author in this case. It covers all Design Patterns from theory to the practical implementation providing you with a full overview of the subject.</p>
<h2>In conclusion</h2>
<p>Once more, the Addison-Wesley and the Professional Ruby Series completely met my expectations. <strong>I strongly suggest the book</strong> <a href="http://www.simonecarletti.com/blog/out/amzcom-rubypatterns"><em>Design Patterns in Ruby</em></a> (<a href="http://www.simonecarletti.com/blog/out/amzcom-rubypatterns">US</a> | <a href="http://www.simonecarletti.com/blog/out/amzuk-rubypatterns">UK</a>) to all those programmers who wish to improve their Ruby development knowledge and <strong>leverage their skills to an even more professional level</strong>. Design Patterns are an advanced and professional solution to the most common software development problems and should be part of every professional developer.</p>
<p>Russ Olsen had the ability to write an easily readable publication, without compromising the quality of the book. Each chapter is self-contained and they can be read in no specific order. If I must find a dislike, then I would say the price could be lower, compared to the average price of similar books. But you know, <strong>quality has its price</strong>.</p>
<h2>Where to Find Design Patterns in Ruby</h2>
<p>You can get a printed or Kindle copy at <a href="http://www.simonecarletti.com/blog/out/amzcom-rubypatterns">Amazon.com</a>, <a href="http://www.simonecarletti.com/blog/out/amzuk-rubypatterns">Amazon.co.uk</a>, or at your other favorite book seller.</p>
<h3>Kindle Preview</h3>
<div id="kindle-reader">.</div>
<p><script type="text/javascript" src="http://kindleweb.s3.amazonaws.com/app/KindleReader-min.js"></script><script type="text/javascript">// <![CDATA[
                         KindleReader.LoadSample({containerID: 'kindle-reader', asin: 'B0010SEN1S', width: '600', height: '629', assoctag: 'simonecarletti-20'});
// ]]&gt;</script></p>
<p>Related posts<ol>
<li><a href='http://www.simonecarletti.com/blog/2011/10/eloquent-ruby/' rel='bookmark' title='Eloquent Ruby Book Review'>Eloquent Ruby Book Review</a></li>
<li><a href='http://www.simonecarletti.com/blog/2010/03/book-review-learning-jquery/' rel='bookmark' title='Learning jQuery 1.3 Book Review'>Learning jQuery 1.3 Book Review</a></li>
<li><a href='http://www.simonecarletti.com/blog/2011/03/book-review-getting-real/' rel='bookmark' title='Getting Real Book Review'>Getting Real Book Review</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.simonecarletti.com/blog/2009/03/book-review-design-patterns-in-ruby/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

