<?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/"
	xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments for symfony scales and arpeggios</title>
	<atom:link href="http://arpeggios.wordpress.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://arpeggios.wordpress.com</link>
	<description>A symfony development blog by Nicolas Martin</description>
	<lastBuildDate>Mon, 21 Sep 2009 11:47:20 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on [REFACTORED] Enabling pagination with raw SQL queries by Óscar del Río</title>
		<link>http://arpeggios.wordpress.com/2009/08/27/refactored-enabling-pagination-with-raw-sql-queries/#comment-179</link>
		<dc:creator>Óscar del Río</dc:creator>
		<pubDate>Mon, 21 Sep 2009 11:47:20 +0000</pubDate>
		<guid isPermaLink="false">http://arpeggios.wordpress.com/?p=639#comment-179</guid>
		<description>Nice!
Could you post the doctrine version?

Thanks</description>
		<content:encoded><![CDATA[<p>Nice!<br />
Could you post the doctrine version?</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Logging on tasks by Naresh</title>
		<link>http://arpeggios.wordpress.com/2008/08/15/logging-on-tasks/#comment-177</link>
		<dc:creator>Naresh</dc:creator>
		<pubDate>Thu, 17 Sep 2009 21:26:53 +0000</pubDate>
		<guid isPermaLink="false">http://arpeggios.wordpress.com/?p=53#comment-177</guid>
		<description>Thanks...

This post helped me a lot ....</description>
		<content:encoded><![CDATA[<p>Thanks&#8230;</p>
<p>This post helped me a lot &#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on HTTP authentication with sfGuard by Writing functional tests for HTTP auth secured actions &#171; ESL Developer Blog</title>
		<link>http://arpeggios.wordpress.com/2008/09/28/http-authentification-with-sfguard/#comment-175</link>
		<dc:creator>Writing functional tests for HTTP auth secured actions &#171; ESL Developer Blog</dc:creator>
		<pubDate>Wed, 02 Sep 2009 10:51:40 +0000</pubDate>
		<guid isPermaLink="false">http://arpeggios.wordpress.com/?p=341#comment-175</guid>
		<description>[...] for finding the correct lines. The HTTP auth mechanism works like it is explained in the blog post HTTP authentication with sfGuard, although the sfGuard plugin is not used in our application. This secure action takes the [...]</description>
		<content:encoded><![CDATA[<p>[...] for finding the correct lines. The HTTP auth mechanism works like it is explained in the blog post HTTP authentication with sfGuard, although the sfGuard plugin is not used in our application. This secure action takes the [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Enabling pagination with raw SQL queries by niko</title>
		<link>http://arpeggios.wordpress.com/2009/02/02/enabling-pagination-with-raw-sql-queries/#comment-173</link>
		<dc:creator>niko</dc:creator>
		<pubDate>Tue, 25 Aug 2009 08:22:03 +0000</pubDate>
		<guid isPermaLink="false">http://arpeggios.wordpress.com/?p=584#comment-173</guid>
		<description>just stopping to show respect :) thanks!</description>
		<content:encoded><![CDATA[<p>just stopping to show respect <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Enabling pagination with raw SQL queries by michael lueftenegger</title>
		<link>http://arpeggios.wordpress.com/2009/02/02/enabling-pagination-with-raw-sql-queries/#comment-167</link>
		<dc:creator>michael lueftenegger</dc:creator>
		<pubDate>Tue, 21 Jul 2009 14:30:38 +0000</pubDate>
		<guid isPermaLink="false">http://arpeggios.wordpress.com/?p=584#comment-167</guid>
		<description>Hi!

I don&#039;t find a solution. My work around is a union all to get a dummy line as the firt entry, which is not shown.

This is really bad practice!

I think we need help from somebody knowing pdo better than me.

michael</description>
		<content:encoded><![CDATA[<p>Hi!</p>
<p>I don&#8217;t find a solution. My work around is a union all to get a dummy line as the firt entry, which is not shown.</p>
<p>This is really bad practice!</p>
<p>I think we need help from somebody knowing pdo better than me.</p>
<p>michael</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Enabling pagination with raw SQL queries by michael lueftenegger</title>
		<link>http://arpeggios.wordpress.com/2009/02/02/enabling-pagination-with-raw-sql-queries/#comment-166</link>
		<dc:creator>michael lueftenegger</dc:creator>
		<pubDate>Mon, 20 Jul 2009 10:57:24 +0000</pubDate>
		<guid isPermaLink="false">http://arpeggios.wordpress.com/?p=584#comment-166</guid>
		<description>Hi!

I think there is still a bug in the code. if I execute the SQL directly in the db, I get 13 rows. echoing &quot;$this-&gt;statement-&gt;rowCount();&quot; at the beginning of &quot;getResults()&quot; returns 13. But adding this code

while ($resultset = $this-&gt;statement-&gt;fetch(PDO::FETCH_OBJ)){
    echo &quot;[&quot;.$resultset-&gt;title.&quot;]&quot;;	
    ....

just returns 12 titles. My idea is the statement doesn&#039;t stand on the first entry when entering the loop, but I am not sure at the moment.

Michael</description>
		<content:encoded><![CDATA[<p>Hi!</p>
<p>I think there is still a bug in the code. if I execute the SQL directly in the db, I get 13 rows. echoing &#8220;$this-&gt;statement-&gt;rowCount();&#8221; at the beginning of &#8220;getResults()&#8221; returns 13. But adding this code</p>
<p>while ($resultset = $this-&gt;statement-&gt;fetch(PDO::FETCH_OBJ)){<br />
    echo &#8220;[".$resultset-&gt;title."]&#8220;;<br />
    &#8230;.</p>
<p>just returns 12 titles. My idea is the statement doesn&#8217;t stand on the first entry when entering the loop, but I am not sure at the moment.</p>
<p>Michael</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Enabling pagination with raw SQL queries by nicolas.martin</title>
		<link>http://arpeggios.wordpress.com/2009/02/02/enabling-pagination-with-raw-sql-queries/#comment-153</link>
		<dc:creator>nicolas.martin</dc:creator>
		<pubDate>Sun, 28 Jun 2009 12:38:34 +0000</pubDate>
		<guid isPermaLink="false">http://arpeggios.wordpress.com/?p=584#comment-153</guid>
		<description>Thanks for this ! 

Post is now updated with your fix.</description>
		<content:encoded><![CDATA[<p>Thanks for this ! </p>
<p>Post is now updated with your fix.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Enabling pagination with raw SQL queries by Kyril</title>
		<link>http://arpeggios.wordpress.com/2009/02/02/enabling-pagination-with-raw-sql-queries/#comment-152</link>
		<dc:creator>Kyril</dc:creator>
		<pubDate>Fri, 26 Jun 2009 18:52:54 +0000</pubDate>
		<guid isPermaLink="false">http://arpeggios.wordpress.com/?p=584#comment-152</guid>
		<description>I noticed a subtle bug when using this pager (thanks again, btw)

When retrieving results for the first page it will always skip the first record, since $row_num is set to 0, and will always fail the first conditional test

    // getResults
    $row_num = 0;
    while ($resultset = $this-&gt;statement-&gt;fetch(PDO::FETCH_OBJ))
    {
      if ($row_num &gt; $this-&gt;getMaxPerPage()*($this-&gt;getPage()-1)
      and $row_num getPage()*$this-&gt;getMaxPerPage() ))
      {
        $this-&gt;resultsetArray[] = $resultset;
      }


I worked around this by setting $row_num to 1 instead</description>
		<content:encoded><![CDATA[<p>I noticed a subtle bug when using this pager (thanks again, btw)</p>
<p>When retrieving results for the first page it will always skip the first record, since $row_num is set to 0, and will always fail the first conditional test</p>
<p>    // getResults<br />
    $row_num = 0;<br />
    while ($resultset = $this-&gt;statement-&gt;fetch(PDO::FETCH_OBJ))<br />
    {<br />
      if ($row_num &gt; $this-&gt;getMaxPerPage()*($this-&gt;getPage()-1)<br />
      and $row_num getPage()*$this-&gt;getMaxPerPage() ))<br />
      {<br />
        $this-&gt;resultsetArray[] = $resultset;<br />
      }</p>
<p>I worked around this by setting $row_num to 1 instead</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on HTTP authentication with sfGuard by nicolas.martin</title>
		<link>http://arpeggios.wordpress.com/2008/09/28/http-authentification-with-sfguard/#comment-151</link>
		<dc:creator>nicolas.martin</dc:creator>
		<pubDate>Tue, 23 Jun 2009 12:37:20 +0000</pubDate>
		<guid isPermaLink="false">http://arpeggios.wordpress.com/?p=341#comment-151</guid>
		<description>Feel free to push this implementation one step further and publish it !
I would be definitely interested in reading a universal way to achieve an HTTP authentication !</description>
		<content:encoded><![CDATA[<p>Feel free to push this implementation one step further and publish it !<br />
I would be definitely interested in reading a universal way to achieve an HTTP authentication !</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on HTTP authentication with sfGuard by Frank</title>
		<link>http://arpeggios.wordpress.com/2008/09/28/http-authentification-with-sfguard/#comment-150</link>
		<dc:creator>Frank</dc:creator>
		<pubDate>Tue, 23 Jun 2009 12:22:45 +0000</pubDate>
		<guid isPermaLink="false">http://arpeggios.wordpress.com/?p=341#comment-150</guid>
		<description>Hi Nicolas, thanks for this nice article. I do not use the sfGuardPlugin but i need the HTTP Auth mechanism and had some problems in the implementation.
I did this stuff in the preExecute action of an custom parent actions class at first. This worked quite well the first steps, but you loose the benefits of sfUser and the whole credentials system in this way.

Your mentioned approach does only work, if the session storage parameter &quot;auto_start&quot; is enabled. The last redirect call will end up in an endless loop, because symfony will loose the session. I want to write a stateless and sessionless API and wonder if this may work in any case. Otherwise the clients may wonder, why the are recieving a cookie...

A solution would be to switch from an redirect to an forward call, but therefore you have to analyze the uri and ask the routing about the needed module and action. Quite hacky i think.</description>
		<content:encoded><![CDATA[<p>Hi Nicolas, thanks for this nice article. I do not use the sfGuardPlugin but i need the HTTP Auth mechanism and had some problems in the implementation.<br />
I did this stuff in the preExecute action of an custom parent actions class at first. This worked quite well the first steps, but you loose the benefits of sfUser and the whole credentials system in this way.</p>
<p>Your mentioned approach does only work, if the session storage parameter &#8220;auto_start&#8221; is enabled. The last redirect call will end up in an endless loop, because symfony will loose the session. I want to write a stateless and sessionless API and wonder if this may work in any case. Otherwise the clients may wonder, why the are recieving a cookie&#8230;</p>
<p>A solution would be to switch from an redirect to an forward call, but therefore you have to analyze the uri and ask the routing about the needed module and action. Quite hacky i think.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
