<?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>Turnleaf Design &#187; SQL</title>
	<atom:link href="http://www.turnleafdesign.com/tag/sql/feed" rel="self" type="application/rss+xml" />
	<link>http://www.turnleafdesign.com</link>
	<description>Ramblings of a junior developer</description>
	<lastBuildDate>Wed, 11 Nov 2009 05:56:28 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Trends: Should developers know SQL?</title>
		<link>http://www.turnleafdesign.com/trends-should-developers-know-sql</link>
		<comments>http://www.turnleafdesign.com/trends-should-developers-know-sql#comments</comments>
		<pubDate>Tue, 29 Sep 2009 02:43:12 +0000</pubDate>
		<dc:creator>Billy Korando</dc:creator>
				<category><![CDATA[New trends]]></category>
		<category><![CDATA[Best practices]]></category>
		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://www.turnleafdesign.com/?p=123</guid>
		<description><![CDATA[I recently have been involved in a lot of refactoring work at my company. One issue we ran into was our usage of SQL in our applications, we had a habit of including a lot of business logic in SQL. To make the applications more maintainable we moved a lot of our business logic from [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.turnleafdesign.com%2Ftrends-should-developers-know-sql"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.turnleafdesign.com%2Ftrends-should-developers-know-sql" height="61" width="51" /></a></div><p>I recently have been involved in a lot of refactoring work at my company. One issue we ran into was our usage of SQL in our applications, we had a habit of including a lot of business logic in SQL. To make the applications more maintainable we moved a lot of our business logic from SQL to Java. While I believe we made the right decision to remove the business logic from SQL I don't think it would be in all scenarios. <span id="more-123"></span>In our situation we were not playing to the strengths of SQL, most of our developers do not have an advanced understanding of SQL, and using Java to handle the business logic allowed for more reusability. I did some research on this subject and wanted to share what I have collected. So should SQL be used for business logic or not?</p>
<p><a href="http://martinfowler.com/articles/dblogic.html" target="_blank">http://martinfowler.com/articles/dblogic.html</a><br />
<a href="http://blogs.msdn.com/rogerwolterblog/archive/2006/04/04/568351.aspx" target="_blank">http://blogs.msdn.com/rogerwolterblog/archive/2006/04/04/568351.aspx</a> (an SQL server sales pitch, but informative none the less)<br />
<a href="http://www.pbell.com/index.cfm/2008/3/21/Moving-Business-Logic-to-the-Database" target="_blank">http://www.pbell.com/index.cfm/2008/3/21/Moving-Business-Logic-to-the-Database</a></p>
<p><script type="text/javascript"><!--
google_ad_client = "pub-3063474103916505";
/* 468x15, created 9/22/09 */
google_ad_slot = "6237316105";
google_ad_width = 468;
google_ad_height = 15;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>

<!-- start wp-tags-to-technorati 1.01 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/Best+practices' rel='tag' target='_blank'>Best practices</a>, <a class='technorati-link' href='http://technorati.com/tag/SQL' rel='tag' target='_blank'>SQL</a></p>

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://www.turnleafdesign.com/trends-should-developers-know-sql/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
