<?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: Zend Framework Front Controller</title>
	<atom:link href="http://akrabat.com/php/zend-framework-front-controller/feed/" rel="self" type="application/rss+xml" />
	<link>http://akrabat.com/php/zend-framework-front-controller/</link>
	<description>Developing PHP software in the Real World, by Rob Allen</description>
	<lastBuildDate>Thu, 11 Mar 2010 20:06:04 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Rob...</title>
		<link>http://akrabat.com/php/zend-framework-front-controller/#comment-22741</link>
		<dc:creator>Rob...</dc:creator>
		<pubDate>Tue, 26 Aug 2008 10:02:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.akrabat.com/2006/03/04/zend-framework-front-controller/#comment-22741</guid>
		<description>Amit,

You should let the dispatcher do it - look up the Action Stack front controller plug in.

Regards,

Rob...</description>
		<content:encoded><![CDATA[<p>Amit,</p>
<p>You should let the dispatcher do it - look up the Action Stack front controller plug in.</p>
<p>Regards,</p>
<p>Rob...</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob...</title>
		<link>http://akrabat.com/php/zend-framework-front-controller/#comment-22740</link>
		<dc:creator>Rob...</dc:creator>
		<pubDate>Tue, 26 Aug 2008 10:01:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.akrabat.com/2006/03/04/zend-framework-front-controller/#comment-22740</guid>
		<description>zibin,

try: 

RewriteCont -d

Regards,

Rob...</description>
		<content:encoded><![CDATA[<p>zibin,</p>
<p>try: </p>
<p>RewriteCont -d</p>
<p>Regards,</p>
<p>Rob...</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Amit Shah</title>
		<link>http://akrabat.com/php/zend-framework-front-controller/#comment-22739</link>
		<dc:creator>Amit Shah</dc:creator>
		<pubDate>Tue, 26 Aug 2008 09:50:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.akrabat.com/2006/03/04/zend-framework-front-controller/#comment-22739</guid>
		<description>How could we call an action of one controller into another controller?

Thanks</description>
		<content:encoded><![CDATA[<p>How could we call an action of one controller into another controller?</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: zibin</title>
		<link>http://akrabat.com/php/zend-framework-front-controller/#comment-8347</link>
		<dc:creator>zibin</dc:creator>
		<pubDate>Sat, 24 Feb 2007 11:51:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.akrabat.com/2006/03/04/zend-framework-front-controller/#comment-8347</guid>
		<description>I am looking at excluding a directory using RewriteCond. Can&#039;t seem to figure out.

Hope someone can lend a hand. thanks</description>
		<content:encoded><![CDATA[<p>I am looking at excluding a directory using RewriteCond. Can't seem to figure out.</p>
<p>Hope someone can lend a hand. thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jamie</title>
		<link>http://akrabat.com/php/zend-framework-front-controller/#comment-152</link>
		<dc:creator>Jamie</dc:creator>
		<pubDate>Fri, 21 Apr 2006 13:58:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.akrabat.com/2006/03/04/zend-framework-front-controller/#comment-152</guid>
		<description>Ok, i added an RewriteCond to exclude a directory and added all static pages in that directory which worked fine. Thanks.</description>
		<content:encoded><![CDATA[<p>Ok, i added an RewriteCond to exclude a directory and added all static pages in that directory which worked fine. Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob...</title>
		<link>http://akrabat.com/php/zend-framework-front-controller/#comment-148</link>
		<dc:creator>Rob...</dc:creator>
		<pubDate>Thu, 20 Apr 2006 16:17:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.akrabat.com/2006/03/04/zend-framework-front-controller/#comment-148</guid>
		<description>You are looking at it wrong. The rewrite rule on this page will serve a file if it exists, but if it doesn&#039;t, then it will serve index.php.

Incidentally, the rule in the ZF manual is different...</description>
		<content:encoded><![CDATA[<p>You are looking at it wrong. The rewrite rule on this page will serve a file if it exists, but if it doesn't, then it will serve index.php.</p>
<p>Incidentally, the rule in the ZF manual is different...</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jamie</title>
		<link>http://akrabat.com/php/zend-framework-front-controller/#comment-147</link>
		<dc:creator>Jamie</dc:creator>
		<pubDate>Thu, 20 Apr 2006 15:24:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.akrabat.com/2006/03/04/zend-framework-front-controller/#comment-147</guid>
		<description>Am i looking at this correctly? Do i need a contoller function for every static link i place in a page. For example: several non-dynamic informational pages would each need it&#039;s own controller entry for a link to work. Seems like a lot of code to replace a href but i don&#039;t see a way around it with the mod_rewrite.</description>
		<content:encoded><![CDATA[<p>Am i looking at this correctly? Do i need a contoller function for every static link i place in a page. For example: several non-dynamic informational pages would each need it's own controller entry for a link to work. Seems like a lot of code to replace a href but i don't see a way around it with the mod_rewrite.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob...</title>
		<link>http://akrabat.com/php/zend-framework-front-controller/#comment-143</link>
		<dc:creator>Rob...</dc:creator>
		<pubDate>Tue, 18 Apr 2006 17:00:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.akrabat.com/2006/03/04/zend-framework-front-controller/#comment-143</guid>
		<description>Zend_Search is definitely on my list of things to look at, but I need a working site first :)</description>
		<content:encoded><![CDATA[<p>Zend_Search is definitely on my list of things to look at, but I need a working site first :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Prasanna</title>
		<link>http://akrabat.com/php/zend-framework-front-controller/#comment-141</link>
		<dc:creator>Prasanna</dc:creator>
		<pubDate>Tue, 18 Apr 2006 15:47:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.akrabat.com/2006/03/04/zend-framework-front-controller/#comment-141</guid>
		<description>Have you tried zend_search? Some sample code would be very helpful.
thanks.</description>
		<content:encoded><![CDATA[<p>Have you tried zend_search? Some sample code would be very helpful.<br />
thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob...</title>
		<link>http://akrabat.com/php/zend-framework-front-controller/#comment-31</link>
		<dc:creator>Rob...</dc:creator>
		<pubDate>Sat, 04 Mar 2006 19:51:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.akrabat.com/2006/03/04/zend-framework-front-controller/#comment-31</guid>
		<description>Autoload doesn&#039;t work with Zend::loadClass() because it calls class_exists() to check that the class isn&#039;t already loaded:

if (class_exists($class)) {
    return;
}

This results in the __autoload() being called which calls Zend::loadFile() which then gets confused :)

Workaround is to modify to:
if(class_exists($class, false)) {
    return;
}</description>
		<content:encoded><![CDATA[<p>Autoload doesn't work with Zend::loadClass() because it calls class_exists() to check that the class isn't already loaded:</p>
<p>if (class_exists($class)) {<br />
    return;<br />
}</p>
<p>This results in the __autoload() being called which calls Zend::loadFile() which then gets confused :)</p>
<p>Workaround is to modify to:<br />
if(class_exists($class, false)) {<br />
    return;<br />
}</p>
]]></content:encoded>
	</item>
</channel>
</rss>
