Sure. As always, this is a personal view, but seems to reflect much of
the de facto standard way of building apps in static typed languages
these days:

AR pros
- Really fast to get something started
- Mapping is inferred, with a few sematic attributes

AR cons:
- Intrusive: both the attributes and sometimes the Model is tainted
with persistence stuff that doesnt belong in the domain
- You give up some fine grained NH control
- The persistence strategy isn't easily reversible

Since http://www.fluentnhibernate.org/ came along, I dont see much
reason to use AR. Just go with pure NH without the XML. Now, if NH is
a problem (and to some it is), go with something even lighter:
https://code.google.com/p/dapper-dot-net/

Hope this helps



On Tue, Oct 7, 2014 at 11:08 PM, Jan Flyborg <[email protected]> wrote:
> Thanks for the answer. I am just curious, so could you please describe these
> inconveniences in a little more detail? Is it the fact that you have to
> inherit from a common base class for all value objects, instead of using
> POCOs, that is the problem for domain-driven projects?
>
> Best Regards
>     //Jan Flyborg
>
>
> 2014-10-07 11:27 GMT+02:00 hammett <[email protected]>:
>>
>> I'd recommend you look into Fluent NHibernate instead. AR (and similar
>> styles of ORM) seems to come with too many inconveniences for
>> domain-driven projects.
>>
>> On Tue, Oct 7, 2014 at 9:16 PM,  <[email protected]> wrote:
>> > Hi,
>> >
>> > We have been using Castle ActiveRecord for one of our products for
>> > several
>> > years now and we are very satisified with it.
>> >
>> > Now we are planning for an upcoming major release of this product and we
>> > are
>> > considering if we should replace ActiveRecord with another ORM and the
>> > reason for this is that there has not been any new release for almost
>> > four
>> > years. Also (if I am correctly informed) the last checkin in this
>> > project
>> > was performed about seven months ago, which leads me to think that the
>> > project is not currently maintained.
>> >
>> > The rest of Castle seems to have some momentum, but ActiveRecord is
>> > lagging
>> > behind, so would you recommend anyone starting a new project based on
>> > ActiveRecord?
>> >
>> > Best Regards
>> >     //Jan  Flyborg (Jaykix Technology AB)
>> >
>> >
>> >
>> >
>> >
>> > --
>> > You received this message because you are subscribed to the Google
>> > Groups
>> > "Castle Project Users" group.
>> > To unsubscribe from this group and stop receiving emails from it, send
>> > an
>> > email to [email protected].
>> > To post to this group, send email to
>> > [email protected].
>> > Visit this group at http://groups.google.com/group/castle-project-users.
>> > For more options, visit https://groups.google.com/d/optout.
>>
>>
>>
>> --
>> Cheers,
>> hammett
>> http://www.d-collab.com/
>> http://www.hammettblog.com/
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Castle Project Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To post to this group, send email to
>> [email protected].
>> Visit this group at http://groups.google.com/group/castle-project-users.
>> For more options, visit https://groups.google.com/d/optout.
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Castle Project Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/castle-project-users.
> For more options, visit https://groups.google.com/d/optout.



-- 
Cheers,
hammett
http://www.d-collab.com/
http://www.hammettblog.com/

-- 
You received this message because you are subscribed to the Google Groups 
"Castle Project Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/castle-project-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to