<?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 for Michael Caplan</title>
	<atom:link href="http://www.eggplant.ws/blog/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.eggplant.ws/blog</link>
	<description>Ramblings of a web developer</description>
	<pubDate>Sat, 31 Jul 2010 18:53:27 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on Leveraging Omnis within a Heterogeneous Environment through Remote Studio by Paul Mulroney</title>
		<link>http://www.eggplant.ws/blog/php/leveraging-omnis-within-a-heterogeneous-environment-through-remote-studio/comment-page-1/#comment-235</link>
		<dc:creator>Paul Mulroney</dc:creator>
		<pubDate>Thu, 22 Jul 2010 03:33:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.eggplant.ws/blog/?p=52#comment-235</guid>
		<description>Well written article.  Well done rewriting rStudio!</description>
		<content:encoded><![CDATA[<p>Well written article.  Well done rewriting rStudio!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Mayday, Mayday, Mayday - PHP Going Down by andi zaugg</title>
		<link>http://www.eggplant.ws/blog/php/mayday-php-going-down/comment-page-1/#comment-233</link>
		<dc:creator>andi zaugg</dc:creator>
		<pubDate>Tue, 11 May 2010 12:44:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.eggplant.ws/blog/?p=28#comment-233</guid>
		<description>cool!
thank you very much!</description>
		<content:encoded><![CDATA[<p>cool!<br />
thank you very much!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Mayday, Mayday, Mayday - PHP Going Down by Christian S.</title>
		<link>http://www.eggplant.ws/blog/php/mayday-php-going-down/comment-page-1/#comment-225</link>
		<dc:creator>Christian S.</dc:creator>
		<pubDate>Tue, 15 Dec 2009 11:34:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.eggplant.ws/blog/?p=28#comment-225</guid>
		<description>Hey, I am happy about this blog entry. I searched for a solution to catch fatal errors and with Your help I could solve my problem :-)
Thank You very much!</description>
		<content:encoded><![CDATA[<p>Hey, I am happy about this blog entry. I searched for a solution to catch fatal errors and with Your help I could solve my problem <img src='http://www.eggplant.ws/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /><br />
Thank You very much!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Mayday, Mayday, Mayday - PHP Going Down by Claude</title>
		<link>http://www.eggplant.ws/blog/php/mayday-php-going-down/comment-page-1/#comment-221</link>
		<dc:creator>Claude</dc:creator>
		<pubDate>Thu, 22 Oct 2009 18:55:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.eggplant.ws/blog/?p=28#comment-221</guid>
		<description>Please change the title of your article to something more search engine friendly. Something like this would be much better:

PhP Fatal Error Handling</description>
		<content:encoded><![CDATA[<p>Please change the title of your article to something more search engine friendly. Something like this would be much better:</p>
<p>PhP Fatal Error Handling</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Mayday, Mayday, Mayday - PHP Going Down by rob</title>
		<link>http://www.eggplant.ws/blog/php/mayday-php-going-down/comment-page-1/#comment-215</link>
		<dc:creator>rob</dc:creator>
		<pubDate>Sun, 10 May 2009 15:51:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.eggplant.ws/blog/?p=28#comment-215</guid>
		<description>I would not have thought that register_shutdown_function could catch E_PARSE, when even set_error_handler cannot. This is great, thanks!</description>
		<content:encoded><![CDATA[<p>I would not have thought that register_shutdown_function could catch E_PARSE, when even set_error_handler cannot. This is great, thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Don&#8217;t Forget to Flush by Michael Caplan&#8217;s Blog: Don&#8217;t Forget to Flush : Dragonfly Networks</title>
		<link>http://www.eggplant.ws/blog/php/dont-forget-to-flush/comment-page-1/#comment-189</link>
		<dc:creator>Michael Caplan&#8217;s Blog: Don&#8217;t Forget to Flush : Dragonfly Networks</dc:creator>
		<pubDate>Fri, 09 Jan 2009 10:58:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.eggplant.ws/blog/?p=62#comment-189</guid>
		<description>[...] this recent post to his blog Michael Caplan looks at a feature of PHP that&#8217;s sometimes forgotten when pushing [...]</description>
		<content:encoded><![CDATA[<p>[...] this recent post to his blog Michael Caplan looks at a feature of PHP that&#8217;s sometimes forgotten when pushing [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Don&#8217;t Forget to Flush by Mikael</title>
		<link>http://www.eggplant.ws/blog/php/dont-forget-to-flush/comment-page-1/#comment-188</link>
		<dc:creator>Mikael</dc:creator>
		<pubDate>Wed, 07 Jan 2009 11:54:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.eggplant.ws/blog/?p=62#comment-188</guid>
		<description>Whoops, missed the last paragraph... sorry !</description>
		<content:encoded><![CDATA[<p>Whoops, missed the last paragraph&#8230; sorry !</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Don&#8217;t Forget to Flush by Mikael</title>
		<link>http://www.eggplant.ws/blog/php/dont-forget-to-flush/comment-page-1/#comment-187</link>
		<dc:creator>Mikael</dc:creator>
		<pubDate>Wed, 07 Jan 2009 11:52:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.eggplant.ws/blog/?p=62#comment-187</guid>
		<description>I love the idea, but that is probably not gonna work in most MVC frameworks that implement the 'two-step' view way of rendering views.

As an example with ZF, as Loïc mentionned: if you use Zend_Dojo or Zendx_jQuery in conjunction with Zend_Layout, you don't build the HEAD content in one single spot in your code. It is done in several places, and this makes it hard to use a flush.

Example:
- Take a random, database-heavy page that is included in a default layout (= template). This is where most of the computing time is spent. That page then decides it needs some obscure plugin js file. That page is rendered. So far you can't send anything to the client.
- Then the layout decides that it needs a general use JS library. The layout is rendered and it then includes (wraps) the previously rendered page.
All work is done, the full response (head + body) are computed and can be sent back to the client. Nowhere in this scenario could you do a flush.

I'd love to hear a solution to this (or maybe I'm plain wrong ?), because this sounds like it could really speed up JS heavy webpages.</description>
		<content:encoded><![CDATA[<p>I love the idea, but that is probably not gonna work in most MVC frameworks that implement the &#8216;two-step&#8217; view way of rendering views.</p>
<p>As an example with ZF, as Loïc mentionned: if you use Zend_Dojo or Zendx_jQuery in conjunction with Zend_Layout, you don&#8217;t build the HEAD content in one single spot in your code. It is done in several places, and this makes it hard to use a flush.</p>
<p>Example:<br />
- Take a random, database-heavy page that is included in a default layout (= template). This is where most of the computing time is spent. That page then decides it needs some obscure plugin js file. That page is rendered. So far you can&#8217;t send anything to the client.<br />
- Then the layout decides that it needs a general use JS library. The layout is rendered and it then includes (wraps) the previously rendered page.<br />
All work is done, the full response (head + body) are computed and can be sent back to the client. Nowhere in this scenario could you do a flush.</p>
<p>I&#8217;d love to hear a solution to this (or maybe I&#8217;m plain wrong ?), because this sounds like it could really speed up JS heavy webpages.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Don&#8217;t Forget to Flush by Loïc Hoguin</title>
		<link>http://www.eggplant.ws/blog/php/dont-forget-to-flush/comment-page-1/#comment-185</link>
		<dc:creator>Loïc Hoguin</dc:creator>
		<pubDate>Mon, 05 Jan 2009 10:15:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.eggplant.ws/blog/?p=62#comment-185</guid>
		<description>About nested templates, I'm not sure about ZF but you could probably have a header template that you would create and render as soon as you receive the request, and then have a body template that would contain the rest. The HTML header usually doesn't have too much specific code so it should work out pretty well for most projects.</description>
		<content:encoded><![CDATA[<p>About nested templates, I&#8217;m not sure about ZF but you could probably have a header template that you would create and render as soon as you receive the request, and then have a body template that would contain the rest. The HTML header usually doesn&#8217;t have too much specific code so it should work out pretty well for most projects.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Don&#8217;t Forget to Flush by ellisgl</title>
		<link>http://www.eggplant.ws/blog/php/dont-forget-to-flush/comment-page-1/#comment-184</link>
		<dc:creator>ellisgl</dc:creator>
		<pubDate>Mon, 05 Jan 2009 02:50:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.eggplant.ws/blog/?p=62#comment-184</guid>
		<description>Beware of using flush by itself. Some times you have to make sure that you have enough data output before the browser response. Here's something I've been using with my COMET stuff.

function RealFlush($Out = "", $Padding = 4096)
 {
  echo str_pad($Out, $Padding);
  @ob_flush();
  @flush();
 }</description>
		<content:encoded><![CDATA[<p>Beware of using flush by itself. Some times you have to make sure that you have enough data output before the browser response. Here&#8217;s something I&#8217;ve been using with my COMET stuff.</p>
<p>function RealFlush($Out = &#8220;&#8221;, $Padding = 4096)<br />
 {<br />
  echo str_pad($Out, $Padding);<br />
  @ob_flush();<br />
  @flush();<br />
 }</p>
]]></content:encoded>
	</item>
</channel>
</rss>
