<?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>free Zend Framework screencasts - Zendcasts &#187; table data gateway</title>
	<atom:link href="http://www.zendcasts.com/tag/table-data-gateway/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.zendcasts.com</link>
	<description>free Zend Framework screencasts. Video tutorials to get you up to speed with different parts of the Zend Framework and enterprise PHP development.</description>
	<lastBuildDate>Mon, 12 Dec 2011 21:14:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>One to Many with Zend_Db</title>
		<link>http://www.zendcasts.com/one-to-many-with-zend_db/2009/05/</link>
		<comments>http://www.zendcasts.com/one-to-many-with-zend_db/2009/05/#comments</comments>
		<pubDate>Mon, 04 May 2009 16:27:24 +0000</pubDate>
		<dc:creator>jon</dc:creator>
				<category><![CDATA[Databases]]></category>
		<category><![CDATA[Zend_Db]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[layer]]></category>
		<category><![CDATA[one-to-many]]></category>
		<category><![CDATA[persistence]]></category>
		<category><![CDATA[service layer]]></category>
		<category><![CDATA[table data gateway]]></category>
		<category><![CDATA[zend_db_table]]></category>

		<guid isPermaLink="false">http://www.zendcasts.com/?p=185</guid>
		<description><![CDATA[This is part 3 in the Zend_Db series. I&#8217;m only scratching the surface with what you can do with Zend_Db_Table classes, however starting is often the hardest part. I&#8217;ve posted the code once again on the Google code for this episode, so please don&#8217;t be shy and grab a copy. There&#8217;s a lot of discussion…]]></description>
			<content:encoded><![CDATA[<p>This is part 3 in the Zend_Db series. I&#8217;m only scratching the surface with what you can do with Zend_Db_Table classes, however starting is often the hardest part. I&#8217;ve posted the code once again on the Google code for this episode, so <a href="http://code.google.com/p/zendcasts/source/browse/#svn/trunk/ep20-one-to-many-with-zend-db">please don&#8217;t be shy and grab a copy</a>.</p>
<p>There&#8217;s a lot of discussion over where and how I&#8217;m using the model in the comments, and I have a feeling that as I keep doing this, some of my controversial design decisions (whether out of ignorance, which I&#8217;ll gladly acknowledge, or professional experience) might start to surface. I&#8217;m really hoping to do a series of similar videos with <a href="http://www.doctrine-project.org">Doctrine</a>, since I find their solution to database persistence really elegant. If anyone has any suggestions, or would like access to the Google code, I would love to open up the discussion and find the &#8220;best practices&#8221; here. Personally, I would start by moving our custom made form to Zend_Form and adding some much needed validation to the project.</p>
<p>Lastly, I need to apologize for the delay, this week has been quite full due to work and personal commitments. I&#8217;m going to keep the video a week schedule as best I can. The video also deals with setting up the MySQL database, if this isn&#8217;t interesting, skip to the 12 minute mark.</p>

]]></content:encoded>
			<wfw:commentRss>http://www.zendcasts.com/one-to-many-with-zend_db/2009/05/feed/</wfw:commentRss>
		<slash:comments>36</slash:comments>
<enclosure url="http://www.zendcasts.com/wp-content/uploads/2009/05/zc20-one-to-many-with-zend-db-screen.mov" length="185839206" type="video/quicktime" />
<enclosure url="http://www.zendcasts.com/wp-content/uploads/2009/05/zc20-one-to-many-with-zend-db-iphone.m4v" length="170053000" type="text/plain" />
		</item>
		<item>
		<title>Zend_Db Update and Delete</title>
		<link>http://www.zendcasts.com/zend_db-update-and-delete/2009/04/</link>
		<comments>http://www.zendcasts.com/zend_db-update-and-delete/2009/04/#comments</comments>
		<pubDate>Wed, 22 Apr 2009 18:08:35 +0000</pubDate>
		<dc:creator>jon</dc:creator>
				<category><![CDATA[Databases]]></category>
		<category><![CDATA[Zend_Db]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[layer]]></category>
		<category><![CDATA[persistence]]></category>
		<category><![CDATA[service layer]]></category>
		<category><![CDATA[table data gateway]]></category>
		<category><![CDATA[zend_db_table]]></category>

		<guid isPermaLink="false">http://www.zendcasts.com/?p=182</guid>
		<description><![CDATA[This is the second in a series exploring Zend_Db_Table. We finish up the project in the last video by adding Update and Delete functionality to our UserService. Grab the source code and follow along.]]></description>
			<content:encoded><![CDATA[<p>This is the second in a series exploring Zend_Db_Table. We finish up the project in the last video by adding Update and Delete functionality to our UserService. <a href="http://code.google.com/p/zendcasts/source/browse/#svn/trunk/ep18-create-read-intro-with-zend-table">Grab the source code and follow along. </a><br />
</p>
]]></content:encoded>
			<wfw:commentRss>http://www.zendcasts.com/zend_db-update-and-delete/2009/04/feed/</wfw:commentRss>
		<slash:comments>28</slash:comments>
<enclosure url="http://www.zendcasts.com/wp-content/uploads/2009/04/zc19-introduction-to-zend-table-part-2-screen.mov" length="75065498" type="video/quicktime" />
<enclosure url="http://www.zendcasts.com/wp-content/uploads/2009/04/zc19-introduction-to-zend-table-part-2-iphone.m4v" length="66617549" type="text/plain" />
		</item>
		<item>
		<title>Zend_Db Insert and Read</title>
		<link>http://www.zendcasts.com/zend_db-insert-and-read/2009/04/</link>
		<comments>http://www.zendcasts.com/zend_db-insert-and-read/2009/04/#comments</comments>
		<pubDate>Fri, 17 Apr 2009 12:45:49 +0000</pubDate>
		<dc:creator>jon</dc:creator>
				<category><![CDATA[Databases]]></category>
		<category><![CDATA[Zend_Db]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[persistence layer]]></category>
		<category><![CDATA[service layer]]></category>
		<category><![CDATA[table data gateway]]></category>
		<category><![CDATA[zend_db_table]]></category>

		<guid isPermaLink="false">http://www.zendcasts.com/?p=179</guid>
		<description><![CDATA[This video is the first in a series on Zend_Db. I start with a looking at insert and read using the Zend_Db_Table classes with a bit of Zend_Db_Select thrown in at the end. Next week will be a followup with update and delete with the help of a custom route, some view partials and a…]]></description>
			<content:encoded><![CDATA[<p>This video is the first in a series on Zend_Db. I start with a looking at insert and read using the Zend_Db_Table classes with a bit of Zend_Db_Select thrown in at the end. Next week will be a followup with update and delete with the help of a custom route, some view partials and a few more additions to our service layer. I&#8217;m not a fan of putting business logic in the same object as a class belonging to the Table Data Gateway pattern, so I&#8217;ve created a custom UserService object to help seperate the view and model layers. This would also be in keeping if you had multiple service layers (for example, a database, a couple RSS feeds and a couple of web services) and wanted to keep their business logic and querying outside of the Controller. I don&#8217;t bother with Zend_Form since it&#8217;s configuration heavy and only really interesting in conjunction with validators, however it would fit in perfectly as an extension to this project. The <a href="http://code.google.com/p/zendcasts/source/browse/#svn/trunk/ep18-create-read-intro-with-zend-table">code can be downloaded for this and next weeks episode</a> to help you follow along.</p>

]]></content:encoded>
			<wfw:commentRss>http://www.zendcasts.com/zend_db-insert-and-read/2009/04/feed/</wfw:commentRss>
		<slash:comments>40</slash:comments>
<enclosure url="http://www.zendcasts.com/wp-content/uploads/2009/04/zc18-introduction-to-zend-table-screen.mov" length="102415121" type="video/quicktime" />
<enclosure url="http://www.zendcasts.com/wp-content/uploads/2009/04/zc18-introduction-to-zend-table-iphone.m4v" length="91878843" type="text/plain" />
		</item>
	</channel>
</rss>

