﻿<?xml version="1.0" encoding="utf-8"?><rss version="2.0"><channel><title>Ayende @ Rahien</title><link>http://ayende.com</link><description>Ayende @ Rahien</description><copyright>Copyright (C) Ayende Rahien  2004 - 2021 (c) 2026</copyright><ttl>60</ttl><item><title>MikeS commented on Using Active Record to write less code</title><description>Great presentation. Something I learned when doing presentations: when someone asks a question, repeat it before answering so everyone can hear the question. None of the questions you answered were audible :-(
</description><link>http://ayende.com/3968/using-active-record-to-write-less-code#comment23</link><guid>http://ayende.com/3968/using-active-record-to-write-less-code#comment23</guid><pubDate>Sat, 25 Apr 2009 19:23:54 GMT</pubDate></item><item><title>Vincent commented on Using Active Record to write less code</title><description>Is this required specific NHibernate library? I try to create the example by using AR, it doesn't work
</description><link>http://ayende.com/3968/using-active-record-to-write-less-code#comment22</link><guid>http://ayende.com/3968/using-active-record-to-write-less-code#comment22</guid><pubDate>Sat, 25 Apr 2009 02:08:45 GMT</pubDate></item><item><title>Peter Morris commented on Using Active Record to write less code</title><description>@Ayende 
  
Fluent NH mapping of private members.
  
[wiki.fluentnhibernate.org/.../StandardMappingPr...](http://wiki.fluentnhibernate.org/show/StandardMappingPrivateProperties)  
  
I think I like this one best
  
  Reveal.Property("Id")
  
  
At least only as bad as XML :-)
</description><link>http://ayende.com/3968/using-active-record-to-write-less-code#comment21</link><guid>http://ayende.com/3968/using-active-record-to-write-less-code#comment21</guid><pubDate>Fri, 24 Apr 2009 07:57:28 GMT</pubDate></item><item><title>Frank Quednau commented on Using Active Record to write less code</title><description>"I don't have to think, let's do UML"  - Love that one!
</description><link>http://ayende.com/3968/using-active-record-to-write-less-code#comment20</link><guid>http://ayende.com/3968/using-active-record-to-write-less-code#comment20</guid><pubDate>Fri, 24 Apr 2009 07:45:31 GMT</pubDate></item><item><title>Ayende Rahien commented on Using Active Record to write less code</title><description>Peter,
  
Try the FN mailing list
</description><link>http://ayende.com/3968/using-active-record-to-write-less-code#comment19</link><guid>http://ayende.com/3968/using-active-record-to-write-less-code#comment19</guid><pubDate>Thu, 23 Apr 2009 17:47:14 GMT</pubDate></item><item><title>Peter Morris commented on Using Active Record to write less code</title><description>Nor do I, which is why I have stuck with XML in my experimentation :-D
</description><link>http://ayende.com/3968/using-active-record-to-write-less-code#comment18</link><guid>http://ayende.com/3968/using-active-record-to-write-less-code#comment18</guid><pubDate>Thu, 23 Apr 2009 17:41:57 GMT</pubDate></item><item><title>Ayende Rahien commented on Using Active Record to write less code</title><description>Peter,
  
I have absolutely no idea :-)
</description><link>http://ayende.com/3968/using-active-record-to-write-less-code#comment17</link><guid>http://ayende.com/3968/using-active-record-to-write-less-code#comment17</guid><pubDate>Thu, 23 Apr 2009 17:24:22 GMT</pubDate></item><item><title>Peter Morris commented on Using Active Record to write less code</title><description>How does Fluent NH cater for protected / private state?
</description><link>http://ayende.com/3968/using-active-record-to-write-less-code#comment16</link><guid>http://ayende.com/3968/using-active-record-to-write-less-code#comment16</guid><pubDate>Thu, 23 Apr 2009 17:23:43 GMT</pubDate></item><item><title>Ayende Rahien commented on Using Active Record to write less code</title><description>Peter,
  
I now tend to more and more use NHibernate only.
  
I used to use AR for speccing and prototyping, I use Fluent NHibernate for the same purpose.
  
In both cases, there is some cut off point where I cut out the middle man and go to the XML.
  
Trying to setup complex stuff in either AR or FN is just ugly.
</description><link>http://ayende.com/3968/using-active-record-to-write-less-code#comment15</link><guid>http://ayende.com/3968/using-active-record-to-write-less-code#comment15</guid><pubDate>Thu, 23 Apr 2009 16:27:25 GMT</pubDate></item><item><title>Peter Morris commented on Using Active Record to write less code</title><description>The slide in the video says November 2007, I presume that's wrong?  
  
  
Do you only use AR for prototypes and very simple apps then?  Do you ever just use NH and leave AR out of the picture?
</description><link>http://ayende.com/3968/using-active-record-to-write-less-code#comment14</link><guid>http://ayende.com/3968/using-active-record-to-write-less-code#comment14</guid><pubDate>Thu, 23 Apr 2009 16:23:42 GMT</pubDate></item><item><title>Ayende Rahien commented on Using Active Record to write less code</title><description>Andrew,
  
Today? 
  
