should we sunset activerecord?

306 views
Skip to first unread message

hammett

unread,
May 20, 2012, 10:54:44 PM5/20/12
to castle-pro...@googlegroups.com
The fluent interface for NH config renders it pretty useless... thoughts?

--
Cheers,
hammett
http://hammett.castleproject.org/

Krzysztof Koźmic

unread,
May 20, 2012, 11:32:07 PM5/20/12
to castle-pro...@googlegroups.com
that plus considering it's been pretty much dead for the last 2 years, I
say +1

@K

Henry Conceição

unread,
May 21, 2012, 1:13:13 PM5/21/12
to castle-pro...@googlegroups.com
And anyone seems to be interested on keep it up to date too. +1

Cheers,
Henry Conceição
> --
> You received this message because you are subscribed to the Google Groups
> "Castle Project Development List" group.
> To post to this group, send email to castle-pro...@googlegroups.com.
> To unsubscribe from this group, send email to
> castle-project-d...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/castle-project-devel?hl=en.
>

Mauricio Scheffer

unread,
May 21, 2012, 3:04:41 PM5/21/12
to castle-pro...@googlegroups.com
Had a related discussion about this a few days ago:  https://github.com/castleproject/ActiveRecord/issues/1 
I'm willing to put in some time to review patches, but it seems nobody's interested in taking the lead (or even sending proper patches).

--
Mauricio

Ken Egozi

unread,
May 21, 2012, 6:45:26 PM5/21/12
to castle-pro...@googlegroups.com
what is the value proposition in AR? at least from my perspective in the past the main things were:
-  easy mapping
-  MR integration
-  scope handling

the mapping argument now obsolete as NH mapping options matured during the last few years
scope is handled by NH sessions and various wrappers to it. AR today mostly adds ambiguity.
MR integration (mostly the ARBind attribute) can be easily made to work with or without AR.

sounds like shutting it down is the obvious thing to do.

however, there is one more thing in AR - the AR pattern itself.
sure, it might not be cool or anything nowadays, but it still is a useful pattern.

So, could AR be rebooted into a (shallow) NH wrapper that enable AR pattern on NH classes?


hammett

unread,
May 21, 2012, 6:53:42 PM5/21/12
to castle-pro...@googlegroups.com
Unless someone share some love towards it the only possible outcome is
sun-setting it.
Cheers,
hammett
http://hammett.castleproject.org/

Ken Egozi

unread,
May 21, 2012, 7:02:57 PM5/21/12
to castle-pro...@googlegroups.com

Rafael Teixeira

unread,
May 22, 2012, 8:20:30 AM5/22/12
to castle-pro...@googlegroups.com
I'm still doing heavy use of AR (.NET2 Apps, using version Castle RC3/NH 1.2 still) but with ARMediators wrapped inside the Repository pattern, and now that finally the apps are being migrated to .NET4 it is time to make a decision, on how to evolve this persistence 'layer' scattered over many plugins. 

I was thinking of taking the easy, lazy, route of just migrating to a a newer NH+AR, but as this sun-setting discussion is taking place, I think I'll have to do the full port to a newer NH and its new mapping options, if time allows...

Anyway, I'm OK with sun-setting AR, as I can keep using that ancient version until we evaluate our options to have the system ported in a few moths to run also on Unix (Linux would be a bit easier, through Mono, but we are talking of old *nix here which may mean that we'll need to migrate to Java, ARGH!!!).

Thanks for the fish so far,

Rafael "Monoman" Teixeira
---------------------------------------
"The most exciting phrase to hear in science, the one that heralds new discoveries, is not 'Eureka!' (I found it!) but 'That's funny ...'"
Isaac Asimov
US science fiction novelist & scholar (1920 - 1992)

hammett

unread,
May 22, 2012, 2:39:46 PM5/22/12
to castle-pro...@googlegroups.com
But sunsetting doesnt mean "dont use it". Just that we are not
actively dedicating energy to it.

Andrey Kozhyn

unread,
May 31, 2012, 4:00:57 AM5/31/12
to castle-pro...@googlegroups.com
Latest changes in nhibernate makes it not so easy to update it. Especially with introducing their own dynamic proxy factory. I've tryied to upgrade, but with default proxy factory its not possible to implement lazy loading that works out of session scope. 
And as for me, releases that are not relevant to latest NH releases basically mean "don't use it".

вторник, 22 мая 2012 г., 21:39:46 UTC+3 пользователь hammett написал:
>>> >>> > To unsubscribe from this group, send email to
>>> >>> > For more options, visit this group at
>>> >>> > http://groups.google.com/group/castle-project-devel?hl=en.
>>> >>> >
>>> >>>
>>> >>> --
>>> >>> You received this message because you are subscribed to the Google
>>> >>> Groups
>>> >>> "Castle Project Development List" group.
>>> >>> To post to this group, send email to
>>> >>> To unsubscribe from this group, send email to
>>> >>> For more options, visit this group at
>>> >>> http://groups.google.com/group/castle-project-devel?hl=en.
>>> >>>
>>> >>
>>> >> --
>>> >> You received this message because you are subscribed to the Google
>>> >> Groups
>>> >> "Castle Project Development List" group.
>>> >> To post to this group, send email to
>>> >> To unsubscribe from this group, send email to
>>> >> For more options, visit this group at
>>> >> http://groups.google.com/group/castle-project-devel?hl=en.
>>> >
>>> >
>>> > --
>>> > You received this message because you are subscribed to the Google
>>> > Groups
>>> > "Castle Project Development List" group.
>>> > To post to this group, send email to
>>> > To unsubscribe from this group, send email to
>>> > For more options, visit this group at
>>> > http://groups.google.com/group/castle-project-devel?hl=en.
>>>
>>>
>>>
>>> --
>>> Cheers,
>>> hammett
>>> http://hammett.castleproject.org/
>>>
>>> --
>>> You received this message because you are subscribed to the Google Groups
>>> "Castle Project Development List" group.
>>> To post to this group, send email to
>>> To unsubscribe from this group, send email to
>>> For more options, visit this group at
>>> http://groups.google.com/group/castle-project-devel?hl=en.
>>>
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Castle Project Development List" group.
>> To post to this group, send email to
>> To unsubscribe from this group, send email to
>> For more options, visit this group at
>> http://groups.google.com/group/castle-project-devel?hl=en.
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Castle Project Development List" group.
> To post to this group, send email to castle-project-devel@googlegroups.com.
> To unsubscribe from this group, send email to
Reply all
Reply to author
Forward
0 new messages