<?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: Class naming convention in Zend Framework makes life harder</title>
	<atom:link href="http://www.beyondcoding.com/2008/07/21/class-naming-convention-in-zend-framework-makes-life-harder/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.beyondcoding.com/2008/07/21/class-naming-convention-in-zend-framework-makes-life-harder/</link>
	<description>Follow us on Twitter: @fredwu and @scotti3g</description>
	<lastBuildDate>Mon, 30 Jan 2012 19:22:13 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: jb</title>
		<link>http://www.beyondcoding.com/2008/07/21/class-naming-convention-in-zend-framework-makes-life-harder/comment-page-1/#comment-45323</link>
		<dc:creator>jb</dc:creator>
		<pubDate>Tue, 05 Oct 2010 23:11:18 +0000</pubDate>
		<guid isPermaLink="false">http://thislab.com/?p=43#comment-45323</guid>
		<description>I have to agree with the fact that it makes life harder...
they don&#039;t follow their own convention!
I have tried to have a simple solution to have a controller inheriting from another one (e.g. testController extends indexController )... it can be done, but it cannot be loaded just by the autoloader ... so it needs a stupid fix!
too bad ;-)</description>
		<content:encoded><![CDATA[<p>I have to agree with the fact that it makes life harder&#8230;<br />
they don&#8217;t follow their own convention!<br />
I have tried to have a simple solution to have a controller inheriting from another one (e.g. testController extends indexController )&#8230; it can be done, but it cannot be loaded just by the autoloader &#8230; so it needs a stupid fix!<br />
too bad ;-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob...</title>
		<link>http://www.beyondcoding.com/2008/07/21/class-naming-convention-in-zend-framework-makes-life-harder/comment-page-1/#comment-246</link>
		<dc:creator>Rob...</dc:creator>
		<pubDate>Tue, 22 Jul 2008 06:58:42 +0000</pubDate>
		<guid isPermaLink="false">http://thislab.com/?p=43#comment-246</guid>
		<description>It&#039;s really rare to need to load a controller manually as any common functionality between controllers should be factored out in action helpers.

Regards,

Rob...</description>
		<content:encoded><![CDATA[<p>It&#8217;s really rare to need to load a controller manually as any common functionality between controllers should be factored out in action helpers.</p>
<p>Regards,</p>
<p>Rob&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Abernethy</title>
		<link>http://www.beyondcoding.com/2008/07/21/class-naming-convention-in-zend-framework-makes-life-harder/comment-page-1/#comment-244</link>
		<dc:creator>Chris Abernethy</dc:creator>
		<pubDate>Mon, 21 Jul 2008 13:41:36 +0000</pubDate>
		<guid isPermaLink="false">http://thislab.com/?p=43#comment-244</guid>
		<description>I agree that the naming conventions/requirements can be somewhat confusing, but it does seem like a good balance between representing the MVC architecture in the default directory structures and having a standard naming convention.</description>
		<content:encoded><![CDATA[<p>I agree that the naming conventions/requirements can be somewhat confusing, but it does seem like a good balance between representing the MVC architecture in the default directory structures and having a standard naming convention.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim Fountain</title>
		<link>http://www.beyondcoding.com/2008/07/21/class-naming-convention-in-zend-framework-makes-life-harder/comment-page-1/#comment-245</link>
		<dc:creator>Tim Fountain</dc:creator>
		<pubDate>Mon, 21 Jul 2008 10:49:57 +0000</pubDate>
		<guid isPermaLink="false">http://thislab.com/?p=43#comment-245</guid>
		<description>Zend_Loader always expects class names to match paths, this is how it knows where to find them. Helpers and Controller classes are special cases, are used internally and shouldn&#039;t ever need to be loaded by Zend_Loader, which is why they have different naming conventions.

The only situation I can think of in which this would be an issue would be if you were trying to get one of your controllers to extend some base class that wasn&#039;t yet loaded. Zend_Loader would then try and find the class based on the name. Is this what you&#039;re trying to do?</description>
		<content:encoded><![CDATA[<p>Zend_Loader always expects class names to match paths, this is how it knows where to find them. Helpers and Controller classes are special cases, are used internally and shouldn&#8217;t ever need to be loaded by Zend_Loader, which is why they have different naming conventions.</p>
<p>The only situation I can think of in which this would be an issue would be if you were trying to get one of your controllers to extend some base class that wasn&#8217;t yet loaded. Zend_Loader would then try and find the class based on the name. Is this what you&#8217;re trying to do?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

