<?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 Jeremy Cook</title>
	<atom:link href="http://jeremycook.ca/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://jeremycook.ca</link>
	<description>Random musings on web development and PHP</description>
	<lastBuildDate>Tue, 15 May 2012 09:13:37 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>Comment on Recursive Closures in PHP 5.3 by TimeBomb</title>
		<link>http://jeremycook.ca/2010/08/01/recursive-closures-in-php-5-3/comment-page-1/#comment-7135</link>
		<dc:creator>TimeBomb</dc:creator>
		<pubDate>Tue, 15 May 2012 09:13:37 +0000</pubDate>
		<guid isPermaLink="false">http://jeremycook.ca/?p=144#comment-7135</guid>
		<description>Great article.
Thank you very much for pointing out the new PHP 5.4 Closure bind/bindTo methods - I did not know that they existed, and, after a bit more research into the capability of these methods, they have helped me quite a bit.

I have a single object, called EventContainer, that implements the observer/listener designer pattern and, combined with a trait to pass the container around my application, makes working with the observer design pattern extremely easy.

EventContainer is a single object that holds all events, organized by event names. Each event name can hold an unlimited amount of closures. An object can notify the event container of an event, and then all the closures will shoot off.

What the bind method allows me to do is allow all closures sent to the event container to seamlessly use the $this keyword and act as though the event code is being run directly in the object that triggered the event - even though all closures are stored in and run by the event container.

