<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-3406666181435971572.post2109102980986911330..comments</id><updated>2009-05-24T18:17:48.674-05:00</updated><category term='var'/><category term='c#'/><category term='ruby'/><category term='C++'/><category term='lean'/><category term='RSpec'/><category term='context specification'/><category term='design'/><category term='behavior-driven development'/><category term='Austin Code Camp'/><category term='DDD'/><category term='elegance'/><category term='gotchas'/><category term='test-driven development'/><category term='philosophy'/><category term='conferences'/><category term='expressiveness'/><title type='text'>Comments on | michael brennan |: Entities Should Not Depend on Other Objects</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://blog.michaelbrennan.net/feeds/2109102980986911330/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3406666181435971572/2109102980986911330/comments/default'/><link rel='alternate' type='text/html' href='http://blog.michaelbrennan.net/2009/05/entities-should-not-depend-on-other.html'/><author><name>Michael Brennan</name><uri>http://www.blogger.com/profile/09351708784127332440</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_JW7gLMzR6nE/SvxkKuJiIkI/AAAAAAAAAgc/xXHC5leUnYI/S220/me4_left.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>2</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3406666181435971572.post-1182920546691952836</id><published>2009-05-24T18:17:48.674-05:00</published><updated>2009-05-24T18:17:48.674-05:00</updated><title type='text'>I have, DDD services are not the services Fowler s...</title><content type='html'>I have, DDD services are not the services Fowler speaks of in ADM.  The anti-pattern is to extract the behavior into services that form a separate layer on top of the domain model layer.  This is bad, since we're now expressing domain logic outside of the domain model layer.  Furthermore, this service layer starts to become fat, instead of being kept thin.&lt;br /&gt;&lt;br /&gt;It's also important to keep in mind that most behavior should be encapsulated inside entities and value objects.  DDD services should generally be used for interaction between the two.  Too much behavior in a DDD service should be a design smell as well.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3406666181435971572/2109102980986911330/comments/default/1182920546691952836'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3406666181435971572/2109102980986911330/comments/default/1182920546691952836'/><link rel='alternate' type='text/html' href='http://blog.michaelbrennan.net/2009/05/entities-should-not-depend-on-other.html?showComment=1243207068674#c1182920546691952836' title=''/><author><name>Michael Brennan</name><uri>http://www.blogger.com/profile/09351708784127332440</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://4.bp.blogspot.com/_JW7gLMzR6nE/Sg32_be_61I/AAAAAAAAAZM/3WcidY7OVbw/S220/Me3.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.michaelbrennan.net/2009/05/entities-should-not-depend-on-other.html' ref='tag:blogger.com,1999:blog-3406666181435971572.post-2109102980986911330' source='http://www.blogger.com/feeds/3406666181435971572/posts/default/2109102980986911330' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1081408242'/></entry><entry><id>tag:blogger.com,1999:blog-3406666181435971572.post-6188800042163946593</id><published>2009-05-24T16:12:35.189-05:00</published><updated>2009-05-24T16:12:35.189-05:00</updated><title type='text'>This is the way I program but I'm curious if you'v...</title><content type='html'>This is the way I program but I'm curious if you've ever read Fowler's article on the Anemic Domain Model:&lt;br /&gt;&lt;br /&gt;http://martinfowler.com/bliki/AnemicDomainModel.html</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3406666181435971572/2109102980986911330/comments/default/6188800042163946593'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3406666181435971572/2109102980986911330/comments/default/6188800042163946593'/><link rel='alternate' type='text/html' href='http://blog.michaelbrennan.net/2009/05/entities-should-not-depend-on-other.html?showComment=1243199555189#c6188800042163946593' title=''/><author><name>digid</name><uri>http://www.blogger.com/profile/07033507154839181474</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.michaelbrennan.net/2009/05/entities-should-not-depend-on-other.html' ref='tag:blogger.com,1999:blog-3406666181435971572.post-2109102980986911330' source='http://www.blogger.com/feeds/3406666181435971572/posts/default/2109102980986911330' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-266084285'/></entry></feed>
