<?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"
	>
<channel>
	<title>Comments on: Zend Framework: Database Access</title>
	<atom:link href="http://akrabat.com/2006/03/07/zend-framework-database-access/feed/" rel="self" type="application/rss+xml" />
	<link>http://akrabat.com/2006/03/07/zend-framework-database-access/</link>
	<description>Developing PHP and XUL Software in the Real World</description>
	<pubDate>Thu, 20 Nov 2008 08:32:41 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
		<item>
		<title>By: Rob...</title>
		<link>http://akrabat.com/2006/03/07/zend-framework-database-access/#comment-36</link>
		<dc:creator>Rob...</dc:creator>
		<pubDate>Wed, 08 Mar 2006 15:34:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.akrabat.com/2006/03/07/zend-framework-database-access/#comment-36</guid>
		<description>I'm not sure that there is that much boilerplate code. Obviously you need to tie the bit togeher, but it's easy enough to put it all into a subclass so that it's out of the way.

__construct() is the class's constructor. It is called automatically by PHP whenever you create a new instance of a class.

__call() is a "magic" function that is called whenever you try to call a class method that does not exist. i.e. it gives you a chance to implement "dynamic" functions. It's quite powerful, but you have to be careful not to over use it as you might end up with an undocumented mess :)

Thanks for your kind words on the tutorials. I don't find writing easy at all - the coding is much simpler to do! I'm going to carry on documenting my experiences though as it's a way to force me to understand each component in turn.</description>
		<content:encoded><![CDATA[<p>I'm not sure that there is that much boilerplate code. Obviously you need to tie the bit togeher, but it's easy enough to put it all into a subclass so that it's out of the way.</p>
<p>__construct() is the class's constructor. It is called automatically by PHP whenever you create a new instance of a class.</p>
<p>__call() is a "magic" function that is called whenever you try to call a class method that does not exist. i.e. it gives you a chance to implement "dynamic" functions. It's quite powerful, but you have to be careful not to over use it as you might end up with an undocumented mess :)</p>
<p>Thanks for your kind words on the tutorials. I don't find writing easy at all - the coding is much simpler to do! I'm going to carry on documenting my experiences though as it's a way to force me to understand each component in turn.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous Coward</title>
		<link>http://akrabat.com/2006/03/07/zend-framework-database-access/#comment-35</link>
		<dc:creator>Anonymous Coward</dc:creator>
		<pubDate>Wed, 08 Mar 2006 08:30:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.akrabat.com/2006/03/07/zend-framework-database-access/#comment-35</guid>
		<description>Seems like a lot of boilerplate code is required for this framework. That, and everything is too verbose..

Why does the view component need everything to be $this-&#62;var? Can't they make it so we can just do $var?

Also, could you explain what the __construct() and the __call functions do? Do we HAVE to have those, or can we leave those out and have it still work?

Thanks for the tutorials - they're awesome.. I hope you continue on with them.</description>
		<content:encoded><![CDATA[<p>Seems like a lot of boilerplate code is required for this framework. That, and everything is too verbose..</p>
<p>Why does the view component need everything to be $this-&gt;var? Can't they make it so we can just do $var?</p>
<p>Also, could you explain what the __construct() and the __call functions do? Do we HAVE to have those, or can we leave those out and have it still work?</p>
<p>Thanks for the tutorials - they're awesome.. I hope you continue on with them.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob...</title>
		<link>http://akrabat.com/2006/03/07/zend-framework-database-access/#comment-34</link>
		<dc:creator>Rob...</dc:creator>
		<pubDate>Tue, 07 Mar 2006 23:03:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.akrabat.com/2006/03/07/zend-framework-database-access/#comment-34</guid>
		<description>At some point, I'm going to have to work out how to run WordPress so that it leaves my code alone!!</description>
		<content:encoded><![CDATA[<p>At some point, I'm going to have to work out how to run WordPress so that it leaves my code alone!!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