Thanks again.</description>
		<content:encoded><![CDATA[<p>Great article.<br />
Thank you very much for pointing out the new PHP 5.4 Closure bind/bindTo methods &#8211; I did not know that they existed, and, after a bit more research into the capability of these methods, they have helped me quite a bit.</p>
<p>I have a single object, called EventContainer, that implements the observer/listener designer pattern and, combined with a trait to pass the container around my application, makes working with the observer design pattern extremely easy.</p>
<p>EventContainer is a single object that holds all events, organized by event names. Each event name can hold an unlimited amount of closures. An object can notify the event container of an event, and then all the closures will shoot off.</p>
<p>What the bind method allows me to do is allow all closures sent to the event container to seamlessly use the $this keyword and act as though the event code is being run directly in the object that triggered the event &#8211; even though all closures are stored in and run by the event container.</p>
<p>Thanks again.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Ideas of March by Blogs vs Twitter and Facebook &#124; cre8d design</title>
		<link>http://jeremycook.ca/2011/03/16/ideas-of-march/comment-page-1/#comment-6676</link>
		<dc:creator>Blogs vs Twitter and Facebook &#124; cre8d design</dc:creator>
		<pubDate>Sat, 14 Apr 2012 08:47:54 +0000</pubDate>
		<guid isPermaLink="false">http://jeremycook.ca/?p=201#comment-6676</guid>
		<description>[...] Blog posts are better indexed by search engines. When was the last time you Googled a question and got a Tweet or Facebook status update which answered it? (David Rhoden, Jeremy Cook) [...]</description>
		<content:encoded><![CDATA[<p>[...] Blog posts are better indexed by search engines. When was the last time you Googled a question and got a Tweet or Facebook status update which answered it? (David Rhoden, Jeremy Cook) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Installing Imagick under Apache on Windows by John</title>
		<link>http://jeremycook.ca/2010/06/06/installing-imagick-under-apache-on-windows/comment-page-1/#comment-6277</link>
		<dc:creator>John</dc:creator>
		<pubDate>Sun, 18 Mar 2012 21:12:14 +0000</pubDate>
		<guid isPermaLink="false">http://jeremycook.ca/?p=114#comment-6277</guid>
		<description>Thank you so much for the write-up... found a decent amount of information on getting ImageMagick to run under windows, but wasn&#039;t able to actually get it going until your article.

I got mine going with XAMPP and Windows 7.  There are older VC9 versions of XAMPP available on sourceforge, I used 1.7.7 which is available here: http://sourceforge.net/projects/xampp/files/XAMPP%20Windows/1.7.7/
Specifically I downloaded xampp-win32-1.7.7-VC9-installer.exe, which is thread-safe.

For ImageMagick I used ImageMagick-6.6.3-4-Q16-windows-dll.exe from http://image_magick.veidrodis.com/image_magick/binaries/

For the extension I used &#039;2011-04-25 18:49 - php_imagick_ts.dll&#039; from
http://valokuva.org/builds/

I also installed ghostscript and it&#039;s working fine as well.

Again, thanks for your write-up!</description>
		<content:encoded><![CDATA[<p>Thank you so much for the write-up&#8230; found a decent amount of information on getting ImageMagick to run under windows, but wasn&#8217;t able to actually get it going until your article.</p>
<p>I got mine going with XAMPP and Windows 7.  There are older VC9 versions of XAMPP available on sourceforge, I used 1.7.7 which is available here: <a href="http://sourceforge.net/projects/xampp/files/XAMPP%20Windows/1.7.7/" rel="nofollow">http://sourceforge.net/projects/xampp/files/XAMPP%20Windows/1.7.7/</a><br />
Specifically I downloaded xampp-win32-1.7.7-VC9-installer.exe, which is thread-safe.</p>
<p>For ImageMagick I used ImageMagick-6.6.3-4-Q16-windows-dll.exe from <a href="http://image_magick.veidrodis.com/image_magick/binaries/" rel="nofollow">http://image_magick.veidrodis.com/image_magick/binaries/</a></p>
<p>For the extension I used &#8217;2011-04-25 18:49 &#8211; php_imagick_ts.dll&#8217; from<br />
<a href="http://valokuva.org/builds/" rel="nofollow">http://valokuva.org/builds/</a></p>
<p>I also installed ghostscript and it&#8217;s working fine as well.</p>
<p>Again, thanks for your write-up!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Making PHPUnit, Doctrine &amp; MySQL Play Nicely by Jeremy Cook&#8217;s Blog: Making PHPUnit, Doctrine &#38; MySQL Play Nicely &#124; Scripting4You Blog</title>
		<link>http://jeremycook.ca/2012/02/27/making-phpunit-doctrine-mysql-play-nicely/comment-page-1/#comment-5890</link>
		<dc:creator>Jeremy Cook&#8217;s Blog: Making PHPUnit, Doctrine &#38; MySQL Play Nicely &#124; Scripting4You Blog</dc:creator>
		<pubDate>Fri, 02 Mar 2012 22:13:08 +0000</pubDate>
		<guid isPermaLink="false">http://jeremycook.ca/?p=251#comment-5890</guid>
		<description>[...] == &quot;undefined&quot;){ addthis_share = [];} Jeremy Cook has put together a new post showing how he got PUPUnit, Doctrine and MySQL to &quot;play nicely&quot; together when he was writing up some of his tests in a current application.   One of the pain points for me [...]</description>
		<content:encoded><![CDATA[<p>[...] == &quot;undefined&quot;){ addthis_share = [];} Jeremy Cook has put together a new post showing how he got PUPUnit, Doctrine and MySQL to &quot;play nicely&quot; together when he was writing up some of his tests in a current application.   One of the pain points for me [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using the Countable Interface by Countable interface &#171; Очевидное, вероятное</title>
		<link>http://jeremycook.ca/2012/01/01/using-the-countable-interface/comment-page-1/#comment-5385</link>
		<dc:creator>Countable interface &#171; Очевидное, вероятное</dc:creator>
		<pubDate>Wed, 08 Feb 2012 06:12:23 +0000</pubDate>
		<guid isPermaLink="false">http://jeremycook.ca/?p=230#comment-5385</guid>
		<description>[...] пересказ поста с примерами. Countable interface является частью SPL и описывает [...]</description>
		<content:encoded><![CDATA[<p>[...] пересказ поста с примерами. Countable interface является частью SPL и описывает [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Implementing the ArrayAccess Interface by Jeremy Cook&#8217;s Blog: Implementing the ArrayAccess Interface &#124; Scripting4You Blog</title>
		<link>http://jeremycook.ca/2012/01/22/implementing-the-arrayaccess-interface/comment-page-1/#comment-4785</link>
		<dc:creator>Jeremy Cook&#8217;s Blog: Implementing the ArrayAccess Interface &#124; Scripting4You Blog</dc:creator>
		<pubDate>Fri, 03 Feb 2012 22:22:00 +0000</pubDate>
		<guid isPermaLink="false">http://jeremycook.ca/?p=242#comment-4785</guid>
		<description>[...] Cook is back with the next part of his series looking at the handy features PHP&#039;s SPL provides. In this new post he looks at the ArrayAccess interface and how it can make your data more accessible to PHP&#039;s own [...]</description>
		<content:encoded><![CDATA[<p>[...] Cook is back with the next part of his series looking at the handy features PHP&#039;s SPL provides. In this new post he looks at the ArrayAccess interface and how it can make your data more accessible to PHP&#039;s own [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Implementing the ArrayAccess Interface by Jeremy Cook Blog: Umsetzung der ArrayAccess Schnittstelle &#124; PHP Boutique</title>
		<link>http://jeremycook.ca/2012/01/22/implementing-the-arrayaccess-interface/comment-page-1/#comment-4635</link>
		<dc:creator>Jeremy Cook Blog: Umsetzung der ArrayAccess Schnittstelle &#124; PHP Boutique</dc:creator>
		<pubDate>Thu, 02 Feb 2012 23:27:05 +0000</pubDate>
		<guid isPermaLink="false">http://jeremycook.ca/?p=242#comment-4635</guid>
		<description>[...] Teil seiner Serie Blick auf die praktischen Funktionen von PHP  SPL  zur Verfügung stellt. In  dieser neuen post  schaut er auf die ArrayAccess Schnittstelle und wie sie Ihre Daten machen besser zugänglich zu [...]</description>
		<content:encoded><![CDATA[<p>[...] Teil seiner Serie Blick auf die praktischen Funktionen von PHP  SPL  zur Verfügung stellt. In  dieser neuen post  schaut er auf die ArrayAccess Schnittstelle und wie sie Ihre Daten machen besser zugänglich zu [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Creating a Persistent Login Mechanism by Jeremy Cook</title>
		<link>http://jeremycook.ca/2010/03/28/creating-a-persistent-login-mechanism/comment-page-1/#comment-4599</link>
		<dc:creator>Jeremy Cook</dc:creator>
		<pubDate>Wed, 01 Feb 2012 21:47:26 +0000</pubDate>
		<guid isPermaLink="false">http://jeremycook.ca/?p=73#comment-4599</guid>
		<description>Good point and to be totally truthful I&#039;m not entirely sure why I suggested two fields. In my defense I wrote that quite a while ago.. The only reason for the two random fields is that it obfusticates things a little more. If an attacker was able to observe a number of cookies they might be able to work out that the ones called &#039;pl&#039; have a common purpose. However, that would only provide a negligible benefit. It looks like one db field would be quite enough.</description>
		<content:encoded><![CDATA[<p>Good point and to be totally truthful I&#8217;m not entirely sure why I suggested two fields. In my defense I wrote that quite a while ago.. The only reason for the two random fields is that it obfusticates things a little more. If an attacker was able to observe a number of cookies they might be able to work out that the ones called &#8216;pl&#8217; have a common purpose. However, that would only provide a negligible benefit. It looks like one db field would be quite enough.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Zend_Form and Validating Values for Multiple Column DB Keys by Jeremy Cook</title>
		<link>http://jeremycook.ca/2011/10/25/zend_form-and-validating-values-for-multiple-column-db-keys/comment-page-1/#comment-4598</link>
		<dc:creator>Jeremy Cook</dc:creator>
		<pubDate>Wed, 01 Feb 2012 21:38:47 +0000</pubDate>
		<guid isPermaLink="false">http://jeremycook.ca/?p=219#comment-4598</guid>
		<description>isValid($data) is a method of Zend_Form which I&#039;m subclassing on the form object I created for the form. Sorry, I didn&#039;t make that very clear in the text.</description>
		<content:encoded><![CDATA[<p>isValid($data) is a method of Zend_Form which I&#8217;m subclassing on the form object I created for the form. Sorry, I didn&#8217;t make that very clear in the text.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Zend_Form and Validating Values for Multiple Column DB Keys by Pablo Monroy</title>
		<link>http://jeremycook.ca/2011/10/25/zend_form-and-validating-values-for-multiple-column-db-keys/comment-page-1/#comment-4585</link>
		<dc:creator>Pablo Monroy</dc:creator>
		<pubDate>Tue, 31 Jan 2012 22:31:26 +0000</pubDate>
		<guid isPermaLink="false">http://jeremycook.ca/?p=219#comment-4585</guid>
		<description>The function public function isValid($data) is there on  Form, View or Controller.</description>
		<content:encoded><![CDATA[<p>The function public function isValid($data) is there on  Form, View or Controller.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

