<?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: Migrating to Zend Framework: Legacy Scripts</title>
	<atom:link href="http://www.chrisabernethy.com/zend-framework-legacy-scripts/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.chrisabernethy.com/feeder/?FeederAction=clicked&#038;feed=Comments+on+Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.chrisabernethy.com%2Fzend-framework-legacy-scripts%2F%23comment-&#038;seed_title=Migrating+to+Zend+Framework%3A+Legacy+Scripts</link>
	<description></description>
	<lastBuildDate>Wed, 25 Jan 2012 23:42:20 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: Andrew</title>
		<link>http://www.chrisabernethy.com/feeder/?FeederAction=clicked&#038;feed=Comments+on+Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.chrisabernethy.com%2Fzend-framework-legacy-scripts%2F%23comment-20192&#038;seed_title=Migrating+to+Zend+Framework%3A+Legacy+Scripts#comment-20192</link>
		<dc:creator>Andrew</dc:creator>
		<pubDate>Fri, 25 Mar 2011 03:49:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.chrisabernethy.com/2007/12/04/zend-framework-legacy-scripts/#comment-20192</guid>
		<description>Am I completely missing something or can this not be achieved in the .htaccess file.

1. Add [L] to end of current rewrites
2. Place new rewrite for Zend at bottom of .htaccess file

