<?xml version="1.0" encoding="UTF-8"?><rss version="0.92">
<channel>
	<title>Captain_kurO</title>
	<link>http://captainkuro.com</link>
	<description>Diary of a web programmer</description>
	<lastBuildDate>Tue, 01 Nov 2011 03:55:33 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	
	<item>
		<title>PHP Micro-Framework</title>
		<description><![CDATA[Few days ago I was searching for a RESTful PHP framework to help me develop a little project of mine. As I was searching, I stumbled upon PHP micro-framework. At first I didn&#8217;t know what that means, but as I dug deeper I saw some new ideas, new ways to develop a web application. As [...]]]></description>
		<link>http://captainkuro.com/php/php-micro-framework/</link>
			</item>
	<item>
		<title>I&#8217;m Back</title>
		<description><![CDATA[I can&#8217;t believe how long has it been since I last post something here. Well I got this job that has been draining my time away from writing anything. Either that or I am just too lazy :&#124;. Anyway, now I think I have something to write about so I&#8217;ll start with writing a post [...]]]></description>
		<link>http://captainkuro.com/uncategorized/im-back/</link>
			</item>
	<item>
		<title>Block Comment</title>
		<description><![CDATA[We all know what a block comment is, sometimes we use it to comment a bunch of lines of code. And sometimes we might want those lines of code to be uncommented and commented again. In a traditional way, we need to make two modifications each time, at the beginning and at the end of [...]]]></description>
		<link>http://captainkuro.com/programming/block-comment/</link>
			</item>
	<item>
		<title>Say No to &#8220;global&#8221;</title>
		<description><![CDATA[In PHP, a function (or class method) could use variables that reside in the global scope by explicitly stating them with global keyword. For example: $string = 'an apple above the head'; function break_string() { global $string; return 'break ' . $string; } This practice has some disadvantages, one of them is we can&#8217;t directly [...]]]></description>
		<link>http://captainkuro.com/php/say-no-to-global/</link>
			</item>
	<item>
		<title>Simple PHP Class to Generate XML Document</title>
		<description><![CDATA[Recently I need to generate an XML document with PHP. Since it&#8217;s just a simple task of generating a form of string, I don&#8217;t use any XML parser library. So, I create this PHP class which eases me accomplishing that task. It uses PHP Magic Method to generate the XML. Let&#8217;s look at the code: [...]]]></description>
		<link>http://captainkuro.com/php/simple-php-class-to-generate-xml-document/</link>
			</item>
	<item>
		<title>JavaScript Binary Clock</title>
		<description><![CDATA[This is just some doodle I create just now. I have always wanted a binary watch (I have even seen it in an online shop), but I need to save money (too much spending already). So in the meantime, I think &#8220;Why don&#8217;t I just create one?&#8221; using code of course. So I write this [...]]]></description>
		<link>http://captainkuro.com/javascript/javascript-binary-clock/</link>
			</item>
	<item>
		<title>View the Current Page&#8217;s Current Source Code</title>
		<description><![CDATA[Do you know that when you choose to &#8220;View Source&#8221; in your browser (Ctrl+U in Firefox). You will see the page source as it is delivered by the server. Any change made by the client-side script will not be seen. So, how do we see the current page CURRENT source code? I have been using [...]]]></description>
		<link>http://captainkuro.com/javascript/view-the-current-pages-current-source-code/</link>
			</item>
	<item>
		<title>Very Simple URL Shortener</title>
		<description><![CDATA[This past few days I have seen a trend of shorting URL in (me &#038; my friend)&#8217;s Plurk. Then it struck me, why don&#8217;t we create our owns? I have seen many URL shortener website, like u.nu, bit.ly, adf.ly, de.tk, kom.ps, tinyurl.com, etcetcetc&#8230; And I also have seen some PHP source code to create one [...]]]></description>
		<link>http://captainkuro.com/php/very-simple-url-shortener/</link>
			</item>
	<item>
		<title>Enums in PHP?</title>
		<description><![CDATA[For those of you who have known PHP and programming in general, you might have noticed that PHP has no Enum. Some people say that they need Enum so they have invented several ways to emulate Enum behavior in PHP. (The list below) The plain old const from http://stackoverflow.com/questions/254514/php-and-enums/254543#254543 class DaysOfWeek { const Sunday = [...]]]></description>
		<link>http://captainkuro.com/php/enums-in-php/</link>
			</item>
	<item>
		<title>PHP: Advanced Switch Statement</title>
		<description><![CDATA[We all know what is a switch statement. Usually we use switch to compare a variable to a set of possible value and determine what action to take if the variable has that value. For example, supposed we have this code: if ($i == 0) { echo 'Zero'; } else if ($i == 1) { [...]]]></description>
		<link>http://captainkuro.com/php/php-advanced-switch-statement/</link>
			</item>
</channel>
</rss>

