<?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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Web Punk</title>
	
	<link>http://www.web-punk.com</link>
	<description>Web Development and More...</description>
	<lastBuildDate>Wed, 18 Jan 2012 15:18:24 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</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/WebPunk" /><feedburner:info uri="webpunk" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Zend-Framework Maintenance Plugin &amp; Search Engines</title>
		<link>http://feedproxy.google.com/~r/WebPunk/~3/ehInvMoOsvs/</link>
		<comments>http://www.web-punk.com/2012/01/zend-framework-maintenance-plugin-search-engines/#comments</comments>
		<pubDate>Wed, 18 Jan 2012 15:18:24 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[Miscellaneous]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Zend Framework]]></category>

		<guid isPermaLink="false">http://www.web-punk.com/?p=754</guid>
		<description><![CDATA[A few months ago, I wrote an article about how to implement an &#8220;under maintenance&#8221; plugin using Zend Framework plugins. This plugin allows you to easily redirect users of your website to an &#8220;under maintenance&#8221; in case of a planned downtime. Simply set a flag in your application.ini and that&#8217;s it. In this post we [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_758" class="wp-caption alignleft" style="width: 160px"><a href="http://www.web-punk.com/wp-content/uploads/2012/01/maintenance1-e1326899381476.png"><img class="size-thumbnail wp-image-758" title="Under Construction" src="http://www.web-punk.com/wp-content/uploads/2012/01/maintenance1-150x150.png" alt="" width="150" height="150" /></a><p class="wp-caption-text">Under Construction</p></div>
<p>A few months ago, I <a href="http://www.web-punk.com/2010/07/an-under-maintenance-plugin-for-your-web-application/">wrote an article</a> about how to implement an &#8220;under maintenance&#8221; plugin using Zend Framework plugins. This plugin allows you to easily redirect users of your website to an &#8220;under maintenance&#8221; in case of a planned downtime. Simply set a flag in your application.ini and that&#8217;s it. In this post we will extend this plugin.<br />
<span id="more-754"></span><br />
A meaningful extension for this plugin would be to inform web crawlers &amp; search engines that this downtime is temporary. Basically, all you have to do to inform Google, Bing and Co. about the status of your website is to set the correct HTTP status code. For our maintenance plugin, this would be 503 &#8220;Service Temporarily Unavailable&#8221;. According to <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html">W3C </a>this status code is defined as: &#8220;The server is currently unable to handle the request due to a temporary overloading or maintenance of the server. The implication is that this is a temporary condition which will be alleviated after some delay. If known, the length of the delay MAY be indicated in a Retry-After header. If no Retry-After is given, the client SHOULD handle the response as it would for a 500 response.&#8221;</p>
<p>Furthermore, you can tell the web crawler when you expect your website to be up and running again by setting the &#8216;Retry-After&#8217; status. In our example, we tell Google that it may retry crawling our website in 3600 seconds. Alternatively, you could also set a date, e.g. &#8221;Sun, 22. Jan 2012 23:00:00 GMT&#8221;.</p>
<p>Both can be done in your maintenance Action by simply adding the following two lines of code</p>
<pre class="brush:php">$this-&gt;getResponse()-&gt;setHttpResponseCode(503);
$this-&gt;getResponse()-&gt;setHeader('Retry-After', '3600');</pre>
<p>Hope this helps&#8230;</p>
<ul class="socialwrap size32 row">
<li class="iconOnly"><a rel="nofollow" target="_blank" class="delicious" href="http://delicious.com/post?url=http%3A%2F%2Fwww.web-punk.com%2F2012%2F01%2Fzend-framework-maintenance-plugin-search-engines%2F&amp;title=Zend-Framework+Maintenance+Plugin+%26%23038%3B+Search+Engines" title="Save on Delicious Zend-Framework Maintenance Plugin &#038; Search Engines"><span class="head">Bookmark on Delicious</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="digg" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.web-punk.com%2F2012%2F01%2Fzend-framework-maintenance-plugin-search-engines%2F&amp;title=Zend-Framework+Maintenance+Plugin+%26%23038%3B+Search+Engines" title="Digg this post - Zend-Framework Maintenance Plugin &#038; Search Engines"><span class="head">Digg this post</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="facebook" href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fwww.web-punk.com%2F2012%2F01%2Fzend-framework-maintenance-plugin-search-engines%2F&#038;t=Zend-Framework+Maintenance+Plugin+%26%23038%3B+Search+Engines" title="Share this post - Zend-Framework Maintenance Plugin &#038; Search Engines"><span class="head">Recommend on Facebook</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="stumble" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.web-punk.com%2F2012%2F01%2Fzend-framework-maintenance-plugin-search-engines%2F&amp;title=Zend-Framework+Maintenance+Plugin+%26%23038%3B+Search+Engines" title="Submit to stumble : Zend-Framework Maintenance Plugin &#038; Search Engines"><span class="head">Share with Stumblers</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="twitter" href="http://twitter.com/home/?status=http%3A%2F%2Fwww.web-punk.com%2F2012%2F01%2Fzend-framework-maintenance-plugin-search-engines%2F" title="Tweet this post - Zend-Framework Maintenance Plugin &#038; Search Engines"><span class="head">Tweet about it</span></a></li>
</ul>
<div class="clean"></div>
<img src="http://feeds.feedburner.com/~r/WebPunk/~4/ehInvMoOsvs" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.web-punk.com/2012/01/zend-framework-maintenance-plugin-search-engines/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.web-punk.com/2012/01/zend-framework-maintenance-plugin-search-engines/</feedburner:origLink></item>
		<item>
		<title>“scoops.co” is finally online</title>
		<link>http://feedproxy.google.com/~r/WebPunk/~3/WxqzERpADQ0/</link>
		<comments>http://www.web-punk.com/2012/01/scoops-co-is-finally-online/#comments</comments>
		<pubDate>Thu, 12 Jan 2012 18:13:44 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Semantic Web]]></category>
		<category><![CDATA[Zend Framework]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://www.web-punk.com/?p=747</guid>
		<description><![CDATA[It&#8217;s finally done. The project that I&#8217;ve been working on during the last couple of months is online. Basically, Scoops is a Semantic Web application that enables you to&#8230; well, maybe it&#8217;s easier if you simply have a look at it ;-). 
Some technical notes: the project has been implemented using Zend Framework on the [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s finally done. The project that I&#8217;ve been working on during the last couple of months is online. Basically, <a href="http://scoops.co/">Scoops</a> is a Semantic Web application that enables you to&#8230; well, maybe it&#8217;s easier if you simply <a href="http://scoops.co/">have a look at it</a> ;-). </p>
<p>Some technical notes: the project has been implemented using Zend Framework on the server-side and jQuery on the client-side. The backend (the process that crawls the web, analyzes &#038; organizes text, and calculates a relevance for each user) uses dozens of free or commercial web services.</p>
<ul class="socialwrap size32 row">
<li class="iconOnly"><a rel="nofollow" target="_blank" class="delicious" href="http://delicious.com/post?url=http%3A%2F%2Fwww.web-punk.com%2F2012%2F01%2Fscoops-co-is-finally-online%2F&amp;title=%26%238220%3Bscoops.co%26%238221%3B+is+finally+online" title="Save on Delicious &#8220;scoops.co&#8221; is finally online"><span class="head">Bookmark on Delicious</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="digg" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.web-punk.com%2F2012%2F01%2Fscoops-co-is-finally-online%2F&amp;title=%26%238220%3Bscoops.co%26%238221%3B+is+finally+online" title="Digg this post - &#8220;scoops.co&#8221; is finally online"><span class="head">Digg this post</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="facebook" href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fwww.web-punk.com%2F2012%2F01%2Fscoops-co-is-finally-online%2F&#038;t=%26%238220%3Bscoops.co%26%238221%3B+is+finally+online" title="Share this post - &#8220;scoops.co&#8221; is finally online"><span class="head">Recommend on Facebook</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="stumble" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.web-punk.com%2F2012%2F01%2Fscoops-co-is-finally-online%2F&amp;title=%26%238220%3Bscoops.co%26%238221%3B+is+finally+online" title="Submit to stumble : &#8220;scoops.co&#8221; is finally online"><span class="head">Share with Stumblers</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="twitter" href="http://twitter.com/home/?status=http%3A%2F%2Fwww.web-punk.com%2F2012%2F01%2Fscoops-co-is-finally-online%2F" title="Tweet this post - &#8220;scoops.co&#8221; is finally online"><span class="head">Tweet about it</span></a></li>
</ul>
<div class="clean"></div>
<img src="http://feeds.feedburner.com/~r/WebPunk/~4/WxqzERpADQ0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.web-punk.com/2012/01/scoops-co-is-finally-online/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.web-punk.com/2012/01/scoops-co-is-finally-online/</feedburner:origLink></item>
		<item>
		<title>Customising your website: is it worth it?</title>
		<link>http://feedproxy.google.com/~r/WebPunk/~3/z9aZ7hAJV2I/</link>
		<comments>http://www.web-punk.com/2011/12/customising-your-website-is-it-worth-it/#comments</comments>
		<pubDate>Wed, 21 Dec 2011 18:44:26 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[Miscellaneous]]></category>

		<guid isPermaLink="false">http://www.web-punk.com/?p=742</guid>
		<description><![CDATA[This site offers a range of information about how customise a website using various examples of coding, and other web development techniques. However, there are still a good number of people who rely on templates and pre-set themes when putting together a website. Often this can offer a quite a easy option when it comes [...]]]></description>
			<content:encoded><![CDATA[<p>This site offers a range of information about how customise a website using various examples of coding, and other web development techniques. However, there are still a good number of people who rely on templates and pre-set themes when putting together a website. Often this can offer a quite a easy option when it comes to web design &#8211; but it is worth putting in the time and effort to create something more original? </p>
<p>In fact, there can often be a number of advantages to creating an original website design. Often, it can be particularly beneficial to those who are looking to develop their own brand or image. Whether you&#8217;re creating a games sites, like <a href="http://cz.partypoker.com/">party poker</a>, or developing a new email client, similar to <a href="http://www.hotmail.com">hotmail</a>, developing a recognisable brand image can prove crucial By designing your own sites, complete with unique features, you can help to ensure that the products or facilities which you are offering have their own unique image. If you are hoping to match up to your biggest competitors, then this is something which can be of a huge advantage. </p>
<p>As well as helping to make sure your site stands out from the crowd, customisation options can also help to make sure your web pages are as user-friendly as possible. Whilst pre-set layouts and designs may look impressive, they rarely cater for a site perfectly. Added features &#8211; such as an image gallery, for example &#8211; can be the perfect way display a product or theme, and can make all the difference to your site as a whole. With step-by-step web development guides available online, there are certainly a number of benefits to be had from including relevant examples of web coding within your overall site design.
</p>
<ul class="socialwrap size32 row">
<li class="iconOnly"><a rel="nofollow" target="_blank" class="delicious" href="http://delicious.com/post?url=http%3A%2F%2Fwww.web-punk.com%2F2011%2F12%2Fcustomising-your-website-is-it-worth-it%2F&amp;title=Customising+your+website%3A+is+it+worth+it%3F" title="Save on Delicious Customising your website: is it worth it?"><span class="head">Bookmark on Delicious</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="digg" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.web-punk.com%2F2011%2F12%2Fcustomising-your-website-is-it-worth-it%2F&amp;title=Customising+your+website%3A+is+it+worth+it%3F" title="Digg this post - Customising your website: is it worth it?"><span class="head">Digg this post</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="facebook" href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fwww.web-punk.com%2F2011%2F12%2Fcustomising-your-website-is-it-worth-it%2F&#038;t=Customising+your+website%3A+is+it+worth+it%3F" title="Share this post - Customising your website: is it worth it?"><span class="head">Recommend on Facebook</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="stumble" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.web-punk.com%2F2011%2F12%2Fcustomising-your-website-is-it-worth-it%2F&amp;title=Customising+your+website%3A+is+it+worth+it%3F" title="Submit to stumble : Customising your website: is it worth it?"><span class="head">Share with Stumblers</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="twitter" href="http://twitter.com/home/?status=http%3A%2F%2Fwww.web-punk.com%2F2011%2F12%2Fcustomising-your-website-is-it-worth-it%2F" title="Tweet this post - Customising your website: is it worth it?"><span class="head">Tweet about it</span></a></li>
</ul>
<div class="clean"></div>
<img src="http://feeds.feedburner.com/~r/WebPunk/~4/z9aZ7hAJV2I" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.web-punk.com/2011/12/customising-your-website-is-it-worth-it/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.web-punk.com/2011/12/customising-your-website-is-it-worth-it/</feedburner:origLink></item>
		<item>
		<title>(Programmer) Hell and Back Again</title>
		<link>http://feedproxy.google.com/~r/WebPunk/~3/p7vhOzY6GSM/</link>
		<comments>http://www.web-punk.com/2011/12/programmer-hell-and-back-again/#comments</comments>
		<pubDate>Tue, 20 Dec 2011 07:17:22 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[Miscellaneous]]></category>

		<guid isPermaLink="false">http://www.web-punk.com/?p=737</guid>
		<description><![CDATA[The last months were frantically bussy. I&#8217;ve been working on a Web 3.0 (yes, I really mean Web 3.0 and not Web 2.0) project and finishing and debugging this web portal took more time than expected. This project is currently in closed beta. I&#8217;ll let you know as soon as we are online.
Anyway, I&#8217;ve just [...]]]></description>
			<content:encoded><![CDATA[<p>The last months were frantically bussy. I&#8217;ve been working on a Web 3.0 (yes, I really mean Web 3.0 and not Web 2.0) project and finishing and debugging this web portal took more time than expected. This project is currently in closed beta. I&#8217;ll let you know as soon as we are online.</p>
<p>Anyway, I&#8217;ve just wanted to let you know that web punk is not dead. I&#8217;ll publish some (hopefully) interesting posts within the next days. </p>
<p>PS: I&#8217;m still looking for co-authors. If you are interested, please contact me&#8230;</p>
<ul class="socialwrap size32 row">
<li class="iconOnly"><a rel="nofollow" target="_blank" class="delicious" href="http://delicious.com/post?url=http%3A%2F%2Fwww.web-punk.com%2F2011%2F12%2Fprogrammer-hell-and-back-again%2F&amp;title=%28Programmer%29+Hell+and+Back+Again" title="Save on Delicious (Programmer) Hell and Back Again"><span class="head">Bookmark on Delicious</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="digg" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.web-punk.com%2F2011%2F12%2Fprogrammer-hell-and-back-again%2F&amp;title=%28Programmer%29+Hell+and+Back+Again" title="Digg this post - (Programmer) Hell and Back Again"><span class="head">Digg this post</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="facebook" href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fwww.web-punk.com%2F2011%2F12%2Fprogrammer-hell-and-back-again%2F&#038;t=%28Programmer%29+Hell+and+Back+Again" title="Share this post - (Programmer) Hell and Back Again"><span class="head">Recommend on Facebook</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="stumble" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.web-punk.com%2F2011%2F12%2Fprogrammer-hell-and-back-again%2F&amp;title=%28Programmer%29+Hell+and+Back+Again" title="Submit to stumble : (Programmer) Hell and Back Again"><span class="head">Share with Stumblers</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="twitter" href="http://twitter.com/home/?status=http%3A%2F%2Fwww.web-punk.com%2F2011%2F12%2Fprogrammer-hell-and-back-again%2F" title="Tweet this post - (Programmer) Hell and Back Again"><span class="head">Tweet about it</span></a></li>
</ul>
<div class="clean"></div>
<img src="http://feeds.feedburner.com/~r/WebPunk/~4/p7vhOzY6GSM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.web-punk.com/2011/12/programmer-hell-and-back-again/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://www.web-punk.com/2011/12/programmer-hell-and-back-again/</feedburner:origLink></item>
		<item>
		<title>ZIDS V 1.0.1: Zend Framework Intruder Detection System</title>
		<link>http://feedproxy.google.com/~r/WebPunk/~3/XnMmOVhAIsA/</link>
		<comments>http://www.web-punk.com/2011/08/zids-v-1-0-1-zend-framework-intruder-detection-system/#comments</comments>
		<pubDate>Tue, 09 Aug 2011 07:59:01 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[Miscellaneous]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Zend Framework]]></category>

		<guid isPermaLink="false">http://www.web-punk.com/?p=731</guid>
		<description><![CDATA[Version 1.0.1 of ZIDS (Zend Framework Intruder Detection System) has been released. You may download the source code here (Google Code).
If you don&#8217;t know yet what ZIDS is, or want to know how it works, please have a look at the manual

Bookmark on Delicious
Digg this post
Recommend on Facebook
Share with Stumblers
Tweet about it


]]></description>
			<content:encoded><![CDATA[<p>Version 1.0.1 of ZIDS (Zend Framework Intruder Detection System) has been released. You may download the source code <a href="http://code.google.com/p/zids/">here</a> (Google Code).</p>
<p>If you don&#8217;t know yet what ZIDS is, or want to know how it works, please have a look at the <a href="http://www.web-punk.com/wp-content/uploads/README_v_1_0_1.html">manual</a></p>
<ul class="socialwrap size32 row">
<li class="iconOnly"><a rel="nofollow" target="_blank" class="delicious" href="http://delicious.com/post?url=http%3A%2F%2Fwww.web-punk.com%2F2011%2F08%2Fzids-v-1-0-1-zend-framework-intruder-detection-system%2F&amp;title=ZIDS+V+1.0.1%3A+Zend+Framework+Intruder+Detection+System" title="Save on Delicious ZIDS V 1.0.1: Zend Framework Intruder Detection System"><span class="head">Bookmark on Delicious</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="digg" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.web-punk.com%2F2011%2F08%2Fzids-v-1-0-1-zend-framework-intruder-detection-system%2F&amp;title=ZIDS+V+1.0.1%3A+Zend+Framework+Intruder+Detection+System" title="Digg this post - ZIDS V 1.0.1: Zend Framework Intruder Detection System"><span class="head">Digg this post</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="facebook" href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fwww.web-punk.com%2F2011%2F08%2Fzids-v-1-0-1-zend-framework-intruder-detection-system%2F&#038;t=ZIDS+V+1.0.1%3A+Zend+Framework+Intruder+Detection+System" title="Share this post - ZIDS V 1.0.1: Zend Framework Intruder Detection System"><span class="head">Recommend on Facebook</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="stumble" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.web-punk.com%2F2011%2F08%2Fzids-v-1-0-1-zend-framework-intruder-detection-system%2F&amp;title=ZIDS+V+1.0.1%3A+Zend+Framework+Intruder+Detection+System" title="Submit to stumble : ZIDS V 1.0.1: Zend Framework Intruder Detection System"><span class="head">Share with Stumblers</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="twitter" href="http://twitter.com/home/?status=http%3A%2F%2Fwww.web-punk.com%2F2011%2F08%2Fzids-v-1-0-1-zend-framework-intruder-detection-system%2F" title="Tweet this post - ZIDS V 1.0.1: Zend Framework Intruder Detection System"><span class="head">Tweet about it</span></a></li>
</ul>
<div class="clean"></div>
<img src="http://feeds.feedburner.com/~r/WebPunk/~4/XnMmOVhAIsA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.web-punk.com/2011/08/zids-v-1-0-1-zend-framework-intruder-detection-system/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.web-punk.com/2011/08/zids-v-1-0-1-zend-framework-intruder-detection-system/</feedburner:origLink></item>
		<item>
		<title>QA Tools for PHP</title>
		<link>http://feedproxy.google.com/~r/WebPunk/~3/9vAjnFYyA8E/</link>
		<comments>http://www.web-punk.com/2011/05/qa-tools-for-php/#comments</comments>
		<pubDate>Mon, 16 May 2011 18:40:14 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Testing Web Apps]]></category>

		<guid isPermaLink="false">http://www.web-punk.com/?p=727</guid>
		<description><![CDATA[Just in case you missed the webinar of Michelangelo van Dam: have a look at his excellent webinar on QA (Quality Assurance) Tools for PHP. Michelangelo presents some really useful tools like PHPUnit, PHP_CodeSniffer, PHP Mess Detector and so on.
You&#8217;ll find the webinar here&#8230;

Bookmark on Delicious
Digg this post
Recommend on Facebook
Share with Stumblers
Tweet about it


]]></description>
			<content:encoded><![CDATA[<p>Just in case you missed the webinar of <a href="http://www.dragonbe.com/">Michelangelo van Dam</a>: have a look at his excellent webinar on QA (Quality Assurance) Tools for PHP. Michelangelo presents some really useful tools like PHPUnit, PHP_CodeSniffer, PHP Mess Detector and so on.</p>
<p>You&#8217;ll find the webinar <a href="http://www.zend.com/de/webinar/PHP/70170000000bYKp-ImprovingQA-20110414.flv">here</a>&#8230;</p>
<ul class="socialwrap size32 row">
<li class="iconOnly"><a rel="nofollow" target="_blank" class="delicious" href="http://delicious.com/post?url=http%3A%2F%2Fwww.web-punk.com%2F2011%2F05%2Fqa-tools-for-php%2F&amp;title=QA+Tools+for+PHP" title="Save on Delicious QA Tools for PHP"><span class="head">Bookmark on Delicious</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="digg" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.web-punk.com%2F2011%2F05%2Fqa-tools-for-php%2F&amp;title=QA+Tools+for+PHP" title="Digg this post - QA Tools for PHP"><span class="head">Digg this post</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="facebook" href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fwww.web-punk.com%2F2011%2F05%2Fqa-tools-for-php%2F&#038;t=QA+Tools+for+PHP" title="Share this post - QA Tools for PHP"><span class="head">Recommend on Facebook</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="stumble" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.web-punk.com%2F2011%2F05%2Fqa-tools-for-php%2F&amp;title=QA+Tools+for+PHP" title="Submit to stumble : QA Tools for PHP"><span class="head">Share with Stumblers</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="twitter" href="http://twitter.com/home/?status=http%3A%2F%2Fwww.web-punk.com%2F2011%2F05%2Fqa-tools-for-php%2F" title="Tweet this post - QA Tools for PHP"><span class="head">Tweet about it</span></a></li>
</ul>
<div class="clean"></div>
<img src="http://feeds.feedburner.com/~r/WebPunk/~4/9vAjnFYyA8E" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.web-punk.com/2011/05/qa-tools-for-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.web-punk.com/2011/05/qa-tools-for-php/</feedburner:origLink></item>
		<item>
		<title>Zend Framework Advanced Error Controller – The Developer Day</title>
		<link>http://feedproxy.google.com/~r/WebPunk/~3/PTd9X15puwU/</link>
		<comments>http://www.web-punk.com/2011/03/zend-framework-advanced-error-controller-the-developer-day/#comments</comments>
		<pubDate>Tue, 29 Mar 2011 09:39:02 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[Zend Framework]]></category>

		<guid isPermaLink="false">http://www.web-punk.com/?p=725</guid>
		<description><![CDATA[Žilvinas Šaltys has written a very nice article about how to extend the default Zend Framework Error Controller

The main disadvantage of the default error controller is that it does not notify developers of the errors that occurred and  instead silently logs them. Many enterprise web applications will find  this unacceptable and will try [...]]]></description>
			<content:encoded><![CDATA[<p><span class="preview-article"><em>Žilvinas Šaltys has written a very nice article about how to extend the default Zend Framework Error Controller<br />
</em></span></p>
<blockquote><p>The main disadvantage of the default <strong>error controller</strong> is that it does not notify developers of the errors that occurred and  instead silently logs them. Many enterprise web applications will find  this unacceptable and will try to implement their means of solving the  issue. In this post I’ll try to show how a more advanced Zend Framework <strong>error controller</strong> could be implemented to help developers tackle errors quickly.</p></blockquote>
<p>via <a href="http://www.thedeveloperday.com/custom-profiler-for-live-environments/">Zend Framework Advanced Error Controller &#8211; The Developer Day</a>.</p>
<ul class="socialwrap size32 row">
<li class="iconOnly"><a rel="nofollow" target="_blank" class="delicious" href="http://delicious.com/post?url=http%3A%2F%2Fwww.web-punk.com%2F2011%2F03%2Fzend-framework-advanced-error-controller-the-developer-day%2F&amp;title=Zend+Framework+Advanced+Error+Controller+%26%238211%3B+The+Developer+Day" title="Save on Delicious Zend Framework Advanced Error Controller &#8211; The Developer Day"><span class="head">Bookmark on Delicious</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="digg" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.web-punk.com%2F2011%2F03%2Fzend-framework-advanced-error-controller-the-developer-day%2F&amp;title=Zend+Framework+Advanced+Error+Controller+%26%238211%3B+The+Developer+Day" title="Digg this post - Zend Framework Advanced Error Controller &#8211; The Developer Day"><span class="head">Digg this post</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="facebook" href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fwww.web-punk.com%2F2011%2F03%2Fzend-framework-advanced-error-controller-the-developer-day%2F&#038;t=Zend+Framework+Advanced+Error+Controller+%26%238211%3B+The+Developer+Day" title="Share this post - Zend Framework Advanced Error Controller &#8211; The Developer Day"><span class="head">Recommend on Facebook</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="stumble" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.web-punk.com%2F2011%2F03%2Fzend-framework-advanced-error-controller-the-developer-day%2F&amp;title=Zend+Framework+Advanced+Error+Controller+%26%238211%3B+The+Developer+Day" title="Submit to stumble : Zend Framework Advanced Error Controller &#8211; The Developer Day"><span class="head">Share with Stumblers</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="twitter" href="http://twitter.com/home/?status=http%3A%2F%2Fwww.web-punk.com%2F2011%2F03%2Fzend-framework-advanced-error-controller-the-developer-day%2F" title="Tweet this post - Zend Framework Advanced Error Controller &#8211; The Developer Day"><span class="head">Tweet about it</span></a></li>
</ul>
<div class="clean"></div>
<img src="http://feeds.feedburner.com/~r/WebPunk/~4/PTd9X15puwU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.web-punk.com/2011/03/zend-framework-advanced-error-controller-the-developer-day/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.web-punk.com/2011/03/zend-framework-advanced-error-controller-the-developer-day/</feedburner:origLink></item>
		<item>
		<title>Autoload Doctrine and Doctrine Classes</title>
		<link>http://feedproxy.google.com/~r/WebPunk/~3/oj6IfChmUY4/</link>
		<comments>http://www.web-punk.com/2011/02/autoload-doctrine-and-doctrine-classes/#comments</comments>
		<pubDate>Sat, 12 Feb 2011 08:32:11 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[Doctrine]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Zend Framework]]></category>

		<guid isPermaLink="false">http://www.web-punk.com/?p=722</guid>
		<description><![CDATA[If you read my post regarding how to integrate Doctrine using the Zend Framework, you might also be interested in this post written by Matthew Weier O&#8217;Phinney on how to autoload Doctrine and Doctrine entities using the Zend Framework.

Bookmark on Delicious
Digg this post
Recommend on Facebook
Share with Stumblers
Tweet about it


]]></description>
			<content:encoded><![CDATA[<p>If you read my post regarding <a href="http://www.web-punk.com/2010/05/doctrine-and-zend-framework/">how to integrate Doctrine</a> using the Zend Framework, you might also be interested in <a href="http://weierophinney.net/matthew/archives/220-Autoloading-Doctrine-and-Doctrine-entities-from-Zend-Framework.html">this post</a> written by Matthew Weier O&#8217;Phinney on how to autoload Doctrine and Doctrine entities using the Zend Framework.</p>
<ul class="socialwrap size32 row">
<li class="iconOnly"><a rel="nofollow" target="_blank" class="delicious" href="http://delicious.com/post?url=http%3A%2F%2Fwww.web-punk.com%2F2011%2F02%2Fautoload-doctrine-and-doctrine-classes%2F&amp;title=Autoload+Doctrine+and+Doctrine+Classes" title="Save on Delicious Autoload Doctrine and Doctrine Classes"><span class="head">Bookmark on Delicious</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="digg" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.web-punk.com%2F2011%2F02%2Fautoload-doctrine-and-doctrine-classes%2F&amp;title=Autoload+Doctrine+and+Doctrine+Classes" title="Digg this post - Autoload Doctrine and Doctrine Classes"><span class="head">Digg this post</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="facebook" href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fwww.web-punk.com%2F2011%2F02%2Fautoload-doctrine-and-doctrine-classes%2F&#038;t=Autoload+Doctrine+and+Doctrine+Classes" title="Share this post - Autoload Doctrine and Doctrine Classes"><span class="head">Recommend on Facebook</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="stumble" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.web-punk.com%2F2011%2F02%2Fautoload-doctrine-and-doctrine-classes%2F&amp;title=Autoload+Doctrine+and+Doctrine+Classes" title="Submit to stumble : Autoload Doctrine and Doctrine Classes"><span class="head">Share with Stumblers</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="twitter" href="http://twitter.com/home/?status=http%3A%2F%2Fwww.web-punk.com%2F2011%2F02%2Fautoload-doctrine-and-doctrine-classes%2F" title="Tweet this post - Autoload Doctrine and Doctrine Classes"><span class="head">Tweet about it</span></a></li>
</ul>
<div class="clean"></div>
<img src="http://feeds.feedburner.com/~r/WebPunk/~4/oj6IfChmUY4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.web-punk.com/2011/02/autoload-doctrine-and-doctrine-classes/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://www.web-punk.com/2011/02/autoload-doctrine-and-doctrine-classes/</feedburner:origLink></item>
		<item>
		<title>Smart Google Translate Wrapper for PHP</title>
		<link>http://feedproxy.google.com/~r/WebPunk/~3/G-FJvgnFQXQ/</link>
		<comments>http://www.web-punk.com/2011/02/smart-google-translate-wrapper-for-php/#comments</comments>
		<pubDate>Fri, 04 Feb 2011 18:40:34 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[Miscellaneous]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://www.web-punk.com/?p=706</guid>
		<description><![CDATA[Sameer Borate published his version of a Google Translate Wrapper for PHP on his blog and on Google code. Actually, Sameer&#8217;s class pretty much does what I expected it to do, i.e. translating text. The only thing I didn&#8217;t like was the fact that &#8211; as Google&#8217;s API only accepts text up to 5000 characters [...]]]></description>
			<content:encoded><![CDATA[<p>Sameer Borate published his version of a Google Translate Wrapper for PHP on <a href="http://www.codediesel.com">his blog</a> and on Google code. Actually, Sameer&#8217;s class pretty much does what I expected it to do, i.e. translating text. The only thing I didn&#8217;t like was the fact that &#8211; as Google&#8217;s API only accepts text up to 5000 characters &#8211; it simply creates chunks of text by chopping the text using a dumb <code>str_split($text, 5000)</code>. So here is a smarter version of Sameer&#8217;s Google Translate Wrapper.<span id="more-706"></span></p>
<p>This version of the Google Translate Wrapper makes sure that whole sentences are send to Google&#8217;s API. So instead of chopping a text like &#8220;Imagine that this text has nearly 5000 characters. And here is the next sentence&#8221; into two chunks &#8220;<strong><em>Imagine that this text has nearly 5000 characters. And he</em></strong>&#8221; and &#8220;<strong><em>re is the next sentence</em></strong>&#8221; it will create two chunks &#8220;<strong><em>Imagine that this text has nearly 5000 characters.</em></strong>&#8221; and &#8220;<strong><em>And here is the next sentence</em></strong>&#8220;. Beside that, the wrapper has a built in Google Language Detection that works with longer texts.</p>
<p>Okay, it&#8217;s not rocket science but it will create better results ;-).</p>
<div class='content_remark'><a href="http://www.web-punk.com/wp-content/uploads/googleTranslate.rar">Download the package here&#8230;</a></div>
<p>It&#8217;s pretty straight forward to use the wrapper. If you want to detect the language of a given text, use something like:</p>
<pre class="brush:php">$gdl = new GoogleTranslateWrapper();
$gdl-&gt;detectLanguage("A simple text written in english.");
if ($gdl-&gt;isSuccess() === false) {
   echo "something went wrong. Error-Message: " . $gdl-&gt;getLastError();
} else {
   if (! $gdl-&gt;isDetectedLanguageReliable()) {
      echo "Detected language for this text is NOT reliable. Language detected = " . $gdl-&gt;getDetectedLanguage();
   } else {
      echo "Detected language for this text is reliable. Language detected = " . $gdl-&gt;getDetectedLanguage();
   }
}
</pre>
<p>Translating for instance a German text into English can be accomplished with:</p>
<pre class="brush:php">$gdl = new GoogleTranslateWrapper();
$transText = $gdl-&gt;translate("Das ist ein deutscher Satz.", 'en', 'de');
</pre>
<p>Again, you might want to use <code>isSuccess()</code> and <code>getLastError()</code> to check if an error occured and, if so, which error. And make sure, that you read and understand the terms of use and how to <a href="http://code.google.com/intl/de-DE/apis/language/translate/v1/getting_started.html#getBranding">display attribution</a> for Google&#8217;s API.</p>
<ul class="socialwrap size32 row">
<li class="iconOnly"><a rel="nofollow" target="_blank" class="delicious" href="http://delicious.com/post?url=http%3A%2F%2Fwww.web-punk.com%2F2011%2F02%2Fsmart-google-translate-wrapper-for-php%2F&amp;title=Smart+Google+Translate+Wrapper+for+PHP" title="Save on Delicious Smart Google Translate Wrapper for PHP"><span class="head">Bookmark on Delicious</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="digg" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.web-punk.com%2F2011%2F02%2Fsmart-google-translate-wrapper-for-php%2F&amp;title=Smart+Google+Translate+Wrapper+for+PHP" title="Digg this post - Smart Google Translate Wrapper for PHP"><span class="head">Digg this post</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="facebook" href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fwww.web-punk.com%2F2011%2F02%2Fsmart-google-translate-wrapper-for-php%2F&#038;t=Smart+Google+Translate+Wrapper+for+PHP" title="Share this post - Smart Google Translate Wrapper for PHP"><span class="head">Recommend on Facebook</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="stumble" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.web-punk.com%2F2011%2F02%2Fsmart-google-translate-wrapper-for-php%2F&amp;title=Smart+Google+Translate+Wrapper+for+PHP" title="Submit to stumble : Smart Google Translate Wrapper for PHP"><span class="head">Share with Stumblers</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="twitter" href="http://twitter.com/home/?status=http%3A%2F%2Fwww.web-punk.com%2F2011%2F02%2Fsmart-google-translate-wrapper-for-php%2F" title="Tweet this post - Smart Google Translate Wrapper for PHP"><span class="head">Tweet about it</span></a></li>
</ul>
<div class="clean"></div>
<img src="http://feeds.feedburner.com/~r/WebPunk/~4/G-FJvgnFQXQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.web-punk.com/2011/02/smart-google-translate-wrapper-for-php/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		<feedburner:origLink>http://www.web-punk.com/2011/02/smart-google-translate-wrapper-for-php/</feedburner:origLink></item>
		<item>
		<title>PHP and Microsoft’s Azure</title>
		<link>http://feedproxy.google.com/~r/WebPunk/~3/opEVrKI6e9k/</link>
		<comments>http://www.web-punk.com/2011/01/php-and-microsofts-azure/#comments</comments>
		<pubDate>Mon, 31 Jan 2011 07:24:10 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[Miscellaneous]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.web-punk.com/?p=700</guid>
		<description><![CDATA[Are you an excellent PHP programmer? Wanna win a ride to MIX 2012 in Las Vegas, a Windows Phone 7 or a Kinect device? Here is your chance&#8230;

Bookmark on Delicious
Digg this post
Recommend on Facebook
Share with Stumblers
Tweet about it


]]></description>
			<content:encoded><![CDATA[<p>Are you an excellent PHP programmer? Wanna win a ride to MIX 2012 in Las Vegas, a Windows Phone 7 or a Kinect device? <a href="http://www.phpazurecontest.com/">Here is your chance&#8230;</a></p>
<ul class="socialwrap size32 row">
<li class="iconOnly"><a rel="nofollow" target="_blank" class="delicious" href="http://delicious.com/post?url=http%3A%2F%2Fwww.web-punk.com%2F2011%2F01%2Fphp-and-microsofts-azure%2F&amp;title=PHP+and+Microsoft%26%238217%3Bs+Azure" title="Save on Delicious PHP and Microsoft&#8217;s Azure"><span class="head">Bookmark on Delicious</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="digg" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.web-punk.com%2F2011%2F01%2Fphp-and-microsofts-azure%2F&amp;title=PHP+and+Microsoft%26%238217%3Bs+Azure" title="Digg this post - PHP and Microsoft&#8217;s Azure"><span class="head">Digg this post</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="facebook" href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fwww.web-punk.com%2F2011%2F01%2Fphp-and-microsofts-azure%2F&#038;t=PHP+and+Microsoft%26%238217%3Bs+Azure" title="Share this post - PHP and Microsoft&#8217;s Azure"><span class="head">Recommend on Facebook</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="stumble" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.web-punk.com%2F2011%2F01%2Fphp-and-microsofts-azure%2F&amp;title=PHP+and+Microsoft%26%238217%3Bs+Azure" title="Submit to stumble : PHP and Microsoft&#8217;s Azure"><span class="head">Share with Stumblers</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="twitter" href="http://twitter.com/home/?status=http%3A%2F%2Fwww.web-punk.com%2F2011%2F01%2Fphp-and-microsofts-azure%2F" title="Tweet this post - PHP and Microsoft&#8217;s Azure"><span class="head">Tweet about it</span></a></li>
</ul>
<div class="clean"></div>
<img src="http://feeds.feedburner.com/~r/WebPunk/~4/opEVrKI6e9k" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.web-punk.com/2011/01/php-and-microsofts-azure/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.web-punk.com/2011/01/php-and-microsofts-azure/</feedburner:origLink></item>
	</channel>
</rss><!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Served from: www.web-punk.com @ 2012-01-20 03:11:06 -->

