<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" version="2.0">

<channel>
	<title>DaveDevelopment</title>
	
	<link>http://www.davedevelopment.co.uk</link>
	<description>Dave Marshall</description>
	<lastBuildDate>Tue, 01 Jun 2010 13:18:41 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/Davedevelopment" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="davedevelopment" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0">Davedevelopment</feedburner:emailServiceId><feedburner:feedburnerHostname xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0">http://feedburner.google.com</feedburner:feedburnerHostname><item>
		<title>ZFSnippets.com now managed by bescript.de</title>
		<link>http://www.davedevelopment.co.uk/2010/06/01/zfsnippets-com-now-managed-by-bescript-de/</link>
		<comments>http://www.davedevelopment.co.uk/2010/06/01/zfsnippets-com-now-managed-by-bescript-de/#comments</comments>
		<pubDate>Tue, 01 Jun 2010 13:18:41 +0000</pubDate>
		<dc:creator>davedevelopment</dc:creator>
				<category><![CDATA[Open Source]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[zfsnippets]]></category>
		<category><![CDATA[zfsnippets.com]]></category>

		<guid isPermaLink="false">http://www.davedevelopment.co.uk/?p=480</guid>
		<description><![CDATA[Not so long ago, I posted requesting that people who fancied maintaining ZFSnippets.com should get in touch and see if I could hand it over. Thanks to everyone who volunteered (sorry I didn&#8217;t get back to you all individually!) and eventually I decided to hand it over to German PHP outfit, bescript.de. Ben was very [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.davedevelopment.co.uk/2010/04/26/wanted-new-home-for-zfsnippets-com/">Not so long ago</a>, I posted requesting that people who fancied maintaining <a href="http://zfsnippets-com">ZFSnippets.com</a> should get in touch and see if I could hand it over. Thanks to everyone who volunteered (sorry I didn&#8217;t get back to you all individually!) and eventually I decided to hand it over to German PHP outfit, <a "href=http://www.bescript.de/">bescript.de</a>. <a href="http://twitter.com/psaxde">Ben</a> was very clear and excited in his email and after discussing it with him I knew the handover would be nice and easy and bescript.de would take good care of the site. They have already <a href="http://blog.zfsnippets.com/new-features-and-changes/">added new features</a> and ticked some items off the uservoice list!</p>
<p>Again, thanks to everyone who got in touch and best of luck to Ben and his team with the site.</p>




	<a rel="nofollow" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.davedevelopment.co.uk%2F2010%2F06%2F01%2Fzfsnippets-com-now-managed-by-bescript-de%2F&amp;title=ZFSnippets.com%20now%20managed%20by%20bescript.de&amp;bodytext=Not%20so%20long%20ago%2C%20I%20posted%20requesting%20that%20people%20who%20fancied%20maintaining%20ZFSnippets.com%20should%20get%20in%20touch%20and%20see%20if%20I%20could%20hand%20it%20over.%20Thanks%20to%20everyone%20who%20volunteered%20%28sorry%20I%20didn%27t%20get%20back%20to%20you%20all%20individually%21%29%20and%20eventually%20I%20decide" title="Digg"><img src="http://www.davedevelopment.co.uk/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow" href="http://delicious.com/post?url=http%3A%2F%2Fwww.davedevelopment.co.uk%2F2010%2F06%2F01%2Fzfsnippets-com-now-managed-by-bescript-de%2F&amp;title=ZFSnippets.com%20now%20managed%20by%20bescript.de&amp;notes=Not%20so%20long%20ago%2C%20I%20posted%20requesting%20that%20people%20who%20fancied%20maintaining%20ZFSnippets.com%20should%20get%20in%20touch%20and%20see%20if%20I%20could%20hand%20it%20over.%20Thanks%20to%20everyone%20who%20volunteered%20%28sorry%20I%20didn%27t%20get%20back%20to%20you%20all%20individually%21%29%20and%20eventually%20I%20decide" title="del.icio.us"><img src="http://www.davedevelopment.co.uk/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow" href="http://www.newsvine.com/_tools/seed&amp;save?u=http%3A%2F%2Fwww.davedevelopment.co.uk%2F2010%2F06%2F01%2Fzfsnippets-com-now-managed-by-bescript-de%2F&amp;h=ZFSnippets.com%20now%20managed%20by%20bescript.de" title="NewsVine"><img src="http://www.davedevelopment.co.uk/wp-content/plugins/sociable/images/newsvine.png" title="NewsVine" alt="NewsVine" class="sociable-hovers" /></a>
	<a rel="nofollow" href="http://reddit.com/submit?url=http%3A%2F%2Fwww.davedevelopment.co.uk%2F2010%2F06%2F01%2Fzfsnippets-com-now-managed-by-bescript-de%2F&amp;title=ZFSnippets.com%20now%20managed%20by%20bescript.de" title="Reddit"><img src="http://www.davedevelopment.co.uk/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a>
	<a rel="nofollow" href="" title="Furl"><img src="http://www.davedevelopment.co.uk/wp-content/plugins/sociable/images/" title="Furl" alt="Furl" class="sociable-hovers" /></a>
	<a rel="nofollow" href="http://www.dzone.com/links/add.html?url=http%3A%2F%2Fwww.davedevelopment.co.uk%2F2010%2F06%2F01%2Fzfsnippets-com-now-managed-by-bescript-de%2F&amp;title=ZFSnippets.com%20now%20managed%20by%20bescript.de" title="DZone"><img src="http://www.davedevelopment.co.uk/wp-content/plugins/sociable/images/dzone.png" title="DZone" alt="DZone" class="sociable-hovers" /></a>
	<a rel="nofollow" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.davedevelopment.co.uk%2F2010%2F06%2F01%2Fzfsnippets-com-now-managed-by-bescript-de%2F&amp;title=ZFSnippets.com%20now%20managed%20by%20bescript.de" title="StumbleUpon"><img src="http://www.davedevelopment.co.uk/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow" href="http://technorati.com/faves?add=http%3A%2F%2Fwww.davedevelopment.co.uk%2F2010%2F06%2F01%2Fzfsnippets-com-now-managed-by-bescript-de%2F" title="Technorati"><img src="http://www.davedevelopment.co.uk/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>


<br/><br/><img src="http://feeds.feedburner.com/~r/Davedevelopment/~4/NLyBMBcO0v0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.davedevelopment.co.uk/2010/06/01/zfsnippets-com-now-managed-by-bescript-de/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Set MySQL connection variables with mysql-proxy</title>
		<link>http://www.davedevelopment.co.uk/2010/06/01/set-mysql-connection-variables-with-mysql-proxy/</link>
		<comments>http://www.davedevelopment.co.uk/2010/06/01/set-mysql-connection-variables-with-mysql-proxy/#comments</comments>
		<pubDate>Tue, 01 Jun 2010 11:01:02 +0000</pubDate>
		<dc:creator>davedevelopment</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[lua]]></category>
		<category><![CDATA[mysql-proxy]]></category>

		<guid isPermaLink="false">http://www.davedevelopment.co.uk/?p=477</guid>
		<description><![CDATA[We recently moved the application I work on everyday to Amazon Web Services and bravely adopted their Relational Database Service (RDS) and have had little trouble thus far, but the other day I noticed since we kicked into BST, timestamps in the database where an hour behind. Low and behold, the default time zone cannot [...]]]></description>
			<content:encoded><![CDATA[<p>We recently moved the application I work on everyday to <a href="http://aws.amazon.com/">Amazon Web Services</a> and bravely adopted their <a href="http://aws.amazon.com/rds/">Relational Database Service (RDS)</a> and have had little trouble thus far, but the other day I noticed since we kicked into BST, timestamps in the database where an hour behind. Low and behold, the default time zone <a href="http://aws-musings.com/amazon-relational-database-service-rds-the-timezone-problem/">cannot be changed</a>. Luckily, we&#8217;ve been using <a href="https://launchpad.net/mysql-proxy">mysql-proxy</a> since we migrated and rather than changed our application, I managed to knock up a <a href="http://www.lua.org/">lua</a> script that sets the timezone variable on every query. It would be nice if it could do it when it creates a connection, but I&#8217;ve not worked out how to do that yet!</p>
<pre name="code" class="lua">
---
-- read_query() can rewrite packets
--
function read_query( packet )
        if string.byte(packet) == proxy.COM_QUERY then
                proxy.queries:append(1, string.char(proxy.COM_QUERY) .. "SET time_zone = 'Europe/London'", {resultset_is_needed = true})
                proxy.queries:append(2, packet)
                return proxy.PROXY_SEND_QUERY
        end
end

---
-- read_query_result() is called when we receive a query result
-- from the server
--
function read_query_result(inj)
        if (inj.type == 1) then
            return proxy.PROXY_IGNORE_RESULT
        end
end
</pre>
<p>If anyone could point me in the general direction for setting the variable at connection time, it&#8217;d be appreciated. I assume I can create a create_connection function, but I don&#8217;t know where to go from there.</p>




	<a rel="nofollow" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.davedevelopment.co.uk%2F2010%2F06%2F01%2Fset-mysql-connection-variables-with-mysql-proxy%2F&amp;title=Set%20MySQL%20connection%20variables%20with%20mysql-proxy&amp;bodytext=We%20recently%20moved%20the%20application%20I%20work%20on%20everyday%20to%20Amazon%20Web%20Services%20and%20bravely%20adopted%20their%20Relational%20Database%20Service%20%28RDS%29%20and%20have%20had%20little%20trouble%20thus%20far%2C%20but%20the%20other%20day%20I%20noticed%20since%20we%20kicked%20into%20BST%2C%20timestamps%20in%20the%20data" title="Digg"><img src="http://www.davedevelopment.co.uk/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow" href="http://delicious.com/post?url=http%3A%2F%2Fwww.davedevelopment.co.uk%2F2010%2F06%2F01%2Fset-mysql-connection-variables-with-mysql-proxy%2F&amp;title=Set%20MySQL%20connection%20variables%20with%20mysql-proxy&amp;notes=We%20recently%20moved%20the%20application%20I%20work%20on%20everyday%20to%20Amazon%20Web%20Services%20and%20bravely%20adopted%20their%20Relational%20Database%20Service%20%28RDS%29%20and%20have%20had%20little%20trouble%20thus%20far%2C%20but%20the%20other%20day%20I%20noticed%20since%20we%20kicked%20into%20BST%2C%20timestamps%20in%20the%20data" title="del.icio.us"><img src="http://www.davedevelopment.co.uk/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow" href="http://www.newsvine.com/_tools/seed&amp;save?u=http%3A%2F%2Fwww.davedevelopment.co.uk%2F2010%2F06%2F01%2Fset-mysql-connection-variables-with-mysql-proxy%2F&amp;h=Set%20MySQL%20connection%20variables%20with%20mysql-proxy" title="NewsVine"><img src="http://www.davedevelopment.co.uk/wp-content/plugins/sociable/images/newsvine.png" title="NewsVine" alt="NewsVine" class="sociable-hovers" /></a>
	<a rel="nofollow" href="http://reddit.com/submit?url=http%3A%2F%2Fwww.davedevelopment.co.uk%2F2010%2F06%2F01%2Fset-mysql-connection-variables-with-mysql-proxy%2F&amp;title=Set%20MySQL%20connection%20variables%20with%20mysql-proxy" title="Reddit"><img src="http://www.davedevelopment.co.uk/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a>
	<a rel="nofollow" href="" title="Furl"><img src="http://www.davedevelopment.co.uk/wp-content/plugins/sociable/images/" title="Furl" alt="Furl" class="sociable-hovers" /></a>
	<a rel="nofollow" href="http://www.dzone.com/links/add.html?url=http%3A%2F%2Fwww.davedevelopment.co.uk%2F2010%2F06%2F01%2Fset-mysql-connection-variables-with-mysql-proxy%2F&amp;title=Set%20MySQL%20connection%20variables%20with%20mysql-proxy" title="DZone"><img src="http://www.davedevelopment.co.uk/wp-content/plugins/sociable/images/dzone.png" title="DZone" alt="DZone" class="sociable-hovers" /></a>
	<a rel="nofollow" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.davedevelopment.co.uk%2F2010%2F06%2F01%2Fset-mysql-connection-variables-with-mysql-proxy%2F&amp;title=Set%20MySQL%20connection%20variables%20with%20mysql-proxy" title="StumbleUpon"><img src="http://www.davedevelopment.co.uk/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow" href="http://technorati.com/faves?add=http%3A%2F%2Fwww.davedevelopment.co.uk%2F2010%2F06%2F01%2Fset-mysql-connection-variables-with-mysql-proxy%2F" title="Technorati"><img src="http://www.davedevelopment.co.uk/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>


<br/><br/><img src="http://feeds.feedburner.com/~r/Davedevelopment/~4/V5CAj8ThCRg" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.davedevelopment.co.uk/2010/06/01/set-mysql-connection-variables-with-mysql-proxy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Wanted: New home for zfsnippets.com</title>
		<link>http://www.davedevelopment.co.uk/2010/04/26/wanted-new-home-for-zfsnippets-com/</link>
		<comments>http://www.davedevelopment.co.uk/2010/04/26/wanted-new-home-for-zfsnippets-com/#comments</comments>
		<pubDate>Mon, 26 Apr 2010 10:58:22 +0000</pubDate>
		<dc:creator>davedevelopment</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[zend framework]]></category>

		<guid isPermaLink="false">http://www.davedevelopment.co.uk/?p=471</guid>
		<description><![CDATA[Update 27/04/2010: I have received a number of enquiries via email and I&#8217;ll be going through them to try and find the best candidate, I&#8217;ll also make an effort to reply to all emails I&#8217;ve received. Thanks to all for your interest.
It&#8217;s been just over a year since I initially launched zfsnippets.com, it was a [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Update 27/04/2010:</strong> I have received a number of enquiries via email and I&#8217;ll be going through them to try and find the best candidate, I&#8217;ll also make an effort to reply to all emails I&#8217;ve received. Thanks to all for your interest.</p>
<p>It&#8217;s been just over a year since I <a href="http://www.davedevelopment.co.uk/2009/03/04/zfsnippetscom-zend-framework-code-snippets/">initially launched</a> <a href="http://zfsnippets.com">zfsnippets.com</a>, it was a good little project for me to get used to the Zend Framework, but since then I&#8217;ve totally neglected it. I&#8217;d normally leave a website going despite my lack of enthusiasm, but I no longer need the VPS it is hosted on so I&#8217;m looking for someone else to take the project on and move to their hosting solution.</p>
<p>My interests have moved quite rapidly in the last year and the project is sadly no longer of interest to me. ZFSnippets receives approximately 2,500 visits a month, so I think it&#8217;s worth keeping the project alive. </p>
<p><a href="http://www.davedevelopment.co.uk/wp-content/uploads/2010/04/screenshot2.png"><img src="http://www.davedevelopment.co.uk/wp-content/uploads/2010/04/screenshot2-300x154.png" alt="screenshot2" title="screenshot2" width="300" height="154" class="alignleft size-medium wp-image-472" /></a></p>
<p>If you&#8217;re interested in hosting the site and hopefully building on it and improving it, please email me, dave.marshall _at_ atstsolutions.co.uk.</p>




	<a rel="nofollow" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.davedevelopment.co.uk%2F2010%2F04%2F26%2Fwanted-new-home-for-zfsnippets-com%2F&amp;title=Wanted%3A%20New%20home%20for%20zfsnippets.com&amp;bodytext=Update%2027%2F04%2F2010%3A%20I%20have%20received%20a%20number%20of%20enquiries%20via%20email%20and%20I%27ll%20be%20going%20through%20them%20to%20try%20and%20find%20the%20best%20candidate%2C%20I%27ll%20also%20make%20an%20effort%20to%20reply%20to%20all%20emails%20I%27ve%20received.%20Thanks%20to%20all%20for%20your%20interest.%0D%0A%0D%0AIt%27s%20been%20just%20ov" title="Digg"><img src="http://www.davedevelopment.co.uk/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow" href="http://delicious.com/post?url=http%3A%2F%2Fwww.davedevelopment.co.uk%2F2010%2F04%2F26%2Fwanted-new-home-for-zfsnippets-com%2F&amp;title=Wanted%3A%20New%20home%20for%20zfsnippets.com&amp;notes=Update%2027%2F04%2F2010%3A%20I%20have%20received%20a%20number%20of%20enquiries%20via%20email%20and%20I%27ll%20be%20going%20through%20them%20to%20try%20and%20find%20the%20best%20candidate%2C%20I%27ll%20also%20make%20an%20effort%20to%20reply%20to%20all%20emails%20I%27ve%20received.%20Thanks%20to%20all%20for%20your%20interest.%0D%0A%0D%0AIt%27s%20been%20just%20ov" title="del.icio.us"><img src="http://www.davedevelopment.co.uk/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow" href="http://www.newsvine.com/_tools/seed&amp;save?u=http%3A%2F%2Fwww.davedevelopment.co.uk%2F2010%2F04%2F26%2Fwanted-new-home-for-zfsnippets-com%2F&amp;h=Wanted%3A%20New%20home%20for%20zfsnippets.com" title="NewsVine"><img src="http://www.davedevelopment.co.uk/wp-content/plugins/sociable/images/newsvine.png" title="NewsVine" alt="NewsVine" class="sociable-hovers" /></a>
	<a rel="nofollow" href="http://reddit.com/submit?url=http%3A%2F%2Fwww.davedevelopment.co.uk%2F2010%2F04%2F26%2Fwanted-new-home-for-zfsnippets-com%2F&amp;title=Wanted%3A%20New%20home%20for%20zfsnippets.com" title="Reddit"><img src="http://www.davedevelopment.co.uk/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a>
	<a rel="nofollow" href="" title="Furl"><img src="http://www.davedevelopment.co.uk/wp-content/plugins/sociable/images/" title="Furl" alt="Furl" class="sociable-hovers" /></a>
	<a rel="nofollow" href="http://www.dzone.com/links/add.html?url=http%3A%2F%2Fwww.davedevelopment.co.uk%2F2010%2F04%2F26%2Fwanted-new-home-for-zfsnippets-com%2F&amp;title=Wanted%3A%20New%20home%20for%20zfsnippets.com" title="DZone"><img src="http://www.davedevelopment.co.uk/wp-content/plugins/sociable/images/dzone.png" title="DZone" alt="DZone" class="sociable-hovers" /></a>
	<a rel="nofollow" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.davedevelopment.co.uk%2F2010%2F04%2F26%2Fwanted-new-home-for-zfsnippets-com%2F&amp;title=Wanted%3A%20New%20home%20for%20zfsnippets.com" title="StumbleUpon"><img src="http://www.davedevelopment.co.uk/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow" href="http://technorati.com/faves?add=http%3A%2F%2Fwww.davedevelopment.co.uk%2F2010%2F04%2F26%2Fwanted-new-home-for-zfsnippets-com%2F" title="Technorati"><img src="http://www.davedevelopment.co.uk/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>


<br/><br/><img src="http://feeds.feedburner.com/~r/Davedevelopment/~4/gKqU-kP-dnE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.davedevelopment.co.uk/2010/04/26/wanted-new-home-for-zfsnippets-com/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Review: Zend Framework 1.8 Web Application Development</title>
		<link>http://www.davedevelopment.co.uk/2010/02/11/review-zend-framework-1-8-web-application-development/</link>
		<comments>http://www.davedevelopment.co.uk/2010/02/11/review-zend-framework-1-8-web-application-development/#comments</comments>
		<pubDate>Thu, 11 Feb 2010 13:51:24 +0000</pubDate>
		<dc:creator>davedevelopment</dc:creator>
				<category><![CDATA[Open Source]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Reviews]]></category>
		<category><![CDATA[Software Engineering]]></category>
		<category><![CDATA[book review]]></category>
		<category><![CDATA[zend framework]]></category>
		<category><![CDATA[zf]]></category>

		<guid isPermaLink="false">http://www.davedevelopment.co.uk/?p=440</guid>
		<description><![CDATA[
Sometime last year, I, along with quite a few others, was asked to review one of
Packt Publishing&#8217;s new books, Zend Framework 1.8 Web Application Development, written by Keith Pope. They sent me a copy, which was very good of them and although it&#8217;s taken me ages to finish and get round to writing this review, [...]]]></description>
			<content:encoded><![CDATA[<p><a style="margin:0px 10px 10px 0px;float:left" href="http://www.packtpub.com/symfony-1-3-web-application-development?utm_source=shift-up.de&#038;utm_medium=bookrev&#038;utm_content=blog&#038;utm_campaign=mdb_001213"><img src="http://www.davedevelopment.co.uk/wp-content/uploads/2010/02/Zend-book-image.jpg" alt="Zend book image" title="Zend book image" width="100" height="123" class="alignleft size-full wp-image-441" /></a></p>
<p>Sometime last year, I, along with <a href="http://devzone.zend.com/article/11398">quite</a> <a href="http://blog.fedecarg.com/2009/12/11/review-zend-framework-1-8-web-application-development/">a</a> <a href="http://raphaelstolt.blogspot.com/2009/10/zend-framework-18-web-application.html">few</a> <a href="http://net.tutsplus.com/articles/reviews/book-review-zend-framework-1-8-web-application-development/">others</a>, was asked to review one of<br />
<a href="http://www.packtpub.com/">Packt Publishing</a>&#8217;s new books, <a href="http://www.packtpub.com/zend-framework-1-8-web-application-development?utm_source=davedevelopment.co.uk&#038;utm_medium=bookrev&#038;utm_content=blog&#038;utm_campaign=mdb_001551">Zend Framework 1.8 Web Application Development</a>, written by <a href="http://thepopeisdead.com/">Keith Pope</a>. They sent me a copy, which was very good of them and although it&#8217;s taken me ages to finish and get round to writing this review, that&#8217;s not a true reflection of how good the book was, I&#8217;m just a very busy/lazy person! So lazy, that I did in fact say I&#8217;d have it done in two weeks, which turned into 4 months.</p>
<blockquote cite="http://www.davedevelopment.co.uk/2009/10/15/zend-framework-1-8-web-application-development/"><p>Packt asked if I&#8217;d be interested in reviewing the book, so watch this space, I&#8217;ll be back in a couple of weeks with a review. </p>
</blockquote>
<p style="text-align:right;margin-top:-3px;padding-top:0px;font-size:90%"><a href="http://www.davedevelopment.co.uk/2009/10/15/zend-framework-1-8-web-application-development/">My Post dated 15/10/2009</a></p>
<h2>Introduction</h2>
<blockquote><p>Design, develop, and deploy feature-rich PHP web applications with this MVC framework</p>
</blockquote>
<p>That is the books strap line, and it does exactly what it says on the tin. The bulk of the book actually takes you through the design, development, testing and deployment of a <strong>real world example application</strong>, called the Storefront. The book claims that it is written for PHP web developers that are either using or looking to start using the <a href="http://framework.zend.com/">Zend Framework</a> and that a basic knowledge of Object Oriented design would be helpful. While you might be able to manage without any OOD experience, I&#8217;d say you definitely need some to get the most out of this book, as the second chapter digs right under the hood of the Frameworks <strong>MVC architecture</strong>. My personal experience was that I got to learn all the things I haven&#8217;t had time to learn, I&#8217;ve been using the Framework for a couple of years now, always appreciating, but not always <strong>understanding</strong> what it was doing for me. </p>
<h2>MVC Architecture</h2>
<p>The first chapter gives you a <strong>brief overview </strong>of creating an MVC application in the Zend Framework, experienced users of the Framework will probably want to gloss over this part, whereas people looking to start using the framework should take their time and take things in. The next chapter is when I really started to enjoy the book. Each <strong>component</strong> of the MVC architecture is presented as it&#8217;s own topic, with each component getting a breakdown of Design Patterns/theory, default settings/configuration, usage and finally customisation.
</p>
<p>The chapter is well put together and considering the amount of information portrayed, is <strong>not overwhelming</strong>.</p>
<h2>Storefront Application</h2>
<p>The rest of the book provides the information you need about the framework around a real world example application, called StoreFront, which is a basic e-commerce application. I should point out that I didn&#8217;t code the application as I went, if I&#8217;m reading I like to read, but where appropriate I have used the book as a reference when updating my existing Zend Framework applications.</p>
<p>The best thing about these chapters though, is some of the <strong>design theory</strong> you pick up on the way, that isn&#8217;t directly relevant to the Zend Framework, but can be applied to any framework out there. Best practices such as <a href="http://www.davedevelopment.co.uk/2008/06/17/fat-models-and-the-data-access-layer/">Fat Models</a>, <a href="http://martinfowler.com/bliki/AggregationAndComposition.html">Composition</a>, <a href="http://www.martinfowler.com/bliki/FluentInterface.html">Fluent interfaces</a> are all explained in detail, along with <strong>relevant and realistic examples</strong>. Further more, the applications MVC separation is excellent, taken in context (it might be a little overkill for the example application, but is there to show you the methods).</p>
<p>After taking you through the creation of the application, the book then takes you into optimisation and testing. The optimisation takes you though some general <strong>PHP optimisation techniques</strong>, but then ploughs into techniques like a transparent abstract cache that is applied to the models. Testing is carried out with the trusty <a href="http://www.phpunit.de/">PHPUnit</a>, along with the frameworks extension of the library <a href="http://framework.zend.com/manual/en/zend.test.html">Zend_Test</a> and the book goes on to integrate the test suites with <a href="http://ant.apache.org/">apache ant</a> (why not <a href="http://phing.info">phing</a>) and <a href="http://phpundercontrol.org/">phpundercontrol</a>.</p>
<h2>Conclusion</h2>
<p>In conclusion, I thought this book was <strong>an excellent read</strong> and I plan to follow it through again when I build my next ZF app (I have two good ideas in the pipeline).  <a href="http://www.packtpub.com/zend-framework-1-8-web-application-development?utm_source=davedevelopment.co.uk&#038;utm_medium=bookrev&#038;utm_content=blog&#038;utm_campaign=mdb_001551">Find out more <del datetime="2010-02-11T14:39:50+00:00">or</del> and buy it!</a>. Thanks to Packt for sending me a copy!</p>




	<a rel="nofollow" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.davedevelopment.co.uk%2F2010%2F02%2F11%2Freview-zend-framework-1-8-web-application-development%2F&amp;title=Review%3A%20Zend%20Framework%201.8%20Web%20Application%20Development&amp;bodytext=%0D%0A%0D%0ASometime%20last%20year%2C%20I%2C%20along%20with%20quite%20a%20few%20others%2C%20was%20asked%20to%20review%20one%20of%20%0D%0APackt%20Publishing%27s%20new%20books%2C%20Zend%20Framework%201.8%20Web%20Application%20Development%2C%20written%20by%20Keith%20Pope.%20They%20sent%20me%20a%20copy%2C%20which%20was%20very%20good%20of%20them%20and%20although%20" title="Digg"><img src="http://www.davedevelopment.co.uk/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow" href="http://delicious.com/post?url=http%3A%2F%2Fwww.davedevelopment.co.uk%2F2010%2F02%2F11%2Freview-zend-framework-1-8-web-application-development%2F&amp;title=Review%3A%20Zend%20Framework%201.8%20Web%20Application%20Development&amp;notes=%0D%0A%0D%0ASometime%20last%20year%2C%20I%2C%20along%20with%20quite%20a%20few%20others%2C%20was%20asked%20to%20review%20one%20of%20%0D%0APackt%20Publishing%27s%20new%20books%2C%20Zend%20Framework%201.8%20Web%20Application%20Development%2C%20written%20by%20Keith%20Pope.%20They%20sent%20me%20a%20copy%2C%20which%20was%20very%20good%20of%20them%20and%20although%20" title="del.icio.us"><img src="http://www.davedevelopment.co.uk/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow" href="http://www.newsvine.com/_tools/seed&amp;save?u=http%3A%2F%2Fwww.davedevelopment.co.uk%2F2010%2F02%2F11%2Freview-zend-framework-1-8-web-application-development%2F&amp;h=Review%3A%20Zend%20Framework%201.8%20Web%20Application%20Development" title="NewsVine"><img src="http://www.davedevelopment.co.uk/wp-content/plugins/sociable/images/newsvine.png" title="NewsVine" alt="NewsVine" class="sociable-hovers" /></a>
	<a rel="nofollow" href="http://reddit.com/submit?url=http%3A%2F%2Fwww.davedevelopment.co.uk%2F2010%2F02%2F11%2Freview-zend-framework-1-8-web-application-development%2F&amp;title=Review%3A%20Zend%20Framework%201.8%20Web%20Application%20Development" title="Reddit"><img src="http://www.davedevelopment.co.uk/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a>
	<a rel="nofollow" href="" title="Furl"><img src="http://www.davedevelopment.co.uk/wp-content/plugins/sociable/images/" title="Furl" alt="Furl" class="sociable-hovers" /></a>
	<a rel="nofollow" href="http://www.dzone.com/links/add.html?url=http%3A%2F%2Fwww.davedevelopment.co.uk%2F2010%2F02%2F11%2Freview-zend-framework-1-8-web-application-development%2F&amp;title=Review%3A%20Zend%20Framework%201.8%20Web%20Application%20Development" title="DZone"><img src="http://www.davedevelopment.co.uk/wp-content/plugins/sociable/images/dzone.png" title="DZone" alt="DZone" class="sociable-hovers" /></a>
	<a rel="nofollow" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.davedevelopment.co.uk%2F2010%2F02%2F11%2Freview-zend-framework-1-8-web-application-development%2F&amp;title=Review%3A%20Zend%20Framework%201.8%20Web%20Application%20Development" title="StumbleUpon"><img src="http://www.davedevelopment.co.uk/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow" href="http://technorati.com/faves?add=http%3A%2F%2Fwww.davedevelopment.co.uk%2F2010%2F02%2F11%2Freview-zend-framework-1-8-web-application-development%2F" title="Technorati"><img src="http://www.davedevelopment.co.uk/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>


<br/><br/><img src="http://feeds.feedburner.com/~r/Davedevelopment/~4/FCeYhVRcgko" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.davedevelopment.co.uk/2010/02/11/review-zend-framework-1-8-web-application-development/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Zend Framework 1.8 Web Application Development</title>
		<link>http://www.davedevelopment.co.uk/2009/10/15/zend-framework-1-8-web-application-development/</link>
		<comments>http://www.davedevelopment.co.uk/2009/10/15/zend-framework-1-8-web-application-development/#comments</comments>
		<pubDate>Thu, 15 Oct 2009 08:55:04 +0000</pubDate>
		<dc:creator>davedevelopment</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[book]]></category>
		<category><![CDATA[zend framework]]></category>
		<category><![CDATA[zf]]></category>

		<guid isPermaLink="false">http://www.davedevelopment.co.uk/?p=433</guid>
		<description><![CDATA[
Packt Publishing have recently contacted me letting me know about one of their new books, Zend Framework 1.8 Web Application Development. It looks reasonably priced, and if you fancy having a quick look before you by, the author Keith Pope has a free chapter to download. Packt asked if I&#8217;d be interested in reviewing the [...]]]></description>
			<content:encoded><![CDATA[<p><img src="https://www.packtpub.com/images/PacktLogoSmall.png" style="margin:0px 10px 10px 0px;float:left" />
<p><a href="http://www.packtpub.com/">Packt Publishing</a> have recently contacted me letting me know about one of their new books, <a href="http://www.packtpub.com/zend-framework-1-8-web-application-development/book">Zend Framework 1.8 Web Application Development</a>. It looks reasonably priced, and if you fancy having a quick look before you by, the author <a href="http://www.thepopeisdead.com/">Keith Pope</a> has a <a href="http://www.thepopeisdead.com/main/comments/free_chapter_and_more_to_come/">free chapter</a> to download. Packt asked if I&#8217;d be interested in reviewing the book, so watch this space, I&#8217;ll be back in a couple of weeks with a review. </p>




	<a rel="nofollow" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.davedevelopment.co.uk%2F2009%2F10%2F15%2Fzend-framework-1-8-web-application-development%2F&amp;title=Zend%20Framework%201.8%20Web%20Application%20Development&amp;bodytext=Packt%20Publishing%20have%20recently%20contacted%20me%20letting%20me%20know%20about%20one%20of%20their%20new%20books%2C%20Zend%20Framework%201.8%20Web%20Application%20Development.%20It%20looks%20reasonably%20priced%2C%20and%20if%20you%20fancy%20having%20a%20quick%20look%20before%20you%20by%2C%20the%20author%20Keith%20Pope%20has%20a%20free" title="Digg"><img src="http://www.davedevelopment.co.uk/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow" href="http://delicious.com/post?url=http%3A%2F%2Fwww.davedevelopment.co.uk%2F2009%2F10%2F15%2Fzend-framework-1-8-web-application-development%2F&amp;title=Zend%20Framework%201.8%20Web%20Application%20Development&amp;notes=Packt%20Publishing%20have%20recently%20contacted%20me%20letting%20me%20know%20about%20one%20of%20their%20new%20books%2C%20Zend%20Framework%201.8%20Web%20Application%20Development.%20It%20looks%20reasonably%20priced%2C%20and%20if%20you%20fancy%20having%20a%20quick%20look%20before%20you%20by%2C%20the%20author%20Keith%20Pope%20has%20a%20free" title="del.icio.us"><img src="http://www.davedevelopment.co.uk/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow" href="http://www.newsvine.com/_tools/seed&amp;save?u=http%3A%2F%2Fwww.davedevelopment.co.uk%2F2009%2F10%2F15%2Fzend-framework-1-8-web-application-development%2F&amp;h=Zend%20Framework%201.8%20Web%20Application%20Development" title="NewsVine"><img src="http://www.davedevelopment.co.uk/wp-content/plugins/sociable/images/newsvine.png" title="NewsVine" alt="NewsVine" class="sociable-hovers" /></a>
	<a rel="nofollow" href="http://reddit.com/submit?url=http%3A%2F%2Fwww.davedevelopment.co.uk%2F2009%2F10%2F15%2Fzend-framework-1-8-web-application-development%2F&amp;title=Zend%20Framework%201.8%20Web%20Application%20Development" title="Reddit"><img src="http://www.davedevelopment.co.uk/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a>
	<a rel="nofollow" href="" title="Furl"><img src="http://www.davedevelopment.co.uk/wp-content/plugins/sociable/images/" title="Furl" alt="Furl" class="sociable-hovers" /></a>
	<a rel="nofollow" href="http://www.dzone.com/links/add.html?url=http%3A%2F%2Fwww.davedevelopment.co.uk%2F2009%2F10%2F15%2Fzend-framework-1-8-web-application-development%2F&amp;title=Zend%20Framework%201.8%20Web%20Application%20Development" title="DZone"><img src="http://www.davedevelopment.co.uk/wp-content/plugins/sociable/images/dzone.png" title="DZone" alt="DZone" class="sociable-hovers" /></a>
	<a rel="nofollow" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.davedevelopment.co.uk%2F2009%2F10%2F15%2Fzend-framework-1-8-web-application-development%2F&amp;title=Zend%20Framework%201.8%20Web%20Application%20Development" title="StumbleUpon"><img src="http://www.davedevelopment.co.uk/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow" href="http://technorati.com/faves?add=http%3A%2F%2Fwww.davedevelopment.co.uk%2F2009%2F10%2F15%2Fzend-framework-1-8-web-application-development%2F" title="Technorati"><img src="http://www.davedevelopment.co.uk/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>


<br/><br/><img src="http://feeds.feedburner.com/~r/Davedevelopment/~4/LfsZuJ-U_og" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.davedevelopment.co.uk/2009/10/15/zend-framework-1-8-web-application-development/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Zend Framework Poster</title>
		<link>http://www.davedevelopment.co.uk/2009/08/21/zend-framework-poster/</link>
		<comments>http://www.davedevelopment.co.uk/2009/08/21/zend-framework-poster/#comments</comments>
		<pubDate>Fri, 21 Aug 2009 11:18:59 +0000</pubDate>
		<dc:creator>davedevelopment</dc:creator>
				<category><![CDATA[Open Source]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.davedevelopment.co.uk/?p=429</guid>
		<description><![CDATA[After stumbling across an offer for a free Zend Framework Poster some time ago, I quickly dropped Mayflower an email. 
Some time passed, and now it&#8217;s here at work, placed next to our all important tea, coffee and biscuits station. 

It&#8217;s A0, covers nearly all of the major components and is well worth having! Top [...]]]></description>
			<content:encoded><![CDATA[<p>After stumbling across an offer for a <a href="http://blog.thinkphp.de/archives/399-Mayflower-loves-Zend-Framework.html">free Zend Framework Poster</a> some time ago, I quickly dropped <a href="http://mayflower.de">Mayflower</a> an email. </p>
<p>Some time passed, and now it&#8217;s here at work, placed next to our all important tea, coffee and biscuits station. </p>
<p><a href="http://www.davedevelopment.co.uk/wp-content/uploads/2009/08/Mayflower-poster.jpg"><img src="http://www.davedevelopment.co.uk/wp-content/uploads/2009/08/Mayflower-poster-300x199.jpg" alt="Mayflower poster" title="Mayflower poster" width="300" height="199" class="alignnone size-medium wp-image-430" /></a></p>
<p>It&#8217;s A0, covers nearly all of the major components and is well worth having! Top props to guys over there for pushing the <a href="http://framework.zend.com">Zend Framework</a> like this. Cheers!</p>




	<a rel="nofollow" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.davedevelopment.co.uk%2F2009%2F08%2F21%2Fzend-framework-poster%2F&amp;title=Zend%20Framework%20Poster&amp;bodytext=After%20stumbling%20across%20an%20offer%20for%20a%20free%20Zend%20Framework%20Poster%20some%20time%20ago%2C%20I%20quickly%20dropped%20Mayflower%20an%20email.%20%0D%0A%0D%0ASome%20time%20passed%2C%20and%20now%20it%27s%20here%20at%20work%2C%20placed%20next%20to%20our%20all%20important%20tea%2C%20coffee%20and%20biscuits%20station.%20%0D%0A%0D%0A%0D%0A%0D%0AIt%27s%20A0%2C" title="Digg"><img src="http://www.davedevelopment.co.uk/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow" href="http://delicious.com/post?url=http%3A%2F%2Fwww.davedevelopment.co.uk%2F2009%2F08%2F21%2Fzend-framework-poster%2F&amp;title=Zend%20Framework%20Poster&amp;notes=After%20stumbling%20across%20an%20offer%20for%20a%20free%20Zend%20Framework%20Poster%20some%20time%20ago%2C%20I%20quickly%20dropped%20Mayflower%20an%20email.%20%0D%0A%0D%0ASome%20time%20passed%2C%20and%20now%20it%27s%20here%20at%20work%2C%20placed%20next%20to%20our%20all%20important%20tea%2C%20coffee%20and%20biscuits%20station.%20%0D%0A%0D%0A%0D%0A%0D%0AIt%27s%20A0%2C" title="del.icio.us"><img src="http://www.davedevelopment.co.uk/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow" href="http://www.newsvine.com/_tools/seed&amp;save?u=http%3A%2F%2Fwww.davedevelopment.co.uk%2F2009%2F08%2F21%2Fzend-framework-poster%2F&amp;h=Zend%20Framework%20Poster" title="NewsVine"><img src="http://www.davedevelopment.co.uk/wp-content/plugins/sociable/images/newsvine.png" title="NewsVine" alt="NewsVine" class="sociable-hovers" /></a>
	<a rel="nofollow" href="http://reddit.com/submit?url=http%3A%2F%2Fwww.davedevelopment.co.uk%2F2009%2F08%2F21%2Fzend-framework-poster%2F&amp;title=Zend%20Framework%20Poster" title="Reddit"><img src="http://www.davedevelopment.co.uk/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a>
	<a rel="nofollow" href="" title="Furl"><img src="http://www.davedevelopment.co.uk/wp-content/plugins/sociable/images/" title="Furl" alt="Furl" class="sociable-hovers" /></a>
	<a rel="nofollow" href="http://www.dzone.com/links/add.html?url=http%3A%2F%2Fwww.davedevelopment.co.uk%2F2009%2F08%2F21%2Fzend-framework-poster%2F&amp;title=Zend%20Framework%20Poster" title="DZone"><img src="http://www.davedevelopment.co.uk/wp-content/plugins/sociable/images/dzone.png" title="DZone" alt="DZone" class="sociable-hovers" /></a>
	<a rel="nofollow" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.davedevelopment.co.uk%2F2009%2F08%2F21%2Fzend-framework-poster%2F&amp;title=Zend%20Framework%20Poster" title="StumbleUpon"><img src="http://www.davedevelopment.co.uk/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow" href="http://technorati.com/faves?add=http%3A%2F%2Fwww.davedevelopment.co.uk%2F2009%2F08%2F21%2Fzend-framework-poster%2F" title="Technorati"><img src="http://www.davedevelopment.co.uk/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>


<br/><br/><img src="http://feeds.feedburner.com/~r/Davedevelopment/~4/cjPXqGHUMKk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.davedevelopment.co.uk/2009/08/21/zend-framework-poster/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Mozilla’s Content Security Policy (CSP)</title>
		<link>http://www.davedevelopment.co.uk/2009/06/30/mozillas-content-security-policy-csp/</link>
		<comments>http://www.davedevelopment.co.uk/2009/06/30/mozillas-content-security-policy-csp/#comments</comments>
		<pubDate>Tue, 30 Jun 2009 09:53:04 +0000</pubDate>
		<dc:creator>davedevelopment</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[XHTML/CSS]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[xss]]></category>

		<guid isPermaLink="false">http://www.davedevelopment.co.uk/?p=419</guid>
		<description><![CDATA[I saw this post via SlashDot and can&#8217;t help but think it&#8217;s a little overkill? 
Content Security Policy is intended to mitigate a large class of Web Application Vulnerabilities: Cross Site Scripting. Cross Site Request Forgery has also become a large scale problem in Web Application Security, though it is not a primary focus of [...]]]></description>
			<content:encoded><![CDATA[<p>I saw <a href="http://blog.mozilla.com/security/2009/06/19/shutting-down-xss-with-content-security-policy/">this post</a> via <a href="http://slashdot.org">SlashDot</a> and can&#8217;t help but think it&#8217;s a little overkill? </p>
<blockquote><p><a href="http://people.mozilla.org/~bsterne/content-security-policy/">Content Security Policy</a> is intended to mitigate a large class of Web Application Vulnerabilities: Cross Site Scripting. Cross Site Request Forgery has also become a large scale problem in Web Application Security, though it is not a primary focus of Content Security Policy.</p>
</blockquote>
<p>In an ideal world, this would be great, but getting all the browsers on board and implemented may take a while. I was thinking about this the other day and I don&#8217;t see why the browsers/w3c can&#8217;t standardise on some sort of tag or conditional comments that says don&#8217;t execute any script in here. This would be simple to use and surely simple to implement. Browsers already know what to do with <a href="http://www.w3schools.com/TAGS/tag_noscript.asp"><code>&lt;noscript&gt;</code></a></p>
<p>For Example: </p>
<pre class="php" name="code">
&lt;dontexecutescript&gt;
    &lt;?php echo $this-&gt;escape($userProvidedContent);?&gt;
&lt;/dontexecutescript&gt;
</pre>
<p>Or:</p>
<pre class="php" name="code">
&lt;!--[dontexecutescript] --&gt;
    &lt;?php echo $this-&gt;escape($userProvidedContent);?&gt;
&lt;!--[dontexecutescript]--&gt;
</pre>
<p>I&#8217;m no expert on <a href="http://en.wikipedia.org/wiki/Cross-site_scripting">XSS</a>, but I&#8217;m pretty sure this would solve most of the issues encountered. </p>
<p><strong>Update:</strong></p>
<p>Okay, so one obvious problem might be that the <code>$userProvidedContent</code> contains a closing <code>&lt;/dontexecutescript&gt;</code> tag, but that&#8217;s just semantics. Unique identifiers for each block, ignoring tags that don&#8217;t match up, these browser developers are clever, they could come up with something. </p>




	<a rel="nofollow" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.davedevelopment.co.uk%2F2009%2F06%2F30%2Fmozillas-content-security-policy-csp%2F&amp;title=Mozilla%27s%20Content%20Security%20Policy%20%28CSP%29&amp;bodytext=I%20saw%20this%20post%20via%20SlashDot%20and%20can%27t%20help%20but%20think%20it%27s%20a%20little%20overkill%3F%20%0D%0A%0D%0AContent%20Security%20Policy%20is%20intended%20to%20mitigate%20a%20large%20class%20of%20Web%20Application%20Vulnerabilities%3A%20Cross%20Site%20Scripting.%20Cross%20Site%20Request%20Forgery%20has%20also%20become%20a%20lar" title="Digg"><img src="http://www.davedevelopment.co.uk/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow" href="http://delicious.com/post?url=http%3A%2F%2Fwww.davedevelopment.co.uk%2F2009%2F06%2F30%2Fmozillas-content-security-policy-csp%2F&amp;title=Mozilla%27s%20Content%20Security%20Policy%20%28CSP%29&amp;notes=I%20saw%20this%20post%20via%20SlashDot%20and%20can%27t%20help%20but%20think%20it%27s%20a%20little%20overkill%3F%20%0D%0A%0D%0AContent%20Security%20Policy%20is%20intended%20to%20mitigate%20a%20large%20class%20of%20Web%20Application%20Vulnerabilities%3A%20Cross%20Site%20Scripting.%20Cross%20Site%20Request%20Forgery%20has%20also%20become%20a%20lar" title="del.icio.us"><img src="http://www.davedevelopment.co.uk/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow" href="http://www.newsvine.com/_tools/seed&amp;save?u=http%3A%2F%2Fwww.davedevelopment.co.uk%2F2009%2F06%2F30%2Fmozillas-content-security-policy-csp%2F&amp;h=Mozilla%27s%20Content%20Security%20Policy%20%28CSP%29" title="NewsVine"><img src="http://www.davedevelopment.co.uk/wp-content/plugins/sociable/images/newsvine.png" title="NewsVine" alt="NewsVine" class="sociable-hovers" /></a>
	<a rel="nofollow" href="http://reddit.com/submit?url=http%3A%2F%2Fwww.davedevelopment.co.uk%2F2009%2F06%2F30%2Fmozillas-content-security-policy-csp%2F&amp;title=Mozilla%27s%20Content%20Security%20Policy%20%28CSP%29" title="Reddit"><img src="http://www.davedevelopment.co.uk/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a>
	<a rel="nofollow" href="" title="Furl"><img src="http://www.davedevelopment.co.uk/wp-content/plugins/sociable/images/" title="Furl" alt="Furl" class="sociable-hovers" /></a>
	<a rel="nofollow" href="http://www.dzone.com/links/add.html?url=http%3A%2F%2Fwww.davedevelopment.co.uk%2F2009%2F06%2F30%2Fmozillas-content-security-policy-csp%2F&amp;title=Mozilla%27s%20Content%20Security%20Policy%20%28CSP%29" title="DZone"><img src="http://www.davedevelopment.co.uk/wp-content/plugins/sociable/images/dzone.png" title="DZone" alt="DZone" class="sociable-hovers" /></a>
	<a rel="nofollow" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.davedevelopment.co.uk%2F2009%2F06%2F30%2Fmozillas-content-security-policy-csp%2F&amp;title=Mozilla%27s%20Content%20Security%20Policy%20%28CSP%29" title="StumbleUpon"><img src="http://www.davedevelopment.co.uk/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow" href="http://technorati.com/faves?add=http%3A%2F%2Fwww.davedevelopment.co.uk%2F2009%2F06%2F30%2Fmozillas-content-security-policy-csp%2F" title="Technorati"><img src="http://www.davedevelopment.co.uk/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>


<br/><br/><img src="http://feeds.feedburner.com/~r/Davedevelopment/~4/0va_I03BFEc" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.davedevelopment.co.uk/2009/06/30/mozillas-content-security-policy-csp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using message queues to improve user experience</title>
		<link>http://www.davedevelopment.co.uk/2009/06/01/using-message-queues-to-improve-user-experience/</link>
		<comments>http://www.davedevelopment.co.uk/2009/06/01/using-message-queues-to-improve-user-experience/#comments</comments>
		<pubDate>Mon, 01 Jun 2009 13:22:48 +0000</pubDate>
		<dc:creator>davedevelopment</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.davedevelopment.co.uk/?p=407</guid>
		<description><![CDATA[A major part of the application I develop on my day job is a big DMS, part of which is the ability to distribute documents to staff and external parties. The distribution system works in such a way that, if sending a document to 300 people, there will actually be 300 individual emails created, rather [...]]]></description>
			<content:encoded><![CDATA[<p>A major part of the application I develop on my day job is a big <a href="http://en.wikipedia.org/wiki/Document_management_system"><abbr title="Document Management System">DMS</abbr></a>, part of which is the ability to distribute documents to staff and external parties. The distribution system works in such a way that, if sending a document to 300 people, there will actually be 300 individual emails created, rather than one email with a list of recipients. This is desired behavior. My problem is, sending 300 emails at the click of a button can take a little time, degrading the experience for the users. This portion of the <a href="http://en.wikipedia.org/wiki/Call_graph">call graph</a> shows sending to just five people was taking 1+ seconds.</p>
<p><a href="http://www.davedevelopment.co.uk/wp-content/uploads/2009/06/screenshot2.png"><img src="http://www.davedevelopment.co.uk/wp-content/uploads/2009/06/screenshot2.png" alt="screenshot2" title="screenshot2" width="299" height="180" class="alignnone size-full wp-image-412" /></a></p>
<p>To solve this, I started out to implement a simple <a href="http://en.wikipedia.org/wiki/Queue_(data_structure)" title="Read about queues on WikiPedia">queuing</a> system, whereby the distribution requests are added to a queue, before being sent out by a scheduled task. </p>
<p>Rather than refactor a lot of code and do this some fancy way, I quickly put in a solution that proved the concept and seems to work pretty well for now, with minimal effort. As an example (our code&#8217;s slightly more complex, I don&#8217;t get paid for nothing), here&#8217;s what I started with:</p>
<pre name="code" class="php">
< ?php
class EmailSender {
    /**
     * Takes an array of addresses and sends an email to each one.
     *
     * @param array $address
     */
    public static function sendEmails($address) {
        /**
         * Code in here
         */
    }
}
</pre>
<p>The idea was fairly simple and I'm sure it's been done many times before. First step was to rename the existing method and make it private. I then wrote a new method, that checked to see if there was a queue available, if so adds the request to the queue, otherwise calls the old method. Then all I had to do was write a method that checks the queue, running any requests it finds through the original method. We've recently adopted the <a href="http://framework.zend.com/" title="Zend Framework">Zend Framework</a>, so checking out <a href="http://framework.zend.com/wiki/display/ZFPROP/Zend_Queue+-+Justin+Plock">Zend_Queue</a> from the <a href="http://framework.zend.com/svn/framework/standard/incubator/" title="Zend Framework Incubator">incubator</a>, reading some documentation with my <a href="http://www.docbook.org/">docbook</a> goggles on (couldn't be bothered to build it) and it was pretty much in place.</p>
</pre>
<pre name="code" class="php">
< ?php
/**
 * Zend_Queue offline processing hack example
 *
 * @author      Dave Marshall
 * @version     $Rev: $
 * @since       $Date: $
 * @link        $URL: $
 */
class EmailSender {

    private static $queue = null;

    /**
     * Set Queue
     *
     * @param Zend_Queue $queue
     */
    public static function setQueue($queue)
    {
        self::$queue = $queue;
    }

    /**
     * Takes an array of addresses and sends an email to each one.
     *
     * @see reallySendEmail
     * @see sendQueuedEmails
     * @param array $address
     */
    public static function sendEmail($address)
    {
        if (self::$queue === null) {
            return self::reallySendEmail($address);
        }

        self::$queue->send(serialize(func_get_args()));
    }

    /**
     * Takes an array of addresses and sends an email to each one.
     *
     * @see sendEmail
     * @param array $address
     */
    private static function reallySendEmail($address)
    {
        /**
         * Code in here
         */
        echo 'Sending email to ' . implode(', ', $address) . PHP_EOL;
    }

    /**
     * Reads emails from the queue and sends them
     *
     * @param int $count - The number of queued items to process
     */
    public static function sendQueuedEmails($count)
    {
        /**
         * Should really check the queue is good here
         */

        $messages = self::$queue->receive(intval($count));
        foreach($messages as $msg) {
            $args = unserialize($msg->body);
            call_user_func_array(array(__CLASS__, 'reallySendEmail'), $args);
            self::$queue->deleteMessage($msg);
        }
    }
}

set_include_path(
    dirname(__FILE__) . '/src/Zend_Framework/library' . PATH_SEPARATOR
    . dirname(__FILE__) . '/src/ZendI/library' . PATH_SEPARATOR
    . get_include_path()
);

require_once "Zend/Loader.php";
Zend_Loader::registerAutoload();

define('DB_SERVER', 'localhost');
define('DB_PORT', 3306);
define('DB_USER', 'root');
define('DB_PASS', 'password');
define('DB_NAME', 'queue_example');

/**
 * Transmittal Queue
 *
 */
$config = array(
    'name' => 'transmittal',
    'driverOptions' => array(
        'host'     => DB_SERVER,
        'port'     => DB_PORT,
        'username' => DB_USER,
        'password' => DB_PASS,
        'dbname'   => DB_NAME,
        'type'     => 'pdo_mysql'
    )
);

// Create a database queue
$queue = new Zend_Queue('Db', $config);
$queue->createQueue('myqueue'); // called for good measure

EmailSender::setQueue($queue);

/**
 * Usage for adding to the queue
 */
EmailSender::sendEmail(array('davemastergeneral@gmail.com'));

/**
 * Usage for scheduled task
 */
EmailSender::sendQueuedEmails(5);
</pre>
<p>This may not be the best practice in the world, but it <a href="http://www.davedevelopment.co.uk/2007/07/10/getting-things-done/">got the job done</a>. Check it out at <a href="http://www.zfsnippets.com/snippets/view/id/60">ZFSnippets.com</a>.</p>




	<a rel="nofollow" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.davedevelopment.co.uk%2F2009%2F06%2F01%2Fusing-message-queues-to-improve-user-experience%2F&amp;title=Using%20message%20queues%20to%20improve%20user%20experience&amp;bodytext=A%20major%20part%20of%20the%20application%20I%20develop%20on%20my%20day%20job%20is%20a%20big%20DMS%2C%20part%20of%20which%20is%20the%20ability%20to%20distribute%20documents%20to%20staff%20and%20external%20parties.%20The%20distribution%20system%20works%20in%20such%20a%20way%20that%2C%20if%20sending%20a%20document%20to%20300%20people%2C%20there%20wil" title="Digg"><img src="http://www.davedevelopment.co.uk/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow" href="http://delicious.com/post?url=http%3A%2F%2Fwww.davedevelopment.co.uk%2F2009%2F06%2F01%2Fusing-message-queues-to-improve-user-experience%2F&amp;title=Using%20message%20queues%20to%20improve%20user%20experience&amp;notes=A%20major%20part%20of%20the%20application%20I%20develop%20on%20my%20day%20job%20is%20a%20big%20DMS%2C%20part%20of%20which%20is%20the%20ability%20to%20distribute%20documents%20to%20staff%20and%20external%20parties.%20The%20distribution%20system%20works%20in%20such%20a%20way%20that%2C%20if%20sending%20a%20document%20to%20300%20people%2C%20there%20wil" title="del.icio.us"><img src="http://www.davedevelopment.co.uk/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow" href="http://www.newsvine.com/_tools/seed&amp;save?u=http%3A%2F%2Fwww.davedevelopment.co.uk%2F2009%2F06%2F01%2Fusing-message-queues-to-improve-user-experience%2F&amp;h=Using%20message%20queues%20to%20improve%20user%20experience" title="NewsVine"><img src="http://www.davedevelopment.co.uk/wp-content/plugins/sociable/images/newsvine.png" title="NewsVine" alt="NewsVine" class="sociable-hovers" /></a>
	<a rel="nofollow" href="http://reddit.com/submit?url=http%3A%2F%2Fwww.davedevelopment.co.uk%2F2009%2F06%2F01%2Fusing-message-queues-to-improve-user-experience%2F&amp;title=Using%20message%20queues%20to%20improve%20user%20experience" title="Reddit"><img src="http://www.davedevelopment.co.uk/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a>
	<a rel="nofollow" href="" title="Furl"><img src="http://www.davedevelopment.co.uk/wp-content/plugins/sociable/images/" title="Furl" alt="Furl" class="sociable-hovers" /></a>
	<a rel="nofollow" href="http://www.dzone.com/links/add.html?url=http%3A%2F%2Fwww.davedevelopment.co.uk%2F2009%2F06%2F01%2Fusing-message-queues-to-improve-user-experience%2F&amp;title=Using%20message%20queues%20to%20improve%20user%20experience" title="DZone"><img src="http://www.davedevelopment.co.uk/wp-content/plugins/sociable/images/dzone.png" title="DZone" alt="DZone" class="sociable-hovers" /></a>
	<a rel="nofollow" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.davedevelopment.co.uk%2F2009%2F06%2F01%2Fusing-message-queues-to-improve-user-experience%2F&amp;title=Using%20message%20queues%20to%20improve%20user%20experience" title="StumbleUpon"><img src="http://www.davedevelopment.co.uk/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow" href="http://technorati.com/faves?add=http%3A%2F%2Fwww.davedevelopment.co.uk%2F2009%2F06%2F01%2Fusing-message-queues-to-improve-user-experience%2F" title="Technorati"><img src="http://www.davedevelopment.co.uk/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>


<br/><br/><img src="http://feeds.feedburner.com/~r/Davedevelopment/~4/3HaO3tQC_hI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.davedevelopment.co.uk/2009/06/01/using-message-queues-to-improve-user-experience/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Redmine Issue Tracker/Project Management</title>
		<link>http://www.davedevelopment.co.uk/2009/04/20/review-redmine-issue-trackerproject-management/</link>
		<comments>http://www.davedevelopment.co.uk/2009/04/20/review-redmine-issue-trackerproject-management/#comments</comments>
		<pubDate>Mon, 20 Apr 2009 15:30:42 +0000</pubDate>
		<dc:creator>davedevelopment</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[bug tracker]]></category>
		<category><![CDATA[issue tracker]]></category>
		<category><![CDATA[management]]></category>
		<category><![CDATA[project management]]></category>
		<category><![CDATA[redmine]]></category>
		<category><![CDATA[review]]></category>
		<category><![CDATA[Ruby on Rails]]></category>

		<guid isPermaLink="false">http://www.davedevelopment.co.uk/?p=290</guid>
		<description><![CDATA[
We recently started using Redmine as our issue tracking software and we&#8217;re very pleased with it. I trialled several alternatives, both open source and commercial, including Jira, FogBugz, Mantis and Trac, but decided on Redmine. Jira and FogBugz look like excellent products, but I don&#8217;t feel we would use the extra functionality that warrants the [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.redmine.org/"><img src="http://www.davedevelopment.co.uk/wp-content/uploads/2009/01/redmine_logo_bw.png" alt="redmine_logo_bw" title="redmine_logo_bw" width="459" height="235" class="alignnone size-full wp-image-291" /></a></p>
<p>We recently started using <a href="http://www.redmine.org" title="Redmine">Redmine</a> as our issue tracking software and we&#8217;re very pleased with it. I trialled several alternatives, both open source and commercial, including <a href="http://www.atlassian.com/software/jira/">Jira</a>, <a href="http://www.fogcreek.com/FogBUGZ/">FogBugz</a>, <a href="http://www.mantisbt.org/">Mantis</a> and <a href="http://trac.edgewall.org/">Trac</a>, but decided on Redmine. Jira and FogBugz look like excellent products, but I don&#8217;t feel we would use the extra functionality that warrants the price tag. Mantis looks a bit dated and although it&#8217;s been a while, last time I tried to install and configure Trac, it was a bit of a nightmare.</p>
<p>First thing first, here are some of our requirements for an issue tracker:</p>
<ul>
<li>Multiple Projects</li>
<li>Time tracking</li>
<li>Notifications (email, rss, im etc.)</li>
<li>Wiki</li>
<li>SCM integration</li>
</ul>
<p>Redmine does all of this and a little more, but we haven&#8217;t used the other features that much. It does what we want really well, so that&#8217;s good enough for us.</p>
<h4>What I like</h4>
<p>Editing issues in bulk is fantastic. We deploy our application fairly casually, and when we do we set all the issues that have been deployed as closed and assign them a version number. Highlight the issues, right click and set the version number.</p>
<p><a href="http://www.davedevelopment.co.uk/wp-content/uploads/2009/04/screenshot-1.png"><img src="http://www.davedevelopment.co.uk/wp-content/uploads/2009/04/screenshot-1-300x275.png" alt="screenshot-1" title="screenshot-1" width="300" height="275" class="alignnone size-medium wp-image-382" /></a></p>
<p>The SCM integration does all we need it to. If we add Fixes #500 or Implements #500 to a commit message, issue 500 will be set to resolved and 100% complete and the revision number and commit message appears on the issue&#8217;s page. Alternatively, just putting Refs #500 will show the revision number and commit message in the page, without changing the status.</p>
<p><a href="http://www.davedevelopment.co.uk/wp-content/uploads/2009/04/screenshot21.png"><img src="http://www.davedevelopment.co.uk/wp-content/uploads/2009/04/screenshot21.png" alt="screenshot21" title="screenshot21" width="461" height="120" class="alignnone size-full wp-image-400" /></a></p>
<p>Issues themselves can have custom fields, but we don&#8217;t use them all that much. We do make lots of use of the descriptions and notes as they both take wiki markup, meaning we can enter rich text including source code highlighting and images, linking to changesets, wiki pages, target versions, source code and other issues. I like the ability to embed screenshots and call graphs in issues.</p>
<h4>What I don&#8217;t like</h4>
<p>Here&#8217;s a couple of things that bother me, if I shift my arse I might look into creating patches for the simple ones.</p>
<p>No API! It would be really nice to have an API and there&#8217;s one in <a href="http://www.redmine.org/issues/296">the works</a>, but it&#8217;s sounds like it&#8217;s a bit of a ballache changing fat controllers into <a href="http://www.davedevelopment.co.uk/2008/06/17/fat-models-and-the-data-access-layer/">fat models</a>.</p>
<p>I often wish a few more items where &#8216;clickable&#8217;. For instance when viewing the issue list, I&#8217;d like to be able to click the Category name in one of the rows and see a list of issues for that category. </p>
<p>You can save filters on the issue list, which is ace, but it would be nice if you can &#8217;save as new&#8217;. I often create lots of very similar queries and have to build up each one from scratch.</p>




	<a rel="nofollow" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.davedevelopment.co.uk%2F2009%2F04%2F20%2Freview-redmine-issue-trackerproject-management%2F&amp;title=Redmine%20Issue%20Tracker%2FProject%20Management&amp;bodytext=%0D%0A%0D%0AWe%20recently%20started%20using%20Redmine%20as%20our%20issue%20tracking%20software%20and%20we%27re%20very%20pleased%20with%20it.%20I%20trialled%20several%20alternatives%2C%20both%20open%20source%20and%20commercial%2C%20including%20Jira%2C%20FogBugz%2C%20Mantis%20and%20Trac%2C%20but%20decided%20on%20Redmine.%20Jira%20and%20FogBugz%20" title="Digg"><img src="http://www.davedevelopment.co.uk/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow" href="http://delicious.com/post?url=http%3A%2F%2Fwww.davedevelopment.co.uk%2F2009%2F04%2F20%2Freview-redmine-issue-trackerproject-management%2F&amp;title=Redmine%20Issue%20Tracker%2FProject%20Management&amp;notes=%0D%0A%0D%0AWe%20recently%20started%20using%20Redmine%20as%20our%20issue%20tracking%20software%20and%20we%27re%20very%20pleased%20with%20it.%20I%20trialled%20several%20alternatives%2C%20both%20open%20source%20and%20commercial%2C%20including%20Jira%2C%20FogBugz%2C%20Mantis%20and%20Trac%2C%20but%20decided%20on%20Redmine.%20Jira%20and%20FogBugz%20" title="del.icio.us"><img src="http://www.davedevelopment.co.uk/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow" href="http://www.newsvine.com/_tools/seed&amp;save?u=http%3A%2F%2Fwww.davedevelopment.co.uk%2F2009%2F04%2F20%2Freview-redmine-issue-trackerproject-management%2F&amp;h=Redmine%20Issue%20Tracker%2FProject%20Management" title="NewsVine"><img src="http://www.davedevelopment.co.uk/wp-content/plugins/sociable/images/newsvine.png" title="NewsVine" alt="NewsVine" class="sociable-hovers" /></a>
	<a rel="nofollow" href="http://reddit.com/submit?url=http%3A%2F%2Fwww.davedevelopment.co.uk%2F2009%2F04%2F20%2Freview-redmine-issue-trackerproject-management%2F&amp;title=Redmine%20Issue%20Tracker%2FProject%20Management" title="Reddit"><img src="http://www.davedevelopment.co.uk/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a>
	<a rel="nofollow" href="" title="Furl"><img src="http://www.davedevelopment.co.uk/wp-content/plugins/sociable/images/" title="Furl" alt="Furl" class="sociable-hovers" /></a>
	<a rel="nofollow" href="http://www.dzone.com/links/add.html?url=http%3A%2F%2Fwww.davedevelopment.co.uk%2F2009%2F04%2F20%2Freview-redmine-issue-trackerproject-management%2F&amp;title=Redmine%20Issue%20Tracker%2FProject%20Management" title="DZone"><img src="http://www.davedevelopment.co.uk/wp-content/plugins/sociable/images/dzone.png" title="DZone" alt="DZone" class="sociable-hovers" /></a>
	<a rel="nofollow" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.davedevelopment.co.uk%2F2009%2F04%2F20%2Freview-redmine-issue-trackerproject-management%2F&amp;title=Redmine%20Issue%20Tracker%2FProject%20Management" title="StumbleUpon"><img src="http://www.davedevelopment.co.uk/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow" href="http://technorati.com/faves?add=http%3A%2F%2Fwww.davedevelopment.co.uk%2F2009%2F04%2F20%2Freview-redmine-issue-trackerproject-management%2F" title="Technorati"><img src="http://www.davedevelopment.co.uk/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>


<br/><br/><img src="http://feeds.feedburner.com/~r/Davedevelopment/~4/KvX45MisbP4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.davedevelopment.co.uk/2009/04/20/review-redmine-issue-trackerproject-management/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Rev=Canonical and all that Jazz</title>
		<link>http://www.davedevelopment.co.uk/2009/04/15/revcanonical-and-all-that-jazz/</link>
		<comments>http://www.davedevelopment.co.uk/2009/04/15/revcanonical-and-all-that-jazz/#comments</comments>
		<pubDate>Wed, 15 Apr 2009 11:58:29 +0000</pubDate>
		<dc:creator>davedevelopment</dc:creator>
				<category><![CDATA[Open Source]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Software Engineering]]></category>
		<category><![CDATA[api]]></category>
		<category><![CDATA[revcanonical]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.davedevelopment.co.uk/?p=389</guid>
		<description><![CDATA[If anybody missed it, the last few days has seen plenty of buzz around a new proposal on how to solve the problem with URL shorteners. I kind of got lost in all the different methods and proposals people are discussing, suggesting or implementing, but I went ahead and added some simple logic to lnkd.in, [...]]]></description>
			<content:encoded><![CDATA[<p>If anybody missed it, the last few days has seen <a href="http://search.twitter.com/search?q=%23revcanonical">plenty of buzz</a> around a <a href="http://revcanonical.appspot.com/">new proposal</a> on how to solve the <a href="http://joshua.schachter.org/2009/04/on-url-shorteners.html">problem with URL shorteners</a>. I kind of got lost in all the different methods and proposals people are <a href="http://benramsey.com/archives/a-revcanonical-rebuttal/">discussing</a>, <a href="http://shiflett.org/blog/2009/apr/a-rev-canonical-http-header">suggesting</a> or <a href="http://simonwillison.net/2009/Apr/11/revcanonical/">implementing</a>, but I went ahead and added some simple logic to <a href="http://lnkd.in">lnkd.in</a>, to do a HTTP HEAD request to the given URL, looking for headers in a couple of the formats suggested. I figured that was going to get out of date pretty quickly, so I modified it to use the <a href="http://revcanonical.appspot.com/api">RevCanonical API</a>, seems to work pretty well, returning a rev=canonical url wherever possible.</p>
<p>I also contributed a basic bit of code to <a href="http://akrabat.com">Rob Allen&#8217;s</a> <a href="http://akrabat.com/shorter-links">Shorter Links</a> plugin for wordpress, allowing users to specifying a base url, davedevelopment.co.uk isn&#8217;t all that good for short URLs. Just need to upgrade the plugin and decide on a short domain for my blog now.</p>
<p><strong>Update</strong>: registerd <a href="http://daved.in">daved.in</a>, works a treat</p>




	<a rel="nofollow" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.davedevelopment.co.uk%2F2009%2F04%2F15%2Frevcanonical-and-all-that-jazz%2F&amp;title=Rev%3DCanonical%20and%20all%20that%20Jazz&amp;bodytext=If%20anybody%20missed%20it%2C%20the%20last%20few%20days%20has%20seen%20plenty%20of%20buzz%20around%20a%20new%20proposal%20on%20how%20to%20solve%20the%20problem%20with%20URL%20shorteners.%20I%20kind%20of%20got%20lost%20in%20all%20the%20different%20methods%20and%20proposals%20people%20are%20discussing%2C%20suggesting%20or%20implementing%2C%20bu" title="Digg"><img src="http://www.davedevelopment.co.uk/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow" href="http://delicious.com/post?url=http%3A%2F%2Fwww.davedevelopment.co.uk%2F2009%2F04%2F15%2Frevcanonical-and-all-that-jazz%2F&amp;title=Rev%3DCanonical%20and%20all%20that%20Jazz&amp;notes=If%20anybody%20missed%20it%2C%20the%20last%20few%20days%20has%20seen%20plenty%20of%20buzz%20around%20a%20new%20proposal%20on%20how%20to%20solve%20the%20problem%20with%20URL%20shorteners.%20I%20kind%20of%20got%20lost%20in%20all%20the%20different%20methods%20and%20proposals%20people%20are%20discussing%2C%20suggesting%20or%20implementing%2C%20bu" title="del.icio.us"><img src="http://www.davedevelopment.co.uk/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow" href="http://www.newsvine.com/_tools/seed&amp;save?u=http%3A%2F%2Fwww.davedevelopment.co.uk%2F2009%2F04%2F15%2Frevcanonical-and-all-that-jazz%2F&amp;h=Rev%3DCanonical%20and%20all%20that%20Jazz" title="NewsVine"><img src="http://www.davedevelopment.co.uk/wp-content/plugins/sociable/images/newsvine.png" title="NewsVine" alt="NewsVine" class="sociable-hovers" /></a>
	<a rel="nofollow" href="http://reddit.com/submit?url=http%3A%2F%2Fwww.davedevelopment.co.uk%2F2009%2F04%2F15%2Frevcanonical-and-all-that-jazz%2F&amp;title=Rev%3DCanonical%20and%20all%20that%20Jazz" title="Reddit"><img src="http://www.davedevelopment.co.uk/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a>
	<a rel="nofollow" href="" title="Furl"><img src="http://www.davedevelopment.co.uk/wp-content/plugins/sociable/images/" title="Furl" alt="Furl" class="sociable-hovers" /></a>
	<a rel="nofollow" href="http://www.dzone.com/links/add.html?url=http%3A%2F%2Fwww.davedevelopment.co.uk%2F2009%2F04%2F15%2Frevcanonical-and-all-that-jazz%2F&amp;title=Rev%3DCanonical%20and%20all%20that%20Jazz" title="DZone"><img src="http://www.davedevelopment.co.uk/wp-content/plugins/sociable/images/dzone.png" title="DZone" alt="DZone" class="sociable-hovers" /></a>
	<a rel="nofollow" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.davedevelopment.co.uk%2F2009%2F04%2F15%2Frevcanonical-and-all-that-jazz%2F&amp;title=Rev%3DCanonical%20and%20all%20that%20Jazz" title="StumbleUpon"><img src="http://www.davedevelopment.co.uk/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow" href="http://technorati.com/faves?add=http%3A%2F%2Fwww.davedevelopment.co.uk%2F2009%2F04%2F15%2Frevcanonical-and-all-that-jazz%2F" title="Technorati"><img src="http://www.davedevelopment.co.uk/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>


<br/><br/><img src="http://feeds.feedburner.com/~r/Davedevelopment/~4/WBkUO1uC4pA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.davedevelopment.co.uk/2009/04/15/revcanonical-and-all-that-jazz/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss><!-- Dynamic page generated in 0.373 seconds. --><!-- Cached page generated by WP-Super-Cache on 2010-07-30 20:31:23 -->
