<?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>f3yourmind &#187; DI</title>
	<atom:link href="http://aslamkhan.net/tag/di/feed/" rel="self" type="application/rss+xml" />
	<link>http://aslamkhan.net</link>
	<description>"There are no limits. There are only plateaus, and you must not stay there, you must go beyond them." - Bruce Lee</description>
	<lastBuildDate>Wed, 01 Sep 2010 22:25:14 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>DDD &#8211; Just Entities and Repositories?</title>
		<link>http://aslamkhan.net/software-development/ddd-just-entities-and-repositories/</link>
		<comments>http://aslamkhan.net/software-development/ddd-just-entities-and-repositories/#comments</comments>
		<pubDate>Wed, 27 Feb 2008 18:44:07 +0000</pubDate>
		<dc:creator>Aslam</dc:creator>
				<category><![CDATA[Architecture and Development]]></category>
		<category><![CDATA[AOP]]></category>
		<category><![CDATA[DDD]]></category>
		<category><![CDATA[DI]]></category>

		<guid isPermaLink="false">http://aslamkhan.net/software-development/ddd-just-entities-and-repositories/</guid>
		<description><![CDATA[Earlier this year Jimmy Nilsson of factor10 presented a great talk entitled &#8220;Domain Driven Design &#8211; Is it more than just Entities and Repositories?&#8221; at PBT Group in Cape Town.  I certainly agree with Jimmy: it is more than just entities and repositories.  While the entity, value object, repository, factory and other patterns are commonly sprinkled in a rich domain model, [...]]]></description>
			<content:encoded><![CDATA[<p>Earlier this year <a href="http://www.jnsk.se/weblog/">Jimmy Nilsson </a>of <a href="http://www.factor10.com">factor10</a> presented a great talk entitled &#8220;Domain Driven Design &#8211; Is it more than just Entities and Repositories?&#8221; at <a href="http://www.pbt.co.za">PBT Group</a> in Cape Town.  I certainly agree with Jimmy: it is more than just entities and repositories.  While the entity, value object, repository, factory and other patterns are commonly sprinkled in a rich domain model, the <span class="Apple-style-span" style="font-style: italic">subtleties of DDD</span> such as bounded contexts in strategic design are easily forgotten.</p>
<p>A recent article on <a href="http://www.infoq.com">infoq.com</a> raised the question <a href="http://www.infoq.com/news/2008/02/ddd-di-aop">Can DDD be adequately implemented with DI and AOP?</a>  The arguments are valid in that infrastructure code can be best isolated from a rich domain model using AOP and DI.  This is not at all different to <a href="http://www.matshelander.com/wordpress/">Mats Helander&#8217;s</a> earlier article on <a href="http://www.infoq.com/articles/aspects-of-domain-model-mgmt">Looking after your domain model</a>.</p>
<p>However, I cannot help the aching feeling that a large part of DDD is being lost with an often blinkered focus on the lifecycle patterns (repositories, aggregates, factories, etc.) and structural patterns (entities, value objects, services, etc.).  For example, I am currently focusing a lot of energy with Tania van Niekerk (a work colleague) on the issue of designing for modularity.  Modularity is deceptively complex and DDD&#8217;s strategic design (bounded contexts, anti-corruption layers, transformations, etc) is certainly helping in us finding a solution.</p>
<p>My take:  I agree that AOP and DI do contribute in keeping infrastructure out of a domain model but, more importantly, I agree with Jimmy that there is a lot more to DDD than entities and repositories.</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Faslamkhan.net%2Fsoftware-development%2Fddd-just-entities-and-repositories%2F&amp;linkname=DDD%20%26%238211%3B%20Just%20Entities%20and%20Repositories%3F"><img src="http://aslamkhan.net/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://aslamkhan.net/software-development/ddd-just-entities-and-repositories/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
