<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: DTO&#8217;s, DDD &amp; The Anemic Domain Model</title>
	<atom:link href="http://elegantcode.com/2009/11/13/dtos-ddd-the-anemic-domain-model/feed/" rel="self" type="application/rss+xml" />
	<link>http://elegantcode.com/2009/11/13/dtos-ddd-the-anemic-domain-model/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=dtos-ddd-the-anemic-domain-model</link>
	<description></description>
	<lastBuildDate>Sun, 12 Feb 2012 18:54:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.5</generator>
	<item>
		<title>By: Marty Nelson</title>
		<link>http://elegantcode.com/2009/11/13/dtos-ddd-the-anemic-domain-model/comment-page-1/#comment-63683</link>
		<dc:creator>Marty Nelson</dc:creator>
		<pubDate>Tue, 15 Feb 2011 16:29:00 +0000</pubDate>
		<guid isPermaLink="false">http://elegantcode.com/2009/11/13/dtos-ddd-the-anemic-domain-model/#comment-63683</guid>
		<description>This seems to just be a lot of confusion about transactional vs analytical services.

Domain models are largely based on transactional (CRUD and workflow) type uses. 

Asking a question like &#039;display the top 10 products&#039; is an analytical use case that transcends the specific entities of the domain model to deliver additional insights and knowledge. 

One common pattern is to combine and encapsulate an analytical use case with a subsequent retrieval of the domain entities indicated by the analysis. This is only useful if the purpose is to consume those entities in a transactional manner.

But, as you mention, this is a waste for many analytical use cases. The two approaches I see most often are to either create light-weight domain entity proxies, i.e. ProductInfo, or to serve up analytical data as something completely different but entirely consistent across the board so it can be consumed uniformly by analytical tools, for example in the Windows world serving up oData so it could be consumed by excel, SharePoint, etc.</description>
		<content:encoded><![CDATA[<p>This seems to just be a lot of confusion about transactional vs analytical services.</p>
<p>Domain models are largely based on transactional (CRUD and workflow) type uses. </p>
<p>Asking a question like &#8216;display the top 10 products&#8217; is an analytical use case that transcends the specific entities of the domain model to deliver additional insights and knowledge. </p>
<p>One common pattern is to combine and encapsulate an analytical use case with a subsequent retrieval of the domain entities indicated by the analysis. This is only useful if the purpose is to consume those entities in a transactional manner.</p>
<p>But, as you mention, this is a waste for many analytical use cases. The two approaches I see most often are to either create light-weight domain entity proxies, i.e. ProductInfo, or to serve up analytical data as something completely different but entirely consistent across the board so it can be consumed uniformly by analytical tools, for example in the Windows world serving up oData so it could be consumed by excel, SharePoint, etc.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan Oliver</title>
		<link>http://elegantcode.com/2009/11/13/dtos-ddd-the-anemic-domain-model/comment-page-1/#comment-50380</link>
		<dc:creator>Jonathan Oliver</dc:creator>
		<pubDate>Mon, 16 Nov 2009 13:46:23 +0000</pubDate>
		<guid isPermaLink="false">http://elegantcode.com/2009/11/13/dtos-ddd-the-anemic-domain-model/#comment-50380</guid>
		<description>I recently wrote about the various data access mechanisms (NHibernate, Entity Framework, LINQ to SQL, etc) and how they relate to a read model:
http://jonathan-oliver.blogspot.com/2009/11/cqrs-reporting-database-access.html</description>
		<content:encoded><![CDATA[<p>I recently wrote about the various data access mechanisms (NHibernate, Entity Framework, LINQ to SQL, etc) and how they relate to a read model:<br />
<a href="http://jonathan-oliver.blogspot.com/2009/11/cqrs-reporting-database-access.html" rel="nofollow">http://jonathan-oliver.blogspot.com/2009/11/cqrs-reporting-database-access.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jan Van Ryswyck</title>
		<link>http://elegantcode.com/2009/11/13/dtos-ddd-the-anemic-domain-model/comment-page-1/#comment-50350</link>
		<dc:creator>Jan Van Ryswyck</dc:creator>
		<pubDate>Sun, 15 Nov 2009 19:47:12 +0000</pubDate>
		<guid isPermaLink="false">http://elegantcode.com/2009/11/13/dtos-ddd-the-anemic-domain-model/#comment-50350</guid>
		<description>Check out this post from Greg Young on the matter:

http://codebetter.com/blogs/gregyoung/archive/2009/07/15/the-anemic-domain-model-pattern.aspx</description>
		<content:encoded><![CDATA[<p>Check out this post from Greg Young on the matter:</p>
<p><a href="http://codebetter.com/blogs/gregyoung/archive/2009/07/15/the-anemic-domain-model-pattern.aspx" rel="nofollow">http://codebetter.com/blogs/gregyoung/archive/2009/07/15/the-anemic-domain-model-pattern.aspx</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>

