-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 5 posts ] 
Author Message
 Post subject: Castle's ActiveRecord
PostPosted: Sun Jul 24, 2005 8:01 pm 
Contributor
Contributor

Joined: Thu May 12, 2005 8:45 am
Posts: 226
The Castle Project includes a data model solution which uses NHibernate as the base layer. It operates on attributes, much like NUnit, and generates the NHibernate mappings on the fly.

http://www.castleproject.org/index.php/ActiveRecord:Reference_Documentation

http://www.castleproject.org/index.php/ActiveRecord_Generator


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jul 25, 2005 10:40 am 
Contributor
Contributor

Joined: Thu May 12, 2005 9:45 am
Posts: 593
Location: nhibernate.org
That's an interesting project... But I don't know how many people will learn it instead of going straight in NHibernate (with basic tools like code generators)

My main concern is that its mapping is based on attributes from Ruby on Rails AR (instead of NHibernate.Mapping.Attributes) and I am not sure that it is a wise decision :?
Read: http://forum.castleproject.org/posts/list/74.page

_________________
Pierre Henri Kuaté.
Get NHibernate in Action Now!


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jul 25, 2005 5:06 pm 
Contributor
Contributor

Joined: Thu May 12, 2005 8:45 am
Posts: 226
Castle is built by and for developers who like the Ruby On Rails framework but are paid to develop in .NET. Castle's ActiveRecord framework is designed to be an easy translation from its Ruby inspiration. As such, it is an excellent idea.

As NHibernate.Mapping.Attributes is modelled after the XDoclet attributes, its target audience is different. I fail to see how two attribute mapping frameworks is a bad thing when we can appeal to a wider audience. Besides, we're on the same team here!


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jul 27, 2005 3:09 pm 
Contributor
Contributor

Joined: Thu May 12, 2005 9:45 am
Posts: 593
Location: nhibernate.org
Hey, you are talking like if .NET took the place of VB6 :D

I understand the reasons of the choices behind this new project :)
But having two attribute mapping frameworks divide our available (precious ;)) spare time in two... :?
And after doing NHMA, I understand the potentials problems that you could have to face :D

Are you thinking about integrating it in VS.NET?

_________________
Pierre Henri Kuaté.
Get NHibernate in Action Now!


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jul 27, 2005 5:11 pm 
Contributor
Contributor

Joined: Thu May 12, 2005 8:45 am
Posts: 226
KPixel wrote:
But having two attribute mapping frameworks divide our available (precious ;)) spare time in two... :?

You're right there. Others have picked up the torch of AR now, so I'm really not distracted by it anymore.

KPixel wrote:
Are you thinking about integrating it in VS.NET?

That's really not my area. Hammett is doing the generator. If I had to guess, I'd say no.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 5 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.