<?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; New trends</title>
	<atom:link href="http://www.turnleafdesign.com/category/new-trends/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: REST to over take SOAP?</title>
		<link>http://www.turnleafdesign.com/trends-rest-to-over-take-soap</link>
		<comments>http://www.turnleafdesign.com/trends-rest-to-over-take-soap#comments</comments>
		<pubDate>Thu, 08 Oct 2009 02:26:06 +0000</pubDate>
		<dc:creator>Billy Korando</dc:creator>
				<category><![CDATA[New trends]]></category>
		<category><![CDATA[Web development]]></category>

		<guid isPermaLink="false">http://www.turnleafdesign.com/?p=186</guid>
		<description><![CDATA[Not too long ago I took a class for developing web services. The content of the class focused almost exclusively on developing SOAP based web services. While there is nothing particularly difficult about SOAP, it seemed to require a lot of steps; defining your data elements, creating a wsdl, and all the tools you had [...]]]></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-rest-to-over-take-soap"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.turnleafdesign.com%2Ftrends-rest-to-over-take-soap" height="61" width="51" /></a></div><p>Not too long ago I took a class for developing web services. The content of the class focused almost exclusively on developing SOAP based web services. While there is nothing particularly difficult about SOAP, it seemed to require a lot of steps; defining your data elements, creating a wsdl, and all the tools you had to use. While having a contract can be beneficial when the web service will be facing external clients, it seemed to be a lot of steps to go through to get a web service going and also heavy-weight.</p>
<p><span id="more-186"></span>Near the end of the class we briefly went over the RESTful web service philosophy. REST seemed, to me, to be a lot easier to use as it didn't require nearly as much setup, and it utilized the pre-existing http protocols (GET, POST, PUT, DELETE). Also with XML going only one way, a well designed RESTful web service should be faster than its SOAP counter part. The internet is a big place so there is plenty of room for both philosophies, but given RESTful's smaller learning curve and being seen as the "trendy" choice, I can see it continuing to increase in popularity, particularly among younger developers. Anyways I decided to do a some research on the subject and wanted to share what I have found.</p>
<p><a href="http://www.ajaxonomy.com/2008/xml/web-services-part-1-soap-vs-rest" target="_blank">http://www.ajaxonomy.com/2008/xml/web-services-part-1-soap-vs-rest</a> - An excellent article that  gives a very good description of the two philosophies and their respective pros and cons. “Part 2” covers WSDL vs. WADL, which is also a <a href="http://www.ajaxonomy.com/2008/xml/web-services-part-2-wsdl-and-wadl" target="_blank">really good read.</a><br />
<a href="http://blogs.oracle.com/SOAandEDA/2009/04/soap_or_rest_its_about_your_pr.html " target="_blank">http://blogs.oracle.com/SOAandEDA/2009/04/soap_or_rest_its_about_your_pr.html </a>– Horror of horrors, this article suggest to focus on business needs instead of technology.</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/Web+development' rel='tag' target='_blank'>Web development</a></p>

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://www.turnleafdesign.com/trends-rest-to-over-take-soap/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<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>
		<item>
		<title>Trends: Getters and Setters, going the way of the dinosaur?</title>
		<link>http://www.turnleafdesign.com/trends-getters-and-setters-going-the-way-of-the-dinosaur</link>
		<comments>http://www.turnleafdesign.com/trends-getters-and-setters-going-the-way-of-the-dinosaur#comments</comments>
		<pubDate>Wed, 23 Sep 2009 02:06:41 +0000</pubDate>
		<dc:creator>Billy Korando</dc:creator>
				<category><![CDATA[New trends]]></category>
		<category><![CDATA[Best practices]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.turnleafdesign.com/?p=101</guid>
		<description><![CDATA[Like all developers I was always taught to use getter and setters to access the internal members of an external class, and up until recently I accepted this idiom blindly. Not too long ago I was on a discussion board when a young developer asked what the getters and setters were doing in a snippet [...]]]></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-getters-and-setters-going-the-way-of-the-dinosaur"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.turnleafdesign.com%2Ftrends-getters-and-setters-going-the-way-of-the-dinosaur" height="61" width="51" /></a></div><p>Like all developers I was always taught to use getter and setters to access the internal members of an external class, and up until recently I accepted this idiom blindly. Not too long ago I was on a discussion board when a young developer asked what the getters and setters were doing in a snippet of code. <span id="more-101"></span>I proceeded to explain what each method did, I then was about to explain why getters and setters are used, but I couldn't. I know the old adages, hiding a class' implementation, data hiding, etc. But none of the explanations really “stuck” when I thought about them. After all I am de facto exposing a class' member to the entire world by creating a public getter method. I did a bit of researching and there is quite a bit of discussion on this subject, found these articles to very informative and do a good job of framing the subject:<br />
<a href="http://www.javaworld.com/javaworld/jw-01-2004/jw-0102-toolbox.html" target="_blank">http://www.javaworld.com/javaworld/jw-01-2004/jw-0102-toolbox.html</a><br />
<a href="http://www.darronschall.com/weblog/2005/03/no-brain-getter-and-setters.cfm" target="_blank">http://www.darronschall.com/weblog/2005/03/no-brain-getter-and-setters.cfm</a></p>
<p><script type="text/javascript"><!--
google_ad_client = "pub-3063474103916505";
/* 468x60, created 9/14/09 */
google_ad_slot = "1115297999";
google_ad_width = 468;
google_ad_height = 60;
//-->
</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/Programming' rel='tag' target='_blank'>Programming</a></p>

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://www.turnleafdesign.com/trends-getters-and-setters-going-the-way-of-the-dinosaur/feed</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
	</channel>
</rss>
