<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Mats Lindh &#187; Zend Framework</title>
	<atom:link href="http://e-mats.org/category/zend-framework/feed/" rel="self" type="application/rss+xml" />
	<link>http://e-mats.org</link>
	<description>Where desperate is just another word for a regular day.</description>
	<lastBuildDate>Fri, 23 Jul 2010 14:23:57 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Patching Zend_OpenId To Maintain Error Messages</title>
		<link>http://e-mats.org/2008/11/patching-zend_openid-to-maintain-error-messages/</link>
		<comments>http://e-mats.org/2008/11/patching-zend_openid-to-maintain-error-messages/#comments</comments>
		<pubDate>Wed, 26 Nov 2008 20:17:17 +0000</pubDate>
		<dc:creator>Mats</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Zend Framework]]></category>
		<category><![CDATA[openid]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://e-mats.org/?p=356</guid>
		<description><![CDATA[To help anyone else in their quest to implement Zend_OpenId in their code, I&#8217;ve created a small patch against trunk which adds error internal error messages in most places where there&#8217;s a return false;. This should help when debugging your code, both if you&#8217;re implementing an authentication service and use Zend_OpenId as a consumer or [...]]]></description>
			<content:encoded><![CDATA[<p>To help anyone else in their quest to implement Zend_OpenId in their code, I&#8217;ve created a small patch against trunk which adds error internal error messages in most places where there&#8217;s a <code>return false;</code>. This should help when debugging your code, both if you&#8217;re implementing an authentication service and use Zend_OpenId as a consumer or if you&#8217;re implementing just the consumer part of the equation.</p>
<p>I&#8217;ve uploaded the diff: <a href='http://e-mats.org/uploads/Consumer.php.patch'>Consumer.php.patch</a> (<a href='http://e-mats.org/uploads/Consumer.php.patch.txt'>Consumer.php.patch.txt</a>).</p>
<p>The only thing that seemed a bit weird was that one of the error messages that were present in 1.6.0 had been removed in trunk:</p>
<div class="geshi no php">
<ol>
<li class="li1">
<div class="de1"><span class="kw1">if</span> <span class="br0">&#40;</span><span class="re1">$status</span> <span class="sy0">!=</span> <span class="nu0">200</span><span class="br0">&#41;</span> <span class="br0">&#123;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; this<span class="sy0">-&gt;</span>_setError<span class="br0">&#40;</span><span class="st0">&quot;&#39;Dumb&#39; signature verification HTTP request failed&quot;</span><span class="br0">&#41;</span><span class="sy0">;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; <span class="kw1">return</span> <span class="kw2">false</span><span class="sy0">;</span></div>
</li>
<li class="li1">
<div class="de1"><span class="br0">&#125;</span></div>
</li>
</ol>
</div>
<p>I&#8217;ve readded this message in my patch, but I feel that the error message should be something like:</p>
<div class="geshi no php">
<ol>
<li class="li1">
<div class="de1"><span class="re1">$this</span><span class="sy0">-&gt;</span>_setError<span class="br0">&#40;</span><span class="st0">&quot;The server responded with HTTP status code: &quot;</span> <span class="sy0">.</span> <span class="re1">$status</span><span class="br0">&#41;</span><span class="sy0">;</span></div>
</li>
</ol>
</div>
<p>instead.</p>
<p>Oh well. Hopefully someone will find this useful.</p>
]]></content:encoded>
			<wfw:commentRss>http://e-mats.org/2008/11/patching-zend_openid-to-maintain-error-messages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Christer Goes Bug Hunting</title>
		<link>http://e-mats.org/2008/05/christer-goes-bug-hunting/</link>
		<comments>http://e-mats.org/2008/05/christer-goes-bug-hunting/#comments</comments>
		<pubDate>Fri, 09 May 2008 08:28:48 +0000</pubDate>
		<dc:creator>Mats</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Zend Framework]]></category>
		<category><![CDATA[christer]]></category>
		<category><![CDATA[debugging]]></category>
		<category><![CDATA[zend mvc]]></category>

		<guid isPermaLink="false">http://e-mats.org/?p=61</guid>
		<description><![CDATA[Christer had the pleasure of hunting down a bug in Zend Framework a couple of days ago, and he has just posted a nice article about the bug in Zend MVC Components and how he debugged it. If you&#8217;ve never used a debugger before, this article is probably also going to be a bit helpful, [...]]]></description>
			<content:encoded><![CDATA[<p><a href='http://cogo.wordpress.com/'>Christer</a> had the pleasure of hunting down a bug in Zend Framework a couple of days ago, and he has just posted a nice article about <a href='http://cogo.wordpress.com/2008/05/09/debugging-zend-framework-in-zend-studio/'>the bug in Zend MVC Components and how he debugged it</a>. If you&#8217;ve never used a debugger before, this article is probably also going to be a bit helpful, and it gives a little insight into how the Zend Framework MVC-components work.</p>
]]></content:encoded>
			<wfw:commentRss>http://e-mats.org/2008/05/christer-goes-bug-hunting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using Objects with Zend_View&#8217;s PartialLoop Helper</title>
		<link>http://e-mats.org/2008/04/using-objects-with-zend_views-partialloop-helper/</link>
		<comments>http://e-mats.org/2008/04/using-objects-with-zend_views-partialloop-helper/#comments</comments>
		<pubDate>Fri, 25 Apr 2008 15:28:13 +0000</pubDate>
		<dc:creator>Mats</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Zend Framework]]></category>

		<guid isPermaLink="false">http://push.lindh.no/~mats/wordpress/wordpress/?p=23</guid>
		<description><![CDATA[Christer has obviously been having a good day today too, as he&#8217;s actually made yet ANOTHER blog post about something related to Zend Framework: Using Objects with Zend_View&#8217;s PartialLoop Helper. This time he&#8217;s examining why some methods suddenly has disappeared in his PartialLoop. I&#8217;m a bit surprised his father hasn&#8217;t helped him with his view [...]]]></description>
			<content:encoded><![CDATA[<p>Christer has obviously been having a good day today too, as he&#8217;s actually made yet ANOTHER blog post about something related to Zend Framework: <a href='http://cogo.wordpress.com/2008/04/25/using-objects-with-zend_views-partialloop-helper/'>Using Objects with Zend_View&#8217;s PartialLoop Helper</a>. This time he&#8217;s examining why some methods suddenly has disappeared in his PartialLoop. I&#8217;m a bit surprised his father hasn&#8217;t helped him with his view scripts, tho. It&#8217;s probably just something he&#8217;s saying to don&#8217;t appear too incompetent.</p>
]]></content:encoded>
			<wfw:commentRss>http://e-mats.org/2008/04/using-objects-with-zend_views-partialloop-helper/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
