<?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>Wed, 01 Feb 2012 14:42:48 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Introducing Mismi &#8211; Amazon Price Comparison for Norwegian Customers</title>
		<link>http://e-mats.org/2011/01/introducing-mismi-amazon-price-comparison-for-norwegian-customers/</link>
		<comments>http://e-mats.org/2011/01/introducing-mismi-amazon-price-comparison-for-norwegian-customers/#comments</comments>
		<pubDate>Mon, 10 Jan 2011 21:40:19 +0000</pubDate>
		<dc:creator>Mats</dc:creator>
				<category><![CDATA[Hacks]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Zend Framework]]></category>
		<category><![CDATA[amazon]]></category>
		<category><![CDATA[amazon.co.uk]]></category>
		<category><![CDATA[amazon.com]]></category>
		<category><![CDATA[billigste alternativ]]></category>
		<category><![CDATA[ehandel]]></category>
		<category><![CDATA[mismi]]></category>
		<category><![CDATA[zf]]></category>

		<guid isPermaLink="false">http://e-mats.org/?p=831</guid>
		<description><![CDATA[My main project in December was Mismi &#8211; a service that compares the total price of items from Amazon.com and from Amazon.co.uk for Norwegians. The solution is built on top of the Zend_Service_Amazon class (with a few extensions of my own). The reasoning behind making the service is that there are several factors that are [...]]]></description>
			<content:encoded><![CDATA[<p>My main project in December was <a href="http://mismi.e-mats.org" title="Finn ut hva som er billigst - Amazon.com eller Amazon.co.uk">Mismi</a> &#8211; a service that compares the total price of items from Amazon.com and from Amazon.co.uk for Norwegians. The solution is built on top of the Zend_Service_Amazon class (with a few extensions of my own).</p>
<p>The reasoning behind making the service is that there are several factors that are in play when deciding whether to order a product from the US or from the UK: the exchange rate for GBP and USD, the shipping cost, the delivery situation for the item and whether the item is sold in the store at all. </p>
<p>The user enters a list of the URLs to the products they&#8217;re considering purchasing from an Amazon-store, press submit and get a list back of which items are in stock, where the item is the cheapest and what the total sum of an order placed at the store would be. In addition I added a alpha stage feature just before Christmas which will also tell you the &#8220;optimum&#8221; set of items for the orders &#8211; &#8220;order item 1,4,7,9 from .com, item 2,3,5,6,8 from .co.uk&#8221;. This took quite a bit of hacking &#8211; you also have to consider the initial price of shipping, shipping for each item and other fun things.</p>
<p>Feel free to play with it over at <a href="http://mismi.e-mats.org/" title="Billig og bra på Amazon.com og Amazon.co.uk">mismi.e-mats.org</a>. It&#8217;s in Norwegian, but it should be easy to understand anyhow with the description above.</p>
]]></content:encoded>
			<wfw:commentRss>http://e-mats.org/2011/01/introducing-mismi-amazon-price-comparison-for-norwegian-customers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<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>

