<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-8691068330397730091.post8756942130686000703..comments</id><updated>2010-02-23T21:47:51.103-05:00</updated><category term='C#'/><category term='NHibernate'/><category term='Repository'/><category term='Visual Studio'/><category term='Unit of Work'/><category term='Insanity'/><category term='WCF'/><category term='IIS'/><category term='ASP.NET'/><category term='.NET'/><category term='Windows 7'/><category term='Pattern'/><title type='text'>Comments on blog.jamesjones.name: The Repository Pattern</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://blog.jamesjones.name/feeds/8756942130686000703/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8691068330397730091/8756942130686000703/comments/default'/><link rel='alternate' type='text/html' href='http://blog.jamesjones.name/2010/02/repository-pattern.html'/><author><name>James</name><uri>http://www.blogger.com/profile/07743081202945582329</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>5</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8691068330397730091.post-7426815338246694778</id><published>2010-02-23T21:47:51.103-05:00</published><updated>2010-02-23T21:47:51.103-05:00</updated><title type='text'>@throwawayjj

The 9/10 factor was a ballpark estim...</title><content type='html'>@throwawayjj&lt;br /&gt;&lt;br /&gt;The 9/10 factor was a ballpark estimate I made judging from the dozens of CRUD systems I designed from start to finish (plus other projects I&amp;#39;ve assisted with) and is not backed by any critical research aside from the half second it took me to think of it. It might be closer to 4/5, but I even doubt that.&lt;br /&gt;&lt;br /&gt;It&amp;#39;s not to say that some projects require some greater level of control than what this pattern has to offer. That&amp;#39;s where the 1/10 (or whatever) comes in. In these cases, you may need to harness the power of the SQL namespace, or even better yet, a more appropriate software pattern. (Unit of Work?)&lt;br /&gt;&lt;br /&gt;Perhaps your experiences are different than mine, but I&amp;#39;ve found that most reasons to go the way of SQL vs. a reusable software pattern are typically unfounded and reek of premature optimization syndrome.&lt;br /&gt;&lt;br /&gt;Code readability issues are real, and are a huge threat to productivity where I work.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8691068330397730091/8756942130686000703/comments/default/7426815338246694778'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8691068330397730091/8756942130686000703/comments/default/7426815338246694778'/><link rel='alternate' type='text/html' href='http://blog.jamesjones.name/2010/02/repository-pattern.html?showComment=1266979671103#c7426815338246694778' title=''/><author><name>James</name><uri>http://www.blogger.com/profile/07743081202945582329</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_Xy29Qj1Kzis/SqvNcn_yjlI/AAAAAAAAAAM/W3EzrXtMOEA/S220/me.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.jamesjones.name/2010/02/repository-pattern.html' ref='tag:blogger.com,1999:blog-8691068330397730091.post-8756942130686000703' source='http://www.blogger.com/feeds/8691068330397730091/posts/default/8756942130686000703' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-425983316'/></entry><entry><id>tag:blogger.com,1999:blog-8691068330397730091.post-5096029041655814432</id><published>2010-02-23T18:07:04.566-05:00</published><updated>2010-02-23T18:07:04.566-05:00</updated><title type='text'>On how many database-driven applications have you ...</title><content type='html'>On how many database-driven applications have you personally worked? I&amp;#39;m wondering how you arrive at the conclusion that 9 out of 10 would appreciably improve by using the &amp;quot;Repository Pattern&amp;quot;.&lt;br /&gt;&lt;br /&gt;There are many good reasons to use plain SQL / stored procedures instead of ORM. For complex queries, ORM simply adds an unnecessary and bulky layer of abstraction that would result in more code than if you used plain SQL -- something you misrepresent in this post.&lt;br /&gt;&lt;br /&gt;And if SQL statements are unreadable (that is, 0 readability), then how would increasing readability by 500% help?&lt;br /&gt;&lt;br /&gt;All of this is not to say that there is no place for ORM, only that you&amp;#39;ve inflated the value and applicability of it.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8691068330397730091/8756942130686000703/comments/default/5096029041655814432'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8691068330397730091/8756942130686000703/comments/default/5096029041655814432'/><link rel='alternate' type='text/html' href='http://blog.jamesjones.name/2010/02/repository-pattern.html?showComment=1266966424566#c5096029041655814432' title=''/><author><name>throwawayjj</name><uri>http://throwawayjj.livejournal.com/</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/openid16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.jamesjones.name/2010/02/repository-pattern.html' ref='tag:blogger.com,1999:blog-8691068330397730091.post-8756942130686000703' source='http://www.blogger.com/feeds/8691068330397730091/posts/default/8756942130686000703' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1341742565'/></entry><entry><id>tag:blogger.com,1999:blog-8691068330397730091.post-667814007250096847</id><published>2010-02-21T12:25:46.580-05:00</published><updated>2010-02-21T12:25:46.580-05:00</updated><title type='text'>What should I be linking to? Sorry for the delay. ...</title><content type='html'>What should I be linking to? Sorry for the delay. Yes, I am on vacation. :-P</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8691068330397730091/8756942130686000703/comments/default/667814007250096847'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8691068330397730091/8756942130686000703/comments/default/667814007250096847'/><link rel='alternate' type='text/html' href='http://blog.jamesjones.name/2010/02/repository-pattern.html?showComment=1266773146580#c667814007250096847' title=''/><author><name>James</name><uri>http://www.blogger.com/profile/07743081202945582329</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_Xy29Qj1Kzis/SqvNcn_yjlI/AAAAAAAAAAM/W3EzrXtMOEA/S220/me.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.jamesjones.name/2010/02/repository-pattern.html' ref='tag:blogger.com,1999:blog-8691068330397730091.post-8756942130686000703' source='http://www.blogger.com/feeds/8691068330397730091/posts/default/8756942130686000703' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-425983316'/></entry><entry><id>tag:blogger.com,1999:blog-8691068330397730091.post-8372734091164488247</id><published>2010-02-19T13:50:42.250-05:00</published><updated>2010-02-19T13:50:42.250-05:00</updated><title type='text'>Links?  Don&amp;#39;t make me google this crap :-P</title><content type='html'>Links?  Don&amp;#39;t make me google this crap :-P</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8691068330397730091/8756942130686000703/comments/default/8372734091164488247'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8691068330397730091/8756942130686000703/comments/default/8372734091164488247'/><link rel='alternate' type='text/html' href='http://blog.jamesjones.name/2010/02/repository-pattern.html?showComment=1266605442250#c8372734091164488247' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.jamesjones.name/2010/02/repository-pattern.html' ref='tag:blogger.com,1999:blog-8691068330397730091.post-8756942130686000703' source='http://www.blogger.com/feeds/8691068330397730091/posts/default/8756942130686000703' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1865044726'/></entry><entry><id>tag:blogger.com,1999:blog-8691068330397730091.post-5999804767149415813</id><published>2010-02-19T13:08:02.222-05:00</published><updated>2010-02-19T13:08:02.222-05:00</updated><title type='text'>Blogging on vacation?</title><content type='html'>Blogging on vacation?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8691068330397730091/8756942130686000703/comments/default/5999804767149415813'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8691068330397730091/8756942130686000703/comments/default/5999804767149415813'/><link rel='alternate' type='text/html' href='http://blog.jamesjones.name/2010/02/repository-pattern.html?showComment=1266602882222#c5999804767149415813' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.jamesjones.name/2010/02/repository-pattern.html' ref='tag:blogger.com,1999:blog-8691068330397730091.post-8756942130686000703' source='http://www.blogger.com/feeds/8691068330397730091/posts/default/8756942130686000703' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1390191781'/></entry></feed>
