<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Gotbadger &#187; php</title>
	<atom:link href="http://www.gotbadger.org.uk/tag/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.gotbadger.org.uk</link>
	<description>The adventures of Philip Hayton</description>
	<lastBuildDate>Sat, 31 Jul 2010 14:22:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>TF2 servers and WordPress</title>
		<link>http://www.gotbadger.org.uk/2007/11/11/tf2-servers-and-wordpress/</link>
		<comments>http://www.gotbadger.org.uk/2007/11/11/tf2-servers-and-wordpress/#comments</comments>
		<pubDate>Sun, 11 Nov 2007 18:02:42 +0000</pubDate>
		<dc:creator>Phil</dc:creator>
				<category><![CDATA[Games]]></category>
		<category><![CDATA[Programing]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[TF2]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://gotbadger.co.uk/2007/11/11/tf2-servers-and-wordpress/</guid>
		<description><![CDATA[Ive been playing a lot of Team Fortress 2 with the 9m guys recently and we have decided to enter into some competitive play. All this means we needed a website so in true quick and dirty fashion I knocked up a WP site and modified an existing theme. Now one thing I thought that [...]]]></description>
			<content:encoded><![CDATA[<p>Ive been playing a lot of Team Fortress 2 with the <a href="http://9men.org.uk">9m guys</a> recently and we have decided to enter into some competitive play. All this means we needed a website so in true quick and dirty fashion I knocked up a WP site and modified an existing theme.</p>
<p>Now one thing I thought that would be pretty cool would be a server monitor plug-in, there was nothing currently out there so using my non existent knowledge of widgets I tried my luck&#8230; and failed terribly I just couldn&#8217;t get the server to query correctly at all. I guessed someone must have done something similar to this in PHP the answer was <a href="http://gameq.sourceforge.net/" title="game q a handy libary for querying game server">GameQ</a>. Its a nice little library that wraps everything up nicely and gives us back a lot of really easy arrays using this and my basic understanding of plugins I managed to knock up the server monitor you see on the <a href="http://9men.org.uk">9m website</a></p>
<p>I have plans at some point to improve and hopefully release the widget under GPL when I have a better understanding of how to deal with the configuration side of things, until then its all hard coded configuration. If anyone&#8217;s interested at all in the source code drop me a line.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gotbadger.org.uk/2007/11/11/tf2-servers-and-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A Change Of Heart</title>
		<link>http://www.gotbadger.org.uk/2007/10/01/a-change-of-heart/</link>
		<comments>http://www.gotbadger.org.uk/2007/10/01/a-change-of-heart/#comments</comments>
		<pubDate>Mon, 01 Oct 2007 18:45:11 +0000</pubDate>
		<dc:creator>Phil</dc:creator>
				<category><![CDATA[Programing]]></category>
		<category><![CDATA[Site]]></category>
		<category><![CDATA[c#]]></category>
		<category><![CDATA[news]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[Ruby on Rails]]></category>

		<guid isPermaLink="false">http://gotbadger.co.uk/?p=4</guid>
		<description><![CDATA[It was in some respects a long time coming like a lot of people out there I have made the move to word-press and for once actually managed to create a semi-decent (I think) looking theme. I liked Mephisto but I couldn&#8217;t do &#8216;things&#8217; with it. It kind of leads me into what I have [...]]]></description>
			<content:encoded><![CDATA[<p>It was in some respects a long time coming like a lot of people out there I have made the move to word-press and for once actually managed to create a semi-decent (I think) looking theme. I liked Mephisto but I couldn&#8217;t do &#8216;things&#8217; with it. It kind of leads me into what I have been having quite some thought about latley and that is PHP.</p>
<p>I ve had somewhat of a resurgence in my love for PHP, Ive been toying with RoR and done some C# stuff recently at work and I came to miss the pure dirtiness of PHP. The reason I originally had started to hate PHP can probably be pinned on two things; doing maintenance on existing projects and as a result writing increasingly hacky and horrible code. The change of heart came from realising finally that I could write beautiful OO PHP5 that was incredibly rewarding to write if I wanted to. The epiphany was mostly down to the fact that programing in a language like C# made me give up a lot of my bad programing habits. Its quite easy to write bad C# apps but it quickly becomes quite self evident how horrendous it is, while doing something equally bad in PHP like mixing up function with formatting isn&#8217;t so obvious until much later when problems start cropping up. By bringing these good habits from C# and RoR to PHP5 I can write much more reliable and readable code thats also fairly agile. This article by <a href="http://www.oreillynet.com/ruby/blog/2007/09/7_reasons_i_switched_back_to_p_1.html">Derek Sivers</a> kinda sums things up.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gotbadger.org.uk/2007/10/01/a-change-of-heart/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
