<?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>UnderworldLabs.org &#187; patterns</title>
	<atom:link href="http://underworldlabs.org/tag/patterns/feed/" rel="self" type="application/rss+xml" />
	<link>http://underworldlabs.org</link>
	<description>My Dropbox</description>
	<lastBuildDate>Fri, 07 Oct 2011 13:46:07 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.4</generator>
		<item>
		<title>Object Assemblers</title>
		<link>http://underworldlabs.org/blog/object-assemblers/</link>
		<comments>http://underworldlabs.org/blog/object-assemblers/#comments</comments>
		<pubDate>Sun, 04 Jan 2009 22:22:00 +0000</pubDate>
		<dc:creator>Takis Diakoumis</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[assemblers]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[patterns]]></category>

		<guid isPermaLink="false">http://underworldlabs.org/?p=39</guid>
		<description><![CDATA[Object assemblers for domain to DTO transformations are perhaps one of the more tedious components of your typical n-tier application. They&#8217;re rather boring to write,...]]></description>
			<content:encoded><![CDATA[<p>Object assemblers for domain to DTO transformations are perhaps one of the more tedious components of your typical <em>n</em>-tier application. They&#8217;re rather boring to write, ridiculously laborious and for whatever reason I always seem to need to defend their use &#8211; especially in this apparent age of <em>rapid application development</em>.</p>
<p>Frankly, the case for DTOs is well and truly closed &#8211; take a look at Martin Fowler&#8217;s <a href="http://martinfowler.com/eaaCatalog/dataTransferObject.html" target="_blank">entry</a> for a good description of the pattern from his book <a href="http://martinfowler.com/books.html#eaa" target="_blank">Patterns of Enterprise Application Architecture</a>. There&#8217;s a heap of other references from a simple <a href="http://www.google.com.au/search?q=data+transfer+objects+and+assemblers" target="_blank">Google search</a>.</p>
<p>In this light, I was recently directed to a new assembler library by Rob Monie that he described on <a href="http://backtofront.squarespace.com/blog/2008/12/30/a-simple-object-assembler.html" target="_blank">Back to Front</a>. Its very easy to use and allows you to manage the process of traversing the object graph quite easily relying on <em>convention over configuration</em> techniques. It goes a long way to taking most of the tedioum of providing an assembler and transformation mechanism for your domain and DTO objects. The project is free and open source on <a href="http://code.google.com/p/simple-object-assembler/" target="_blank">Google Code</a>. Definately worth a look.</p>
]]></content:encoded>
			<wfw:commentRss>http://underworldlabs.org/blog/object-assemblers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