I would recommend going with Fluent NHibernate until your model has settled down, at which case I would move to HBM XML files, for custom configuration
</description><link>http://ayende.com/3968/using-active-record-to-write-less-code#comment13</link><guid>http://ayende.com/3968/using-active-record-to-write-less-code#comment13</guid><pubDate>Thu, 23 Apr 2009 16:18:37 GMT</pubDate></item><item><title>Andrew commented on Using Active Record to write less code</title><description>Good presentation, I enjoyed a few of the other ones I skimmed through as well.
  
  
As someone who has always worked for companies that are down right frightened of Open Source (especially for something as important as Data Access), I've only really played around with NHibernate and Active Record on my own.
  
  
So my question is, with Fluent NHibernate now on the scene, does the need for Active Record go away, or will the three of them play nicely together?  
  
  
As a follow up, if I was going to start a medium sized project today (let's say something similar to the Hotel Reservation system from the presentation), would the ActiveRecord/NHibernate suffice, or would you (meaning anyone) suggest trying to integrate Fluent NHibernate into the project?
  
  
Thanks in advance.
</description><link>http://ayende.com/3968/using-active-record-to-write-less-code#comment12</link><guid>http://ayende.com/3968/using-active-record-to-write-less-code#comment12</guid><pubDate>Thu, 23 Apr 2009 16:03:41 GMT</pubDate></item><item><title>Ayende Rahien commented on Using Active Record to write less code</title><description>Krzysztof,
  
No, that was not in 2007, it was in 2008.
  
I think they had the wrong template :-)
</description><link>http://ayende.com/3968/using-active-record-to-write-less-code#comment11</link><guid>http://ayende.com/3968/using-active-record-to-write-less-code#comment11</guid><pubDate>Thu, 23 Apr 2009 11:04:49 GMT</pubDate></item><item><title>Krzysztof Kozmic commented on Using Active Record to write less code</title><description>Just seen it. indeed great presentation.
  
  
"Give me a model to work on" was golden.
  
  
But I think that date is wrong. If it was 2 months after NHibernate v2.1 was released it certainly was not 20 nov 2007.
</description><link>http://ayende.com/3968/using-active-record-to-write-less-code#comment10</link><guid>http://ayende.com/3968/using-active-record-to-write-less-code#comment10</guid><pubDate>Thu, 23 Apr 2009 11:01:49 GMT</pubDate></item><item><title>Ayende Rahien commented on Using Active Record to write less code</title><description>John,
  
I have never been able to measure the difference.
  
  
Eric,
  
Yes
</description><link>http://ayende.com/3968/using-active-record-to-write-less-code#comment9</link><guid>http://ayende.com/3968/using-active-record-to-write-less-code#comment9</guid><pubDate>Thu, 23 Apr 2009 10:23:39 GMT</pubDate></item><item><title>Eric commented on Using Active Record to write less code</title><description>Do you plan on releasing a new version of ActiveRecord soon? One that binds to NH 2.1 and fixes bugs like discriminators not being filtered with a HasMany.
  
  
"Release early, release often" as the Google mantra goes
</description><link>http://ayende.com/3968/using-active-record-to-write-less-code#comment8</link><guid>http://ayende.com/3968/using-active-record-to-write-less-code#comment8</guid><pubDate>Thu, 23 Apr 2009 09:41:09 GMT</pubDate></item><item><title>John commented on Using Active Record to write less code</title><description>What's the performance of Castle ActiveRecord like?  Is there much of a difference between it and NHibernate?  Obviously it will be less efficient than NHibernate alone since it's built on top of it but how big is the gap?
</description><link>http://ayende.com/3968/using-active-record-to-write-less-code#comment7</link><guid>http://ayende.com/3968/using-active-record-to-write-less-code#comment7</guid><pubDate>Thu, 23 Apr 2009 08:06:40 GMT</pubDate></item><item><title>David commented on Using Active Record to write less code</title><description>Fun presentation, thanks
</description><link>http://ayende.com/3968/using-active-record-to-write-less-code#comment6</link><guid>http://ayende.com/3968/using-active-record-to-write-less-code#comment6</guid><pubDate>Thu, 23 Apr 2009 00:06:46 GMT</pubDate></item><item><title>Lucio Assis commented on Using Active Record to write less code</title><description>Awww, no pretty.png ;-)
</description><link>http://ayende.com/3968/using-active-record-to-write-less-code#comment5</link><guid>http://ayende.com/3968/using-active-record-to-write-less-code#comment5</guid><pubDate>Thu, 23 Apr 2009 00:02:37 GMT</pubDate></item><item><title>Krzysztof Kozmic commented on Using Active Record to write less code</title><description>This video is Public
  
  
Using Active Record to write less code
  
Ayende Rahien, We!, Israel
  
  
  
Isn't this description like... not very up to date?
  
  
Anyway, thanks. This only makes me regret that organizers of CodeFest turned out to be asses, and I didn't get a chance to listen to you live.
  
  
Some other time.
</description><link>http://ayende.com/3968/using-active-record-to-write-less-code#comment4</link><guid>http://ayende.com/3968/using-active-record-to-write-less-code#comment4</guid><pubDate>Wed, 22 Apr 2009 17:52:50 GMT</pubDate></item><item><title>Ayende Rahien commented on Using Active Record to write less code</title><description>Yeah, probably one of my most common typos
</description><link>http://ayende.com/3968/using-active-record-to-write-less-code#comment3</link><guid>http://ayende.com/3968/using-active-record-to-write-less-code#comment3</guid><pubDate>Wed, 22 Apr 2009 17:43:33 GMT</pubDate></item><item><title>Kyle Szklenski commented on Using Active Record to write less code</title><description>I think instead of "not" you meant "now". :)
</description><link>http://ayende.com/3968/using-active-record-to-write-less-code#comment2</link><guid>http://ayende.com/3968/using-active-record-to-write-less-code#comment2</guid><pubDate>Wed, 22 Apr 2009 17:42:12 GMT</pubDate></item><item><title>Aaron Erickson commented on Using Active Record to write less code</title><description>Are not available, or are *now* available?
</description><link>http://ayende.com/3968/using-active-record-to-write-less-code#comment1</link><guid>http://ayende.com/3968/using-active-record-to-write-less-code#comment1</guid><pubDate>Wed, 22 Apr 2009 17:40:48 GMT</pubDate></item></channel></rss>