<?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: Data Access Objects part 1</title>
	<atom:link href="http://www.jesperchristiansen.dk/2009/10/php-data-access-objects-part-1/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jesperchristiansen.dk/2009/10/php-data-access-objects-part-1/</link>
	<description>Thoughts about the internet and usability</description>
	<lastBuildDate>Sat, 03 Apr 2010 12:50:11 +0200</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Jesper Christiansen</title>
		<link>http://www.jesperchristiansen.dk/2009/10/php-data-access-objects-part-1/comment-page-1/#comment-10</link>
		<dc:creator>Jesper Christiansen</dc:creator>
		<pubDate>Mon, 09 Nov 2009 11:48:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.jesperchristiansen.dk/?p=5#comment-10</guid>
		<description>Interesting reply :) Thanks!

The DAO pattern is not that much focused on complexity - it is more a technique to seperate object persistence and data access logic from any given persistance mechanism. That means that the DAO design pattern gives flexibility i.e. if you want to change a database from one type to another.

You can then say that my implementation is a little bit off, since I have SQL-calls directly in my DAO :)</description>
		<content:encoded><![CDATA[<p>Interesting reply :) Thanks!</p>
<p>The DAO pattern is not that much focused on complexity &#8211; it is more a technique to seperate object persistence and data access logic from any given persistance mechanism. That means that the DAO design pattern gives flexibility i.e. if you want to change a database from one type to another.</p>
<p>You can then say that my implementation is a little bit off, since I have SQL-calls directly in my DAO :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://www.jesperchristiansen.dk/2009/10/php-data-access-objects-part-1/comment-page-1/#comment-9</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Mon, 09 Nov 2009 10:39:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.jesperchristiansen.dk/?p=5#comment-9</guid>
		<description>Oh, and before i forget:
Everybody should code like Jesper, because
this solution is clear, and extensible!
;)</description>
		<content:encoded><![CDATA[<p>Oh, and before i forget:<br />
Everybody should code like Jesper, because<br />
this solution is clear, and extensible!<br />
;)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://www.jesperchristiansen.dk/2009/10/php-data-access-objects-part-1/comment-page-1/#comment-8</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Mon, 09 Nov 2009 10:33:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.jesperchristiansen.dk/?p=5#comment-8</guid>
		<description>Hi, Jesper!

Sorry for the latest shorty message ,but i was late.
So your implementation is similar to design applied in some ORM for example.
Those are using the activerecord &amp; crud pattern:
http://en.wikipedia.org/wiki/Active_record_pattern
http://sumanthtechsavvy.blogspot.com/2008/04/activerecord-crud-operations-1.html

I think DAO is a pattern for do more complex requests and operations for a type entity.
For example: dao.getActiveMembers(), dao.deleteOldies()

But it is possible that your idea is &quot;fit&quot; to the DAO&#039;s definition
and only i have another point of view in this topic :)

Cheers</description>
		<content:encoded><![CDATA[<p>Hi, Jesper!</p>
<p>Sorry for the latest shorty message ,but i was late.<br />
So your implementation is similar to design applied in some ORM for example.<br />
Those are using the activerecord &amp; crud pattern:<br />
<a href="http://en.wikipedia.org/wiki/Active_record_pattern" rel="nofollow">http://en.wikipedia.org/wiki/Active_record_pattern</a><br />
<a href="http://sumanthtechsavvy.blogspot.com/2008/04/activerecord-crud-operations-1.html" rel="nofollow">http://sumanthtechsavvy.blogspot.com/2008/04/activerecord-crud-operations-1.html</a></p>
<p>I think DAO is a pattern for do more complex requests and operations for a type entity.<br />
For example: dao.getActiveMembers(), dao.deleteOldies()</p>
<p>But it is possible that your idea is &#8220;fit&#8221; to the DAO&#8217;s definition<br />
and only i have another point of view in this topic :)</p>
<p>Cheers</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jesper Christiansen</title>
		<link>http://www.jesperchristiansen.dk/2009/10/php-data-access-objects-part-1/comment-page-1/#comment-7</link>
		<dc:creator>Jesper Christiansen</dc:creator>
		<pubDate>Mon, 09 Nov 2009 09:14:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.jesperchristiansen.dk/?p=5#comment-7</guid>
		<description>Dear Dave. Thanks for your reply :) I won’t say I disagree. Can you give me an example on why you think it is a CRUD pattern implementation and not a DAO? :)</description>
		<content:encoded><![CDATA[<p>Dear Dave. Thanks for your reply :) I won’t say I disagree. Can you give me an example on why you think it is a CRUD pattern implementation and not a DAO? :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://www.jesperchristiansen.dk/2009/10/php-data-access-objects-part-1/comment-page-1/#comment-4</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Mon, 09 Nov 2009 01:38:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.jesperchristiansen.dk/?p=5#comment-4</guid>
		<description>What you inplement, it&#039;s seems like a CRUD pattern insted of DAO.</description>
		<content:encoded><![CDATA[<p>What you inplement, it&#8217;s seems like a CRUD pattern insted of DAO.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
