<?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 for foofish.org</title>
	<atom:link href="http://foofish.org/blog/?feed=comments-rss2" rel="self" type="application/rss+xml" />
	<link>http://foofish.org/blog</link>
	<description>the word "pragmatic" sounds funny if you think about it...</description>
	<lastBuildDate>Mon, 10 May 2010 09:33:34 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>Comment on NHibernate and Entity Framework Battle it Out in the Real World by Piglet</title>
		<link>http://foofish.org/blog/?p=57&#038;cpage=1#comment-3851</link>
		<dc:creator>Piglet</dc:creator>
		<pubDate>Mon, 10 May 2010 09:33:34 +0000</pubDate>
		<guid isPermaLink="false">http://foofish.org/blog/?p=57#comment-3851</guid>
		<description>A tip: Before making a decision Nhibernate or Entity Framework 4.0 read this post (with ALL its comments). It sure helped me:

http://ayende.com/Blog/archive/2010/01/05/nhibernate-vs.-entity-framework-4.0.aspx</description>
		<content:encoded><![CDATA[<p>A tip: Before making a decision Nhibernate or Entity Framework 4.0 read this post (with ALL its comments). It sure helped me:</p>
<p><a href="http://ayende.com/Blog/archive/2010/01/05/nhibernate-vs.-entity-framework-4.0.aspx" rel="nofollow">http://ayende.com/Blog/archive/2010/01/05/nhibernate-vs.-entity-framework-4.0.aspx</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on NHibernate and Entity Framework Battle it Out in the Real World by Vanesa Barbosa</title>
		<link>http://foofish.org/blog/?p=57&#038;cpage=1#comment-2525</link>
		<dc:creator>Vanesa Barbosa</dc:creator>
		<pubDate>Mon, 23 Nov 2009 14:21:35 +0000</pubDate>
		<guid isPermaLink="false">http://foofish.org/blog/?p=57#comment-2525</guid>
		<description>Interesting blogs. Our development team must make the decision with VS2010, Nhibernate advise using?</description>
		<content:encoded><![CDATA[<p>Interesting blogs. Our development team must make the decision with VS2010, Nhibernate advise using?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on NHibernate and Entity Framework Battle it Out in the Real World by Juan</title>
		<link>http://foofish.org/blog/?p=57&#038;cpage=1#comment-2238</link>
		<dc:creator>Juan</dc:creator>
		<pubDate>Thu, 08 Oct 2009 04:35:45 +0000</pubDate>
		<guid isPermaLink="false">http://foofish.org/blog/?p=57#comment-2238</guid>
		<description>Hi everybody. We had to make a choice some months ago, regarding the ORM mapping framework for our new project, it had around some 100 tables. Well, we tested like some 6 ORMs!, including EF. The fear we had with third party ORMs was that you leave something very importante in some other&#039;s hand and the possibility that the product could become obsolet due to a not more supported or bad supported product.
Our EF team did a great job in our detached scenario using WCFs and EF in both client &amp; server sides. After two months of hard work we made everything work fine using a special class for attaching detached entities 

(http://www.codeproject.com/KB/architecture/attachobjectgraph.aspx)

now we have a faster development process due to sepparating our UI and BO layers from client to wcf server and created a generic Client service layer and WCF service layer for any kind of project, so we just add some dlls references and the communication channel is done!

well, what else I can say. after some hard work, using .net 3.5, we are using EF in a detached scenario very elegantly (not using mar property as modified, hehe).</description>
		<content:encoded><![CDATA[<p>Hi everybody. We had to make a choice some months ago, regarding the ORM mapping framework for our new project, it had around some 100 tables. Well, we tested like some 6 ORMs!, including EF. The fear we had with third party ORMs was that you leave something very importante in some other&#8217;s hand and the possibility that the product could become obsolet due to a not more supported or bad supported product.<br />
Our EF team did a great job in our detached scenario using WCFs and EF in both client &amp; server sides. After two months of hard work we made everything work fine using a special class for attaching detached entities </p>
<p>(<a href="http://www.codeproject.com/KB/architecture/attachobjectgraph.aspx" rel="nofollow">http://www.codeproject.com/KB/architecture/attachobjectgraph.aspx</a>)</p>
<p>now we have a faster development process due to sepparating our UI and BO layers from client to wcf server and created a generic Client service layer and WCF service layer for any kind of project, so we just add some dlls references and the communication channel is done!</p>
<p>well, what else I can say. after some hard work, using .net 3.5, we are using EF in a detached scenario very elegantly (not using mar property as modified, hehe).</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on NHibernate and Entity Framework Battle it Out in the Real World by Arash</title>
		<link>http://foofish.org/blog/?p=57&#038;cpage=1#comment-1684</link>
		<dc:creator>Arash</dc:creator>
		<pubDate>Thu, 25 Jun 2009 00:15:52 +0000</pubDate>
		<guid isPermaLink="false">http://foofish.org/blog/?p=57#comment-1684</guid>
		<description>Look at Mindscape&#039;s LightSpeed product.  It&#039;s a very easy to use ORM with full LINQ support, meaning your LINQ query will be translated into an appropriate SQL query.  I don&#039;t think NHIbernate has that yet.</description>
		<content:encoded><![CDATA[<p>Look at Mindscape&#8217;s LightSpeed product.  It&#8217;s a very easy to use ORM with full LINQ support, meaning your LINQ query will be translated into an appropriate SQL query.  I don&#8217;t think NHIbernate has that yet.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on NHibernate and Entity Framework Battle it Out in the Real World by Dmitri</title>
		<link>http://foofish.org/blog/?p=57&#038;cpage=1#comment-1146</link>
		<dc:creator>Dmitri</dc:creator>
		<pubDate>Sun, 01 Mar 2009 09:13:19 +0000</pubDate>
		<guid isPermaLink="false">http://foofish.org/blog/?p=57#comment-1146</guid>
		<description>What did it for me was the fact that Entity Framework didn&#039;t auto-generate proxy methods for my stored procedures. Linq2SQL does it just fine, so why not EF? Also the UI support for EF in VS is really not good enough - just try adding a foreign key _after_ you&#039;ve created the model, and you&#039;ll find that you have to delete the reference field manually, even after updating the model via the wizard.

Right now, I&#039;m leaning heavily towards FluentNHibernate. My guess is anyone looking for an ORM now really has no choice. When VS2010 and the new EF comes out, well, we shall see. For new projects EF might be suitable then, but I doubt existing ones will go from NH to EF.</description>
		<content:encoded><![CDATA[<p>What did it for me was the fact that Entity Framework didn&#8217;t auto-generate proxy methods for my stored procedures. Linq2SQL does it just fine, so why not EF? Also the UI support for EF in VS is really not good enough &#8211; just try adding a foreign key _after_ you&#8217;ve created the model, and you&#8217;ll find that you have to delete the reference field manually, even after updating the model via the wizard.</p>
<p>Right now, I&#8217;m leaning heavily towards FluentNHibernate. My guess is anyone looking for an ORM now really has no choice. When VS2010 and the new EF comes out, well, we shall see. For new projects EF might be suitable then, but I doubt existing ones will go from NH to EF.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on NHibernate and Entity Framework Battle it Out in the Real World by Phantom</title>
		<link>http://foofish.org/blog/?p=57&#038;cpage=1#comment-959</link>
		<dc:creator>Phantom</dc:creator>
		<pubDate>Thu, 22 Jan 2009 22:03:24 +0000</pubDate>
		<guid isPermaLink="false">http://foofish.org/blog/?p=57#comment-959</guid>
		<description>I have faced similar objections when recommending NHibernate. It seems that people conclude that using an open source product vs a &quot;supported product&quot; from Microsoft is best. 

I am currently working with a team of developers where one of them &quot;Loves!!!&quot; to use datasets as the business layer. I gotta tell you, this guy knows datasets inside out and he can do anything he wants with them, but he always has to start a solution design with an ERD and the finished solution is tightly coupled with the database and he has a hard time solving problems in business terms that are not database related.

When I walk into a project one of the things that I dislike is that there is always somebody that created golden rules such as &quot;All calls to the database need to be with a stored procedure&quot;</description>
		<content:encoded><![CDATA[<p>I have faced similar objections when recommending NHibernate. It seems that people conclude that using an open source product vs a &#8220;supported product&#8221; from Microsoft is best. </p>
<p>I am currently working with a team of developers where one of them &#8220;Loves!!!&#8221; to use datasets as the business layer. I gotta tell you, this guy knows datasets inside out and he can do anything he wants with them, but he always has to start a solution design with an ERD and the finished solution is tightly coupled with the database and he has a hard time solving problems in business terms that are not database related.</p>
<p>When I walk into a project one of the things that I dislike is that there is always somebody that created golden rules such as &#8220;All calls to the database need to be with a stored procedure&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Psychology of a &#8220;pretty good&#8221; programmer by Late responder</title>
		<link>http://foofish.org/blog/?p=62&#038;cpage=1#comment-930</link>
		<dc:creator>Late responder</dc:creator>
		<pubDate>Mon, 19 Jan 2009 16:42:43 +0000</pubDate>
		<guid isPermaLink="false">http://foofish.org/blog/?p=62#comment-930</guid>
		<description>Being a consultant, I see this all the time.  My company prides itself in hiring and retaining intelligent and experienced &quot;software guys&quot; (am i the only one who dislikes the terms engineer and programmer?).  However, these guys are all about the here and now.  I don&#039;t know if its the consulting mind set, the inability to plan for the future, or if they just don&#039;t give a damn since they will not be there in a year (next guys problem).</description>
		<content:encoded><![CDATA[<p>Being a consultant, I see this all the time.  My company prides itself in hiring and retaining intelligent and experienced &#8220;software guys&#8221; (am i the only one who dislikes the terms engineer and programmer?).  However, these guys are all about the here and now.  I don&#8217;t know if its the consulting mind set, the inability to plan for the future, or if they just don&#8217;t give a damn since they will not be there in a year (next guys problem).</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on DDD and Aggregates by ajepst</title>
		<link>http://foofish.org/blog/?p=47&#038;cpage=1#comment-853</link>
		<dc:creator>ajepst</dc:creator>
		<pubDate>Tue, 30 Dec 2008 16:51:53 +0000</pubDate>
		<guid isPermaLink="false">http://foofish.org/blog/?p=47#comment-853</guid>
		<description>Jake, I&#039;m certainly not an expert on DDD, it&#039;s something I&#039;m feeling my way through, and I&#039;m probably misinterpreting things here and there.  I agree that the wording of saying you edit the order, not the line item is probably better.  Interesting point about Entity and Value objects being determined in the context-I&#039;ll have to think about that.</description>
		<content:encoded><![CDATA[<p>Jake, I&#8217;m certainly not an expert on DDD, it&#8217;s something I&#8217;m feeling my way through, and I&#8217;m probably misinterpreting things here and there.  I agree that the wording of saying you edit the order, not the line item is probably better.  Interesting point about Entity and Value objects being determined in the context-I&#8217;ll have to think about that.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on DDD and Aggregates by Jake</title>
		<link>http://foofish.org/blog/?p=47&#038;cpage=1#comment-852</link>
		<dc:creator>Jake</dc:creator>
		<pubDate>Tue, 30 Dec 2008 06:24:20 +0000</pubDate>
		<guid isPermaLink="false">http://foofish.org/blog/?p=47#comment-852</guid>
		<description>Why do you need to &quot;edit the line item&quot; through an Order? LineItem should be an value object which means you do not need to change it. LineItem is a part of an Order so when you &quot;edit the line item&quot;, you don&#039;t edit the item itself you edit the Order.
If you meant &quot;edit the line item&quot; as an admin, who needs to have line item info up-to-date, it&#039;s an Entity not a value object. but this time we&#039;re talking about different context. Entity and Value objects are determined in the context.</description>
		<content:encoded><![CDATA[<p>Why do you need to &#8220;edit the line item&#8221; through an Order? LineItem should be an value object which means you do not need to change it. LineItem is a part of an Order so when you &#8220;edit the line item&#8221;, you don&#8217;t edit the item itself you edit the Order.<br />
If you meant &#8220;edit the line item&#8221; as an admin, who needs to have line item info up-to-date, it&#8217;s an Entity not a value object. but this time we&#8217;re talking about different context. Entity and Value objects are determined in the context.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on DDD and Aggregates by ajepst</title>
		<link>http://foofish.org/blog/?p=47&#038;cpage=1#comment-848</link>
		<dc:creator>ajepst</dc:creator>
		<pubDate>Mon, 29 Dec 2008 19:40:42 +0000</pubDate>
		<guid isPermaLink="false">http://foofish.org/blog/?p=47#comment-848</guid>
		<description>Take this all with a grain of salt, since I haven&#039;t gotten to finishing the book and am not sure what Evans says on the matter, but I&#039;ve considered this a bit since I originally wrote this post.  Upon looking at this post later, I think that if it&#039;s valid to edit a line item truly by itself, maybe that line item is an aggregate.  If not, it really should probably be done through the order.   I don&#039;t think you can get away from the LineItemID usage at least a bit (as that&#039;s all you have at the web level), but I think working with it through the Order is the lesser evil.  You can pass both the OrderID and LineItemID in the URL-this could be very nice with a REST format (maybe  /orders/15/lines/3/ )  Then you might have a method on Order that takes a line ID and iterates for the matching child in the collection of lines.  It&#039;s a little weird to work with the ID at all, but I think it&#039;s the best compromise.  In this case, LineItem really IS a child of Order-you&#039;ll always go through the Order page first to go to the LineItem page, so you&#039;ll already have the ID, just stick it in the URL.  And if do you find yourself working with LineItems when you don&#039;t have the Order handy, maybe LineItem is an aggregate root.</description>
		<content:encoded><![CDATA[<p>Take this all with a grain of salt, since I haven&#8217;t gotten to finishing the book and am not sure what Evans says on the matter, but I&#8217;ve considered this a bit since I originally wrote this post.  Upon looking at this post later, I think that if it&#8217;s valid to edit a line item truly by itself, maybe that line item is an aggregate.  If not, it really should probably be done through the order.   I don&#8217;t think you can get away from the LineItemID usage at least a bit (as that&#8217;s all you have at the web level), but I think working with it through the Order is the lesser evil.  You can pass both the OrderID and LineItemID in the URL-this could be very nice with a REST format (maybe  /orders/15/lines/3/ )  Then you might have a method on Order that takes a line ID and iterates for the matching child in the collection of lines.  It&#8217;s a little weird to work with the ID at all, but I think it&#8217;s the best compromise.  In this case, LineItem really IS a child of Order-you&#8217;ll always go through the Order page first to go to the LineItem page, so you&#8217;ll already have the ID, just stick it in the URL.  And if do you find yourself working with LineItems when you don&#8217;t have the Order handy, maybe LineItem is an aggregate root.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