Done!! Worked perfectly for me. The code rewrites anything that is not a real file or directory, so all current scripts (.php) work fine. The old rewrites work fine because they are processed first. The [L] flag halts the processing when the old rewrite is trigged.</description>
		<content:encoded><![CDATA[<p>Am I completely missing something or can this not be achieved in the .htaccess file.</p>
<p>1. Add [L] to end of current rewrites<br />
2. Place new rewrite for Zend at bottom of .htaccess file</p>
<p>Done!! Worked perfectly for me. The code rewrites anything that is not a real file or directory, so all current scripts (.php) work fine. The old rewrites work fine because they are processed first. The [L] flag halts the processing when the old rewrite is trigged.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Weinraub</title>
		<link>http://www.chrisabernethy.com/feeder/?FeederAction=clicked&#038;feed=Comments+on+Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.chrisabernethy.com%2Fzend-framework-legacy-scripts%2F%23comment-16182&#038;seed_title=Migrating+to+Zend+Framework%3A+Legacy+Scripts#comment-16182</link>
		<dc:creator>David Weinraub</dc:creator>
		<pubDate>Sun, 26 Sep 2010 15:10:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.chrisabernethy.com/2007/12/04/zend-framework-legacy-scripts/#comment-16182</guid>
		<description>One interesting issue that I came across was that my script was being rendered twice (ZF v1.11):

1. In LegacyController::indexACtion() via our direct call to $response-&gt;sendResponse(). 

2. Since we do not exit() or die() after sending the response form the action above, the framework completes the dispatch cycle and the front controller eventually sends the response body again.

It may be that earlier versions of the ZF - for example, the version that was current when this post originally was written - had different handling.

Of course, the solution for the more recent version is to either remove the call to $response-&gt;sendResponse() from the action, or to die() immediately after that call.

Still, I stand by original assessment of awesomeness. Thanks for an excellent article.</description>
		<content:encoded><![CDATA[<p>One interesting issue that I came across was that my script was being rendered twice (ZF v1.11):</p>
<p>1. In LegacyController::indexACtion() via our direct call to $response-&gt;sendResponse(). </p>
<p>2. Since we do not exit() or die() after sending the response form the action above, the framework completes the dispatch cycle and the front controller eventually sends the response body again.</p>
<p>It may be that earlier versions of the ZF &#8211; for example, the version that was current when this post originally was written &#8211; had different handling.</p>
<p>Of course, the solution for the more recent version is to either remove the call to $response-&gt;sendResponse() from the action, or to die() immediately after that call.</p>
<p>Still, I stand by original assessment of awesomeness. Thanks for an excellent article.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rajarizwan (Raja Rizwan)</title>
		<link>http://www.chrisabernethy.com/feeder/?FeederAction=clicked&#038;feed=Comments+on+Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.chrisabernethy.com%2Fzend-framework-legacy-scripts%2F%23comment-15139&#038;seed_title=Migrating+to+Zend+Framework%3A+Legacy+Scripts#comment-15139</link>
		<dc:creator>rajarizwan (Raja Rizwan)</dc:creator>
		<pubDate>Tue, 22 Jun 2010 08:37:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.chrisabernethy.com/2007/12/04/zend-framework-legacy-scripts/#comment-15139</guid>
		<description>http://www.chrisabernethy.com/zend-framework-legacy-scripts/</description>
		<content:encoded><![CDATA[<p><a href="http://www.chrisabernethy.com/zend-framework-legacy-scripts/" rel="nofollow">http://www.chrisabernethy.com/zend-framework-legacy-scripts/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: papayasoft (David Weinraub)</title>
		<link>http://www.chrisabernethy.com/feeder/?FeederAction=clicked&#038;feed=Comments+on+Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.chrisabernethy.com%2Fzend-framework-legacy-scripts%2F%23comment-14080&#038;seed_title=Migrating+to+Zend+Framework%3A+Legacy+Scripts#comment-14080</link>
		<dc:creator>papayasoft (David Weinraub)</dc:creator>
		<pubDate>Sat, 20 Mar 2010 18:29:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.chrisabernethy.com/2007/12/04/zend-framework-legacy-scripts/#comment-14080</guid>
		<description>Migrating to Zend Framework: Legacy Scripts :   http://www.chrisabernethy.com/zend-framework-legacy-scripts/</description>
		<content:encoded><![CDATA[<p>Migrating to Zend Framework: Legacy Scripts :   <a href="http://www.chrisabernethy.com/zend-framework-legacy-scripts/" rel="nofollow">http://www.chrisabernethy.com/zend-framework-legacy-scripts/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Weinraub</title>
		<link>http://www.chrisabernethy.com/feeder/?FeederAction=clicked&#038;feed=Comments+on+Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.chrisabernethy.com%2Fzend-framework-legacy-scripts%2F%23comment-14079&#038;seed_title=Migrating+to+Zend+Framework%3A+Legacy+Scripts#comment-14079</link>
		<dc:creator>David Weinraub</dc:creator>
		<pubDate>Sat, 20 Mar 2010 14:28:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.chrisabernethy.com/2007/12/04/zend-framework-legacy-scripts/#comment-14079</guid>
		<description>Holy smokes, this is awesome. This is exactly the situation in which I find myself: lots of legacy scripts, most that are reached via custom .htaccess rewrites, that I would love to migrate over to ZF MVC handling.

Now I just need to convince the customer that it&#039;s worth the cost to gradually migrate over. ;-)

Thanks again for an awesome post! ;-)</description>
		<content:encoded><![CDATA[<p>Holy smokes, this is awesome. This is exactly the situation in which I find myself: lots of legacy scripts, most that are reached via custom .htaccess rewrites, that I would love to migrate over to ZF MVC handling.</p>
<p>Now I just need to convince the customer that it&#8217;s worth the cost to gradually migrate over. ;-)</p>
<p>Thanks again for an awesome post! ;-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 網站製作學習誌 &#187; [Web] 連結分享</title>
		<link>http://www.chrisabernethy.com/feeder/?FeederAction=clicked&#038;feed=Comments+on+Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.chrisabernethy.com%2Fzend-framework-legacy-scripts%2F%23comment-12224&#038;seed_title=Migrating+to+Zend+Framework%3A+Legacy+Scripts#comment-12224</link>
		<dc:creator>網站製作學習誌 &#187; [Web] 連結分享</dc:creator>
		<pubDate>Wed, 25 Nov 2009 02:36:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.chrisabernethy.com/2007/12/04/zend-framework-legacy-scripts/#comment-12224</guid>
		<description>[...] Migrating to Zend Framework: Legacy Scripts [...]</description>
		<content:encoded><![CDATA[<p>[...] Migrating to Zend Framework: Legacy Scripts [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: IP、IC、IQ卡，统统告诉你密码 &#187; Zend Framework 教程大全</title>
		<link>http://www.chrisabernethy.com/feeder/?FeederAction=clicked&#038;feed=Comments+on+Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.chrisabernethy.com%2Fzend-framework-legacy-scripts%2F%23comment-11118&#038;seed_title=Migrating+to+Zend+Framework%3A+Legacy+Scripts#comment-11118</link>
		<dc:creator>IP、IC、IQ卡，统统告诉你密码 &#187; Zend Framework 教程大全</dc:creator>
		<pubDate>Tue, 04 Aug 2009 07:15:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.chrisabernethy.com/2007/12/04/zend-framework-legacy-scripts/#comment-11118</guid>
		<description>[...] By phpeverysday.com Setting up Zend Framework applications with Phing &#8211; By Raphael Stolt Migrating to Zend Framework: Legacy Scripts &#8211; By Chris Abernethy Zend_Acl Experience with Zend_Acl and usage example &#8211; By Jeremy [...]</description>
		<content:encoded><![CDATA[<p>[...] By phpeverysday.com Setting up Zend Framework applications with Phing &#8211; By Raphael Stolt Migrating to Zend Framework: Legacy Scripts &#8211; By Chris Abernethy Zend_Acl Experience with Zend_Acl and usage example &#8211; By Jeremy [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Recopilacion de tutoriales Zend Framework &#124; Stekl</title>
		<link>http://www.chrisabernethy.com/feeder/?FeederAction=clicked&#038;feed=Comments+on+Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.chrisabernethy.com%2Fzend-framework-legacy-scripts%2F%23comment-9662&#038;seed_title=Migrating+to+Zend+Framework%3A+Legacy+Scripts#comment-9662</link>
		<dc:creator>Recopilacion de tutoriales Zend Framework &#124; Stekl</dc:creator>
		<pubDate>Fri, 13 Feb 2009 16:58:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.chrisabernethy.com/2007/12/04/zend-framework-legacy-scripts/#comment-9662</guid>
		<description>[...] up Zend Framework applications with Phing - Por Raphael StoltMigrating to Zend Framework: Legacy Scripts - Por Chris [...]</description>
		<content:encoded><![CDATA[<p>[...] up Zend Framework applications with Phing &#8211; Por Raphael StoltMigrating to Zend Framework: Legacy Scripts &#8211; Por Chris [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Zend Framework教程大全</title>
		<link>http://www.chrisabernethy.com/feeder/?FeederAction=clicked&#038;feed=Comments+on+Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.chrisabernethy.com%2Fzend-framework-legacy-scripts%2F%23comment-1678&#038;seed_title=Migrating+to+Zend+Framework%3A+Legacy+Scripts#comment-1678</link>
		<dc:creator>Zend Framework教程大全</dc:creator>
		<pubDate>Thu, 03 Jul 2008 04:22:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.chrisabernethy.com/2007/12/04/zend-framework-legacy-scripts/#comment-1678</guid>
		<description>[...] Tutorial - By phpeverysday.com Setting up Zend Framework applications with Phing - By Raphael Stolt Migrating to Zend Framework: Legacy Scripts - By Chris Abernethy Zend_Acl Experience with Zend_Acl and usage example - By Jeremy Knope Zend_Acl [...]</description>
		<content:encoded><![CDATA[<p>[...] Tutorial &#8211; By phpeverysday.com Setting up Zend Framework applications with Phing &#8211; By Raphael Stolt Migrating to Zend Framework: Legacy Scripts &#8211; By Chris Abernethy Zend_Acl Experience with Zend_Acl and usage example &#8211; By Jeremy Knope Zend_Acl [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tutoriales de Zend frameword &#171; CuatroXL - Cuatro Xl</title>
		<link>http://www.chrisabernethy.com/feeder/?FeederAction=clicked&#038;feed=Comments+on+Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.chrisabernethy.com%2Fzend-framework-legacy-scripts%2F%23comment-101&#038;seed_title=Migrating+to+Zend+Framework%3A+Legacy+Scripts#comment-101</link>
		<dc:creator>Tutoriales de Zend frameword &#171; CuatroXL - Cuatro Xl</dc:creator>
		<pubDate>Fri, 04 Apr 2008 08:54:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.chrisabernethy.com/2007/12/04/zend-framework-legacy-scripts/#comment-101</guid>
		<description>[...] Zend Framework - By Rob Allen Setting up Zend Framework applications with Phing - By Raphael Stolt Migrating to Zend Framework: Legacy Scripts - By Chris [...]</description>
		<content:encoded><![CDATA[<p>[...] Zend Framework &#8211; By Rob Allen Setting up Zend Framework applications with Phing &#8211; By Raphael Stolt Migrating to Zend Framework: Legacy Scripts &#8211; By Chris [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

