<?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: Castle&#8217;s ActiveRecord: Not for the Domain Purist in you&#8230;</title>
	<atom:link href="http://lostechies.com/nelsonmontalvo/2007/04/17/castle-s-activerecord-not-for-the-domain-purist-in-you/feed/" rel="self" type="application/rss+xml" />
	<link>http://lostechies.com/nelsonmontalvo/2007/04/17/castle-s-activerecord-not-for-the-domain-purist-in-you/</link>
	<description>Just another LosTechies site</description>
	<lastBuildDate>Thu, 24 Mar 2011 19:28:33 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4.2</generator>
	<item>
		<title>By: nmonta76</title>
		<link>http://lostechies.com/nelsonmontalvo/2007/04/17/castle-s-activerecord-not-for-the-domain-purist-in-you/#comment-21</link>
		<dc:creator>nmonta76</dc:creator>
		<pubDate>Thu, 26 Apr 2007 16:29:42 +0000</pubDate>
		<guid isPermaLink="false">/blogs/nelson_montalvo/archive/2007/04/16/castle-s-activerecord-not-for-the-domain-purist-in-you.aspx#comment-21</guid>
		<description>I was experimenting with ActiveRecord, an implementation of the pattern built on top of NHibernate.

As it is, the pattern itself can occasionally serve the purpose from a DDD point of view. Afterall, I can have domain objects that map directly to tables, right? And my domain objects can - under the covers - deal with the database. As long as that work is not directly exposed to my domain in some form such as domainObject.InsertIntoSqlDatabase().

However, tagging my domain object itself with persistence concerns does bother me. The cool thing is that ActiveRecord (the tool) does provide the ActiveRecordMediator object. This allows for us to take more of a repository approach. I did not make that clear in my last statement. Sorry. </description>
		<content:encoded><![CDATA[<p>I was experimenting with ActiveRecord, an implementation of the pattern built on top of NHibernate.</p>
<p>As it is, the pattern itself can occasionally serve the purpose from a DDD point of view. Afterall, I can have domain objects that map directly to tables, right? And my domain objects can &#8211; under the covers &#8211; deal with the database. As long as that work is not directly exposed to my domain in some form such as domainObject.InsertIntoSqlDatabase().</p>
<p>However, tagging my domain object itself with persistence concerns does bother me. The cool thing is that ActiveRecord (the tool) does provide the ActiveRecordMediator object. This allows for us to take more of a repository approach. I did not make that clear in my last statement. Sorry. </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mawi</title>
		<link>http://lostechies.com/nelsonmontalvo/2007/04/17/castle-s-activerecord-not-for-the-domain-purist-in-you/#comment-20</link>
		<dc:creator>mawi</dc:creator>
		<pubDate>Thu, 26 Apr 2007 08:07:01 +0000</pubDate>
		<guid isPermaLink="false">/blogs/nelson_montalvo/archive/2007/04/16/castle-s-activerecord-not-for-the-domain-purist-in-you.aspx#comment-20</guid>
		<description>Sidenote: Why use an active record implementation if you dislike the architectural *pattern*?

(The PoEEE summary of the pattern:
&quot;An object that wraps a row in a database table or view, encapsulates the database access, and adds domain logic on that data.&quot;)</description>
		<content:encoded><![CDATA[<p>Sidenote: Why use an active record implementation if you dislike the architectural *pattern*?</p>
<p>(The PoEEE summary of the pattern:<br />
&#8220;An object that wraps a row in a database table or view, encapsulates the database access, and adds domain logic on that data.&#8221;)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: agilejoe</title>
		<link>http://lostechies.com/nelsonmontalvo/2007/04/17/castle-s-activerecord-not-for-the-domain-purist-in-you/#comment-19</link>
		<dc:creator>agilejoe</dc:creator>
		<pubDate>Tue, 17 Apr 2007 19:22:11 +0000</pubDate>
		<guid isPermaLink="false">/blogs/nelson_montalvo/archive/2007/04/16/castle-s-activerecord-not-for-the-domain-purist-in-you.aspx#comment-19</guid>
		<description>It&#039;s not that I am am totally against active record.  I am sure it has it&#039;s place in certain applications.  But from an enterprise perspective the fact that I am decorating my domain with persistence layer artifacts, just doesn&#039;t sit well with me.  But if RAD is what you want then AR is the way to go.

Cheers! </description>
		<content:encoded><![CDATA[<p>It&#8217;s not that I am am totally against active record.  I am sure it has it&#8217;s place in certain applications.  But from an enterprise perspective the fact that I am decorating my domain with persistence layer artifacts, just doesn&#8217;t sit well with me.  But if RAD is what you want then AR is the way to go.</p>
<p>Cheers! </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ayende Rahien</title>
		<link>http://lostechies.com/nelsonmontalvo/2007/04/17/castle-s-activerecord-not-for-the-domain-purist-in-you/#comment-18</link>
		<dc:creator>Ayende Rahien</dc:creator>
		<pubDate>Tue, 17 Apr 2007 13:52:39 +0000</pubDate>
		<guid isPermaLink="false">/blogs/nelson_montalvo/archive/2007/04/16/castle-s-activerecord-not-for-the-domain-purist-in-you.aspx#comment-18</guid>
		<description>1/ You don&#039;t need to inherit from ARBase&lt;T&gt;
2/ You can specify that you want the OR/M to go directly against the fields, instead of using properties.
3/ I don&#039;t have a problem with the properties, they are not actionable, they are declarative, and I find that it is usually faster than writing the info in XML.</description>
		<content:encoded><![CDATA[<p>1/ You don&#8217;t need to inherit from ARBase<t><br />
2/ You can specify that you want the OR/M to go directly against the fields, instead of using properties.<br />
3/ I don&#8217;t have a problem with the properties, they are not actionable, they are declarative, and I find that it is usually faster than writing the info in XML.</t></p>
]]></content:encoded>
	</item>
</channel>
</rss>
