<?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: PHP Design &#8211; Biggest Database Oversights</title>
	<atom:link href="http://www.justincarmony.com/blog/2008/10/25/php-design-biggest-database-oversights/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.justincarmony.com/blog/2008/10/25/php-design-biggest-database-oversights/</link>
	<description>Web Designer &#38; Software Engineer</description>
	<lastBuildDate>Fri, 12 Mar 2010 19:28:57 -0600</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Eoin</title>
		<link>http://www.justincarmony.com/blog/2008/10/25/php-design-biggest-database-oversights/comment-page-1/#comment-33159</link>
		<dc:creator>Eoin</dc:creator>
		<pubDate>Fri, 22 Jan 2010 12:50:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.justincarmony.com/blog/?p=261#comment-33159</guid>
		<description>Great.

I couldn&#039;t live without a MySqlDAL-type class these days.

One thing that I just learned was with designing a $db-&gt;insert() method, I should pass it an array with keys and values. So simple, I should have thought about it years sooner :) 

Until now I had been constructing the INSERT statement in each set() method of my objects&#039; classes.</description>
		<content:encoded><![CDATA[<p>Great.</p>
<p>I couldn&#8217;t live without a MySqlDAL-type class these days.</p>
<p>One thing that I just learned was with designing a $db-&gt;insert() method, I should pass it an array with keys and values. So simple, I should have thought about it years sooner <img src='http://www.justincarmony.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  </p>
<p>Until now I had been constructing the INSERT statement in each set() method of my objects&#8217; classes.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gabriel</title>
		<link>http://www.justincarmony.com/blog/2008/10/25/php-design-biggest-database-oversights/comment-page-1/#comment-33158</link>
		<dc:creator>Gabriel</dc:creator>
		<pubDate>Fri, 22 Jan 2010 12:08:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.justincarmony.com/blog/?p=261#comment-33158</guid>
		<description>@Cassie: The simple DAL has no error checking. In your real DAL you would throw an exception when an error occurs. The stack trace of the exception then gives clues on where the error occured.</description>
		<content:encoded><![CDATA[<p>@Cassie: The simple DAL has no error checking. In your real DAL you would throw an exception when an error occurs. The stack trace of the exception then gives clues on where the error occured.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hqlong</title>
		<link>http://www.justincarmony.com/blog/2008/10/25/php-design-biggest-database-oversights/comment-page-1/#comment-33150</link>
		<dc:creator>hqlong</dc:creator>
		<pubDate>Fri, 22 Jan 2010 07:04:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.justincarmony.com/blog/?p=261#comment-33150</guid>
		<description>Your bring up good point,but general use framework or pdo. thank you your share!!</description>
		<content:encoded><![CDATA[<p>Your bring up good point,but general use framework or pdo. thank you your share!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: PHP Design – Biggest Database Oversights – Justin Carmony&#8217;s Blog &#171; Netcrema &#8211; creme de la social news via digg + delicious + stumpleupon + reddit</title>
		<link>http://www.justincarmony.com/blog/2008/10/25/php-design-biggest-database-oversights/comment-page-1/#comment-33149</link>
		<dc:creator>PHP Design – Biggest Database Oversights – Justin Carmony&#8217;s Blog &#171; Netcrema &#8211; creme de la social news via digg + delicious + stumpleupon + reddit</dc:creator>
		<pubDate>Fri, 22 Jan 2010 06:41:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.justincarmony.com/blog/?p=261#comment-33149</guid>
		<description>[...] PHP Design – Biggest Database Oversights – Justin Carmony&#8217;s Blogjustincarmony.com [...]</description>
		<content:encoded><![CDATA[<p>[...] PHP Design – Biggest Database Oversights – Justin Carmony&#8217;s Blogjustincarmony.com [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Athomeinthenoise</title>
		<link>http://www.justincarmony.com/blog/2008/10/25/php-design-biggest-database-oversights/comment-page-1/#comment-32964</link>
		<dc:creator>Athomeinthenoise</dc:creator>
		<pubDate>Thu, 14 Jan 2010 22:14:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.justincarmony.com/blog/?p=261#comment-32964</guid>
		<description>Nice site, I was just talking about it with my friends last nite. It also looks really nice in the Blackberry browser, which is rare. Good job!</description>
		<content:encoded><![CDATA[<p>Nice site, I was just talking about it with my friends last nite. It also looks really nice in the Blackberry browser, which is rare. Good job!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Greg</title>
		<link>http://www.justincarmony.com/blog/2008/10/25/php-design-biggest-database-oversights/comment-page-1/#comment-32286</link>
		<dc:creator>Greg</dc:creator>
		<pubDate>Wed, 23 Dec 2009 15:35:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.justincarmony.com/blog/?p=261#comment-32286</guid>
		<description>use CodeIgniter or another framework. Will solve most of your issues by default.</description>
		<content:encoded><![CDATA[<p>use CodeIgniter or another framework. Will solve most of your issues by default.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel</title>
		<link>http://www.justincarmony.com/blog/2008/10/25/php-design-biggest-database-oversights/comment-page-1/#comment-30951</link>
		<dc:creator>Daniel</dc:creator>
		<pubDate>Thu, 12 Nov 2009 13:24:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.justincarmony.com/blog/?p=261#comment-30951</guid>
		<description>On #4: Keeping it DRY, you ought to put repeatedly used stuff in an extra, included file, anyway.

And if you look at it from the other side: what if your boss wants to change links only in SOME places? You&#039;d have to write multiple classes or introduce some parameters. I leave it to you to decide what&#039;s better.</description>
		<content:encoded><![CDATA[<p>On #4: Keeping it DRY, you ought to put repeatedly used stuff in an extra, included file, anyway.</p>
<p>And if you look at it from the other side: what if your boss wants to change links only in SOME places? You&#8217;d have to write multiple classes or introduce some parameters. I leave it to you to decide what&#8217;s better.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stay Weight Loss</title>
		<link>http://www.justincarmony.com/blog/2008/10/25/php-design-biggest-database-oversights/comment-page-1/#comment-26152</link>
		<dc:creator>Stay Weight Loss</dc:creator>
		<pubDate>Thu, 20 Aug 2009 08:32:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.justincarmony.com/blog/?p=261#comment-26152</guid>
		<description>Weight Loss Pills, weight loss program, quick weight loss, stay fit…
weight loss tips</description>
		<content:encoded><![CDATA[<p>Weight Loss Pills, weight loss program, quick weight loss, stay fit…<br />
weight loss tips</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cassie</title>
		<link>http://www.justincarmony.com/blog/2008/10/25/php-design-biggest-database-oversights/comment-page-1/#comment-25049</link>
		<dc:creator>Cassie</dc:creator>
		<pubDate>Thu, 30 Jul 2009 11:44:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.justincarmony.com/blog/?p=261#comment-25049</guid>
		<description>Apologies if someone has mentioned this already, but referring to oversight 1, this is the way the previous developer at my company coded our system.

The problem is, anytime that a query the error comes from the same line (obviously, because its run from the same line). This is really frustrating, because you have no way of telling where the real error is coming from.</description>
		<content:encoded><![CDATA[<p>Apologies if someone has mentioned this already, but referring to oversight 1, this is the way the previous developer at my company coded our system.</p>
<p>The problem is, anytime that a query the error comes from the same line (obviously, because its run from the same line). This is really frustrating, because you have no way of telling where the real error is coming from.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: computer Service toronto</title>
		<link>http://www.justincarmony.com/blog/2008/10/25/php-design-biggest-database-oversights/comment-page-1/#comment-25002</link>
		<dc:creator>computer Service toronto</dc:creator>
		<pubDate>Wed, 29 Jul 2009 05:19:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.justincarmony.com/blog/?p=261#comment-25002</guid>
		<description>I got it Thanks</description>
		<content:encoded><![CDATA[<p>I got it Thanks</p>
]]></content:encoded>
	</item>
</channel>
</rss>
