<?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 on: Common mistakes in software development (part 2): Mixing up the tiers</title>
	<atom:link href="http://flanders.co.nz/2008/10/01/common-mistakes-in-software-development-part-2-mixing-up-the-tiers/feed/" rel="self" type="application/rss+xml" />
	<link>http://flanders.co.nz/2008/10/01/common-mistakes-in-software-development-part-2-mixing-up-the-tiers/</link>
	<description>thoughts.each { &#38;:propagandise }</description>
	<lastBuildDate>Sun, 14 Mar 2010 17:21:13 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: delphigeek</title>
		<link>http://flanders.co.nz/2008/10/01/common-mistakes-in-software-development-part-2-mixing-up-the-tiers/comment-page-1/#comment-525</link>
		<dc:creator>delphigeek</dc:creator>
		<pubDate>Thu, 30 Apr 2009 19:57:50 +0000</pubDate>
		<guid isPermaLink="false">http://flanders.co.nz/2008/10/01/common-mistakes-in-software-development-part-2-mixing-up-the-tiers/#comment-525</guid>
		<description>Интересный сайтик, узнал много нового....</description>
		<content:encoded><![CDATA[<p>Интересный сайтик, узнал много нового&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kozminichna</title>
		<link>http://flanders.co.nz/2008/10/01/common-mistakes-in-software-development-part-2-mixing-up-the-tiers/comment-page-1/#comment-523</link>
		<dc:creator>kozminichna</dc:creator>
		<pubDate>Sun, 26 Apr 2009 17:57:11 +0000</pubDate>
		<guid isPermaLink="false">http://flanders.co.nz/2008/10/01/common-mistakes-in-software-development-part-2-mixing-up-the-tiers/#comment-523</guid>
		<description>Thank you author</description>
		<content:encoded><![CDATA[<p>Thank you author</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Daniel Hofmann</title>
		<link>http://flanders.co.nz/2008/10/01/common-mistakes-in-software-development-part-2-mixing-up-the-tiers/comment-page-1/#comment-453</link>
		<dc:creator>David Daniel Hofmann</dc:creator>
		<pubDate>Wed, 03 Dec 2008 02:12:11 +0000</pubDate>
		<guid isPermaLink="false">http://flanders.co.nz/2008/10/01/common-mistakes-in-software-development-part-2-mixing-up-the-tiers/#comment-453</guid>
		<description>Thanks for the article, 
Believe me, I have seen bank&#039;s pages generated from php with embedded sql code, I couldn&#039;t believe that</description>
		<content:encoded><![CDATA[<p>Thanks for the article,<br />
Believe me, I have seen bank&#8217;s pages generated from php with embedded sql code, I couldn&#8217;t believe that</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rubenriojas</title>
		<link>http://flanders.co.nz/2008/10/01/common-mistakes-in-software-development-part-2-mixing-up-the-tiers/comment-page-1/#comment-452</link>
		<dc:creator>rubenriojas</dc:creator>
		<pubDate>Sun, 23 Nov 2008 19:37:50 +0000</pubDate>
		<guid isPermaLink="false">http://flanders.co.nz/2008/10/01/common-mistakes-in-software-development-part-2-mixing-up-the-tiers/#comment-452</guid>
		<description>Good post.</description>
		<content:encoded><![CDATA[<p>Good post.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: piampri</title>
		<link>http://flanders.co.nz/2008/10/01/common-mistakes-in-software-development-part-2-mixing-up-the-tiers/comment-page-1/#comment-446</link>
		<dc:creator>piampri</dc:creator>
		<pubDate>Tue, 18 Nov 2008 23:15:39 +0000</pubDate>
		<guid isPermaLink="false">http://flanders.co.nz/2008/10/01/common-mistakes-in-software-development-part-2-mixing-up-the-tiers/#comment-446</guid>
		<description>Nice blog btw</description>
		<content:encoded><![CDATA[<p>Nice blog btw</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: srinivasweb4u</title>
		<link>http://flanders.co.nz/2008/10/01/common-mistakes-in-software-development-part-2-mixing-up-the-tiers/comment-page-1/#comment-441</link>
		<dc:creator>srinivasweb4u</dc:creator>
		<pubDate>Tue, 18 Nov 2008 06:11:14 +0000</pubDate>
		<guid isPermaLink="false">http://flanders.co.nz/2008/10/01/common-mistakes-in-software-development-part-2-mixing-up-the-tiers/#comment-441</guid>
		<description>I came across. Thank you.</description>
		<content:encoded><![CDATA[<p>I came across. Thank you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ivan</title>
		<link>http://flanders.co.nz/2008/10/01/common-mistakes-in-software-development-part-2-mixing-up-the-tiers/comment-page-1/#comment-390</link>
		<dc:creator>ivan</dc:creator>
		<pubDate>Sun, 05 Oct 2008 08:32:01 +0000</pubDate>
		<guid isPermaLink="false">http://flanders.co.nz/2008/10/01/common-mistakes-in-software-development-part-2-mixing-up-the-tiers/#comment-390</guid>
		<description>@chui tey  As I see it age &gt; 13 is a business rule so it has to be in the busines layer. you could do a couple of things to indicate that to the user.
you could call a validate method in the business layer that returns a list of error messages which you then display to the user in the Presentation layer.
It should definitely not be in the datalayer.because it has nothing to do directly with saving/updating or fetching data.</description>
		<content:encoded><![CDATA[<p>@chui tey  As I see it age > 13 is a business rule so it has to be in the busines layer. you could do a couple of things to indicate that to the user.<br />
you could call a validate method in the business layer that returns a list of error messages which you then display to the user in the Presentation layer.<br />
It should definitely not be in the datalayer.because it has nothing to do directly with saving/updating or fetching data.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chui Tey</title>
		<link>http://flanders.co.nz/2008/10/01/common-mistakes-in-software-development-part-2-mixing-up-the-tiers/comment-page-1/#comment-389</link>
		<dc:creator>Chui Tey</dc:creator>
		<pubDate>Sun, 05 Oct 2008 07:47:54 +0000</pubDate>
		<guid isPermaLink="false">http://flanders.co.nz/2008/10/01/common-mistakes-in-software-development-part-2-mixing-up-the-tiers/#comment-389</guid>
		<description>If you had to make sure age &gt; 13, 

Q1. would the code be in the data layer, the business layer or presentation layer?

Q2. If it&#039;s in the business layer, and the user typed age = 11, how do you tell the user that he has to enter age &gt;13 ?

Q3. Should the age&gt;13 validation be in the data layer, inside INSERT or UPDATE triggers?</description>
		<content:encoded><![CDATA[<p>If you had to make sure age &gt; 13, </p>
<p>Q1. would the code be in the data layer, the business layer or presentation layer?</p>
<p>Q2. If it&#8217;s in the business layer, and the user typed age = 11, how do you tell the user that he has to enter age &gt;13 ?</p>
<p>Q3. Should the age&gt;13 validation be in the data layer, inside INSERT or UPDATE triggers?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: yteslax</title>
		<link>http://flanders.co.nz/2008/10/01/common-mistakes-in-software-development-part-2-mixing-up-the-tiers/comment-page-1/#comment-387</link>
		<dc:creator>yteslax</dc:creator>
		<pubDate>Fri, 03 Oct 2008 08:50:03 +0000</pubDate>
		<guid isPermaLink="false">http://flanders.co.nz/2008/10/01/common-mistakes-in-software-development-part-2-mixing-up-the-tiers/#comment-387</guid>
		<description>&quot;This goes back to the guidance that can be found on the msdn website. This type of architecture is often used in combination with data sets but not in my example for this post.&quot;

Yes one of MS way of dealing with data is using data sets. But when we talk about separation of concerns to satisfy loose coupling this data set approach breaks all. If you use data sets it&#039;s not too meaningful trying to separate tiers... Whatever you do you&#039;ll be get stuck in the end.</description>
		<content:encoded><![CDATA[<p>&#8220;This goes back to the guidance that can be found on the msdn website. This type of architecture is often used in combination with data sets but not in my example for this post.&#8221;</p>
<p>Yes one of MS way of dealing with data is using data sets. But when we talk about separation of concerns to satisfy loose coupling this data set approach breaks all. If you use data sets it&#8217;s not too meaningful trying to separate tiers&#8230; Whatever you do you&#8217;ll be get stuck in the end.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ivan</title>
		<link>http://flanders.co.nz/2008/10/01/common-mistakes-in-software-development-part-2-mixing-up-the-tiers/comment-page-1/#comment-386</link>
		<dc:creator>ivan</dc:creator>
		<pubDate>Fri, 03 Oct 2008 06:29:35 +0000</pubDate>
		<guid isPermaLink="false">http://flanders.co.nz/2008/10/01/common-mistakes-in-software-development-part-2-mixing-up-the-tiers/#comment-386</guid>
		<description>@bob I use this series to vent frustrations I have to deal with on a daily basis. And if they really were 1998 how come people still violate these simple rules. If you bear with me there will be some more current posts coming too. There are obvious problems with this architecture but I&#039;ll return to that later.

@Andy Fisher. You&#039;re absolutely correct and I should have put that distinction in. Thanks for your comment</description>
		<content:encoded><![CDATA[<p>@bob I use this series to vent frustrations I have to deal with on a daily basis. And if they really were 1998 how come people still violate these simple rules. If you bear with me there will be some more current posts coming too. There are obvious problems with this architecture but I&#8217;ll return to that later.</p>
<p>@Andy Fisher. You&#8217;re absolutely correct and I should have put that distinction in. Thanks for your comment</p>
]]></content:encoded>
	</item>
</channel>
</rss>
