<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Eric Polerecky &#187; ORM</title>
	<atom:link href="http://eric.polerecky.com/archives/category/orm/feed/" rel="self" type="application/rss+xml" />
	<link>http://eric.polerecky.com</link>
	<description>An outlet for my obsession with technology</description>
	<lastBuildDate>Wed, 08 Sep 2010 21:18:46 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Great OR/M resources</title>
		<link>http://eric.polerecky.com/archives/great-orm-resources/</link>
		<comments>http://eric.polerecky.com/archives/great-orm-resources/#comments</comments>
		<pubDate>Mon, 08 Jun 2009 16:13:00 +0000</pubDate>
		<dc:creator>Eric Polerecky</dc:creator>
				<category><![CDATA[LINQ]]></category>
		<category><![CDATA[ORM]]></category>
		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://eric.polerecky.com/archives/great-orm-resources/</guid>
		<description><![CDATA[Today I had a conversation with a co-worker that started with my declaration of not wanting to ever have to code a stored procedure. Adamantly I know that there are places where sprocs are the solution to a problem but in today&#8217;s landscape I feel those are edge cases. Our argument..err..I mean conversation had all


No related posts.]]></description>
			<content:encoded><![CDATA[<p>Today I had a conversation with a co-worker that started with my declaration of not wanting to ever have to code a stored procedure. Adamantly I know that there are places where sprocs are the solution to a problem but in today&#8217;s landscape I feel those are edge cases.</p>
<p>Our argument..err..I mean conversation had all the usual discussion points.</p>
<p>co-worker points:</p>
<ul>
<li>sprocs are faster</li>
<li>sprocs are more secure</li>
<li>sprocs provide a layer in n-tier</li>
</ul>
<p>My points:</p>
<ul>
<li>the dollar cost of milliseconds of speed</li>
<li><del datetime="2009-06-09T05:22:34+00:00">true</del> see comments; but all queries should be parameterized hence not a valid argument.</li>
<li>an unnecessary abstraction with no benefit (except as a pro sproc discussion point)</li>
<li>sprocs often end up not separating query from command</li>
</ul>
<p>I also made some claims, which I completely stand by, that might have seemed outlandish and bordering on reckless. Specify I said, based on the metric that 50% of a projects code is related to data access, that I would be able to complete a project in almost 40% less hours. I also suggested that sprocs, in 99.9% of their use, are a waste of time and since time = money that his project was wasting thousands of dollars writing sprocs.</p>
<p>With that wonderful setup I would now like to present my compliation of required OR/M, LINQ and SQL information. <strong>AKA: For the love of god at least digest this information before telling me that all data access should be done through stored procedures!</strong></p>
<p> <img src='http://eric.polerecky.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<h6>ALT.NET 7: OR/M</h6>
<p><a href="http://altnetpodcast.com/episodes/7-object-relational-mapping/">http://altnetpodcast.com/episodes/7-object-relational-mapping/</a></p>
<p>In this episode <a href="http://www.neverindoubtnet.blogspot.com/"><span style="text-decoration: underline;"><span style="color: #0066cc;">Ward Bell</span></span></a> (from <a href="http://www.ideablade.com/"><span style="text-decoration: underline;"><span style="color: #0066cc;">IdeaBlade</span></span></a>) and <a href="http://codebetter.com/blogs/jeremy.miller/"><span style="text-decoration: underline;"><span style="color: #0066cc;">Jeremy Miller</span></span></a> discuss Object-Relational Mapping and when to use ORM tools. Ward and Jeremy discuss the following:</p>
<ul>
<li><a href="http://en.wikipedia.org/wiki/Object-relational_mapping"><span style="text-decoration: underline;"><span style="color: #0066cc;">Object-Relational Mapping</span></span></a></li>
<li>Object-first vs. Data-first Approaches</li>
<li><a href="http://martinfowler.com/articles/evodb.html"><span style="text-decoration: underline;"><span style="color: #0066cc;">Evolutionary Database Design</span></span></a></li>
<li><a href="http://www.artima.com/intv/evolution.html"><span style="text-decoration: underline;"><span style="color: #0066cc;">Evolutionary Design</span></span></a></li>
<li>Code Generation</li>
<li>Persistence Ignorance</li>
<li><a href="http://en.wikipedia.org/wiki/Plain_Old_CLR_Object"><span style="text-decoration: underline;"><span style="color: #0066cc;">POCO</span></span></a></li>
<li><a href="http://en.wikipedia.org/wiki/Domain-driven_design"><span style="text-decoration: underline;"><span style="color: #0066cc;">Domain-Driven Design</span></span></a></li>
<li><a href="http://blogs.tedneward.com/2006/06/26/The+Vietnam+Of+Computer+Science.aspx"><span style="text-decoration: underline;"><span style="color: #0066cc;">The Vietnam of Computer Science</span></span></a></li>
</ul>
<h6>Hanselminutes</h6>
<p>Rob Conery limps and learns about Domain Driven Design 36:28 12/1/2008 Hanselminutes is a weekly audio talk show with noted web developer and technologist Scott Hanselman and hosted by Carl Franklin. Scott discusses utilities and tools, gives practical how-to advice, and discusses ASP.NET or Windows issues and workarounds.</p>
<h6>Herding Code 38</h6>
<p>NHibernate performance with Ayende, David Penton, and Ben Scheirman 44:22 3/13/2009 While K Scott and Jon were at the Microsoft MVP Global Summit, we listened in on a late night debate on NHibernate performance between Oren Eini (a.k.a. Ayende Rahein), David Penton, and Ben Scheirman. Show Links:  NHibernate &#8211; <a href="http://nhforge.org">http://nhforge.org</a> Ayende&amp;#</p>
<h6>Herding Code 10</h6>
<p>Episode 10: LINQ 44:01 7/23/2008 K Scott leads us in a discussion of LINQ, including:  What is it How introducing LINQ to .NET changed the framework LINQ Providers LINQ to XML LINQ to SQL &#8211; how it&amp;#8217;s different from EF, tips and tricks, when to use it  Links:  LINQpad 3rd Party LINQ</p>
<h6>NET Rocks!</h6>
<p>Peter DaBetta and Adam Machanic on creating good SQL databases</p>
<p>Peter DaBetta and Adam Machanic on creating good SQL databases 1:00:07 5/18/2009 .NET Rocks! is an Internet Audio Talk Show for Microsoft .NET Developers.</p>
<h6>.NET Rocks!</h6>
<p>Ward Bell on ORMs</p>
<p>Ward Bell on ORMs. 59:24 1/12/2009 .NET Rocks! is an Internet Audio Talk Show for Microsoft .NET Developers.</p>
<h4>Articles:</h4>
<p>Why I do not use Stored Procedures : <strong>Jeremy D. Miller </strong></p>
<p><a href="http://codebetter.com/blogs/jeremy.miller/archive/2006/05/25/145450.aspx">http://codebetter.com/blogs/jeremy.miller/archive/2006/05/25/145450.aspx</a></p>
<p><a href="http://blogs.msdn.com/adonet/archive/2008/03/27/ado-net-entity-framework-performance-comparison.aspx">http://blogs.msdn.com/adonet/archive/2008/03/27/ado-net-entity-framework-performance-comparison.aspx</a></p>
<p>- Yep. I can read. EF is slower…but we are talking milliseconds here!</p>
<p>I wonder if I could somehow come up with the total milliseconds a project “saved” by using nothing but sproc and extrapolate out the cost per millisecond….off the top of my head I would suspect it at least 500$ per millisecond….</p>
<p><a class="TitleLinkStyle" rel="bookmark" href="http://www.iamnotmyself.com/2008/07/02/NHibernateTestingThePerformanceUrbanLegend.aspx"><span style="text-decoration: underline;"><span style="color: #0066cc;"><span class="searchword">NHibernate</span>: Testing The <span class="searchword">Performance</span> Urban Legend</span></span></a></p>
<p><a href="http://www.iamnotmyself.com/2008/07/02/NHibernateTestingThePerformanceUrbanLegend.aspx">http://www.iamnotmyself.com/2008/07/02/NHibernateTestingThePerformanceUrbanLegend.aspx</a><a href="http://stackoverflow.com/questions/274411/do-stored-procedures-really-boost-performance-in-ms-sql-net"></a></p>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://eric.polerecky.com/archives/great-orm-resources/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
	</channel>
</rss>
