<?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 View partial without reseting variables</title>
	<atom:link href="http://www.gsdesign.ro/blog/zend-framework-view-partial-without-reseting-variables/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.gsdesign.ro/blog/zend-framework-view-partial-without-reseting-variables/</link>
	<description>Just another developer blog</description>
	<lastBuildDate>Thu, 29 Jul 2010 03:41:36 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: bogdanghervan</title>
		<link>http://www.gsdesign.ro/blog/zend-framework-view-partial-without-reseting-variables/comment-page-1/#comment-7676</link>
		<dc:creator>bogdanghervan</dc:creator>
		<pubDate>Wed, 18 Nov 2009 22:03:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.gsdesign.ro/blog/?p=329#comment-7676</guid>
		<description>The &quot;Important&quot; note is so small that I managed to see it right just after I figured out how to do it myself, which is to send all the view&#039;s vars as a model to the partial.&lt;br&gt;&lt;br&gt;&lt;?php echo $this-&gt;partial(&#039;partials/some_partial.phtml&#039;, [NULL, ]$this-&gt;getVars()); ?&gt;&lt;br&gt;&lt;br&gt;You have to start with the idea that some mechanisms should already be available since the issue seems pretty common.</description>
		<content:encoded><![CDATA[<p>The &#8220;Important&#8221; note is so small that I managed to see it right just after I figured out how to do it myself, which is to send all the view&#39;s vars as a model to the partial.</p>
<p>&lt;?php echo $this-&gt;partial(&#39;partials/some_partial.phtml&#39;, [NULL, ]$this-&gt;getVars()); ?&gt;</p>
<p>You have to start with the idea that some mechanisms should already be available since the issue seems pretty common.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gabi Solomon</title>
		<link>http://www.gsdesign.ro/blog/zend-framework-view-partial-without-reseting-variables/comment-page-1/#comment-7461</link>
		<dc:creator>Gabi Solomon</dc:creator>
		<pubDate>Wed, 08 Apr 2009 20:59:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.gsdesign.ro/blog/?p=329#comment-7461</guid>
		<description>@Ari
I agrre i think they should write about using render in the manual, and specify the difference between render &amp; partials and how and when to use them</description>
		<content:encoded><![CDATA[<p>@Ari<br />
I agrre i think they should write about using render in the manual, and specify the difference between render &#038; partials and how and when to use them</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ari</title>
		<link>http://www.gsdesign.ro/blog/zend-framework-view-partial-without-reseting-variables/comment-page-1/#comment-7460</link>
		<dc:creator>ari</dc:creator>
		<pubDate>Wed, 08 Apr 2009 17:11:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.gsdesign.ro/blog/?p=329#comment-7460</guid>
		<description>render seems to be 100% more preferable than partial for my projects. its a shame i wasted hours and complicated my project needlessly by using partials. the only mention i&#039;ve seen for a render function in the reference documentation is  for the action helper. zend should mention it in the view helpers section of the reference</description>
		<content:encoded><![CDATA[<p>render seems to be 100% more preferable than partial for my projects. its a shame i wasted hours and complicated my project needlessly by using partials. the only mention i&#8217;ve seen for a render function in the reference documentation is  for the action helper. zend should mention it in the view helpers section of the reference</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gabi Solomon</title>
		<link>http://www.gsdesign.ro/blog/zend-framework-view-partial-without-reseting-variables/comment-page-1/#comment-7318</link>
		<dc:creator>Gabi Solomon</dc:creator>
		<pubDate>Mon, 19 Jan 2009 03:45:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.gsdesign.ro/blog/?p=329#comment-7318</guid>
		<description>@Matthew 
I guess  i will have to do a culpa mia again, and start reading the manual again with more attention</description>
		<content:encoded><![CDATA[<p>@Matthew<br />
I guess  i will have to do a culpa mia again, and start reading the manual again with more attention</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matthew Weier O'Phinney</title>
		<link>http://www.gsdesign.ro/blog/zend-framework-view-partial-without-reseting-variables/comment-page-1/#comment-7317</link>
		<dc:creator>Matthew Weier O'Phinney</dc:creator>
		<pubDate>Mon, 19 Jan 2009 03:40:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.gsdesign.ro/blog/?p=329#comment-7317</guid>
		<description>We even document that unless you&#039;re passing variables to your partial explicitly, you&#039;re taking a big performance hit by using partials, and it&#039;s better to use render(). :-)</description>
		<content:encoded><![CDATA[<p>We even document that unless you&#8217;re passing variables to your partial explicitly, you&#8217;re taking a big performance hit by using partials, and it&#8217;s better to use render(). <img src='http://www.gsdesign.ro/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gabi Solomon</title>
		<link>http://www.gsdesign.ro/blog/zend-framework-view-partial-without-reseting-variables/comment-page-1/#comment-7315</link>
		<dc:creator>Gabi Solomon</dc:creator>
		<pubDate>Sun, 18 Jan 2009 23:34:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.gsdesign.ro/blog/?p=329#comment-7315</guid>
		<description>@Jani Hartikainen
I will have to do a culpa mia :( ... you are right .... i have overlooked the existing method from View</description>
		<content:encoded><![CDATA[<p>@Jani Hartikainen<br />
I will have to do a culpa mia <img src='http://www.gsdesign.ro/blog/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  &#8230; you are right &#8230;. i have overlooked the existing method from View</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jani Hartikainen</title>
		<link>http://www.gsdesign.ro/blog/zend-framework-view-partial-without-reseting-variables/comment-page-1/#comment-7313</link>
		<dc:creator>Jani Hartikainen</dc:creator>
		<pubDate>Sun, 18 Jan 2009 19:18:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.gsdesign.ro/blog/?p=329#comment-7313</guid>
		<description>Was there some reason just doing $this-&gt;render(...) was not enough and you needed this?</description>
		<content:encoded><![CDATA[<p>Was there some reason just doing $this-&gt;render(&#8230;) was not enough and you needed this?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
