<?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>King Foo</title>
	<atom:link href="http://www.king-foo.be/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.king-foo.be</link>
	<description>we build, deploy and maintain web applications</description>
	<lastBuildDate>Wed, 20 Mar 2013 09:30:49 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4</generator>
		<item>
		<title>Migrate from svn to git</title>
		<link>http://www.king-foo.be/2013/01/migrate-from-svn-to-git/</link>
		<comments>http://www.king-foo.be/2013/01/migrate-from-svn-to-git/#comments</comments>
		<pubDate>Mon, 07 Jan 2013 10:27:33 +0000</pubDate>
		<dc:creator>Wim</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[svn]]></category>

		<guid isPermaLink="false">http://www.king-foo.be/?p=954</guid>
		<description><![CDATA[Git is becoming more popular in favor of svn, as everyone knows. In this post, we&#8217;ll show you how to easily migrate from svn to git. Make sure (on ubuntu for example) that you have the git-svn package installed. It should be available from your default repositories. 1. Get all the users whom have worked in your svn repo and save that info to a file The above code does the following: svn log -q: svn log displays the commit messages. With the -q parameter, you don&#8217;t show the commit message, only the revision number, author and date. This part: awk -F &#8216;&#124;&#8217; &#8216;/^r/ {sub(&#8220;^ &#8220;, &#8220;&#8221;, $2); sub(&#8221; $&#8221;, &#8220;&#8221;, $2); print $2&#8243; = &#8220;$2&#8243; &#8220; processes the svn log output: if the line starts with an &#8216;r&#8217;, explode the output at the &#8216;&#124;&#8217; character, remove white spaces and put it between < and >. This part: sort -u sorts the result and only shows the unique values. 2. Change svn to git users Git does&#8217;nt work with usernames like svn but with e-mail addresses so you have to change the usernames in /tmp/svnusers.txt to the corresponding e-mail addresses. becomes 3. Clone the svn repo If your svn repo has the default trunk/branch/tags folders: otherwise: 4. migrate svn:ignore 5. Create a tag for every tag in svn 6. Create a branch for every branch in svn 7. Remove svn meta-data 8. Push to remote There you go, everything should be in place &#8230; If you need more advanced stuff, ...]]></description>
		<wfw:commentRss>http://www.king-foo.be/2013/01/migrate-from-svn-to-git/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Happy to sponsor PHPBenelux Conference</title>
		<link>http://www.king-foo.be/2012/10/happy-to-sponsor-phpbenelux-conference/</link>
		<comments>http://www.king-foo.be/2012/10/happy-to-sponsor-phpbenelux-conference/#comments</comments>
		<pubDate>Tue, 30 Oct 2012 12:20:46 +0000</pubDate>
		<dc:creator>Jonas</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.king-foo.be/?p=928</guid>
		<description><![CDATA[We are very proud to be a Gold sponsor for the PHPBenelux Conference 2013. Our team will be at the conference so if you want to discuss our services, our PHP training and the technology we use or just want to have a chat about PHP and the stuff we do, come and join us. Looking forward to this edition!]]></description>
		<wfw:commentRss>http://www.king-foo.be/2012/10/happy-to-sponsor-phpbenelux-conference/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP Training now available!</title>
		<link>http://www.king-foo.be/2012/09/php-training-now-available/</link>
		<comments>http://www.king-foo.be/2012/09/php-training-now-available/#comments</comments>
		<pubDate>Mon, 17 Sep 2012 14:14:23 +0000</pubDate>
		<dc:creator>Jonas</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.king-foo.be/?p=839</guid>
		<description><![CDATA[We just launched our new training programme, offering PHP-related training aimed at the PHP community in Belgium (and beyond of course ). Have a look at the scheduled courses for the next few months. We organize them in Aarschot (Belgium) and Ghent (Belgium). The dates are updated as listed here: Professional PHP 7-8-9 November 2012 (Aarschot) 6-7-8 March 2013 (Aarschot) 17-18-19 April 2013 (Ghent) Getting Started with Symfony2 10-11 December 2012 (Aarschot) 7-8 February (Aarschot) Tools for PHP Teams 11 December 2012 (Aarschot) 28 March 2013 (Aarschot) 13 May 2013 (Ghent) Custom PHP Courses are possible too! We can create a custom course, have a look at our available modules (custom modules or from an existing course) or contact us to see if we can arrange for a specific topic you require. For uptodate information on our courses, always check our PHP training site!]]></description>
		<wfw:commentRss>http://www.king-foo.be/2012/09/php-training-now-available/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP 5.4 &#8211; What&#8217;s new?</title>
		<link>http://www.king-foo.be/2012/01/php-5-4-whats-new/</link>
		<comments>http://www.king-foo.be/2012/01/php-5-4-whats-new/#comments</comments>
		<pubDate>Mon, 23 Jan 2012 20:07:25 +0000</pubDate>
		<dc:creator>Wim</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[5.4]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.king-foo.be/?p=782</guid>
		<description><![CDATA[PHP 5.4 will be stable soon. In this post I&#8217;ll try to give you an overview and examples of the new PHP 5.4 features. If you want to try out PHP 5.4 (which is currently in RC6), it has to be installed first. I suggest that you try this out on a virtual machine so you don&#8217;t break your current PHP version. Installing PHP 5.4 on Ubuntu Improved Session extension storing upload progress feedback in session data In the past it was possible to get the progress of an uploaded file through external packages like for instance uploadprogress but from now on it&#8217;s possible to get the progress of uploaded files through session data. Configuration of this feature is done in php.ini with the following parameters: As example, I created a page with 2 frames. One for uploading the files and one wich shows the session data. In the real world, you probably will track the progress with the help of some Ajax. If you try this example local, you better test it with a very big file. Otherwise uploading will be done before the respone is received. (Otherwise you have to set session.upload_progress.cleanup to Off to keep the session) index.php: form.php: response.php: Example output could be something like this where 3 files are uploaded and the 4th is being processed: Expose session status Till now, it was not possible to know if a session was started or not. From now on, there is a new function to fetch the ...]]></description>
		<wfw:commentRss>http://www.king-foo.be/2012/01/php-5-4-whats-new/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
		<item>
		<title>My php&#124;architect article on real-time data &#8211; get it now!</title>
		<link>http://www.king-foo.be/2011/12/my-phparchitect-article-on-real-time-data-get-it-now/</link>
		<comments>http://www.king-foo.be/2011/12/my-phparchitect-article-on-real-time-data-get-it-now/#comments</comments>
		<pubDate>Fri, 30 Dec 2011 20:29:56 +0000</pubDate>
		<dc:creator>jonas</dc:creator>
				<category><![CDATA[Comet]]></category>
		<category><![CDATA[King Foo]]></category>
		<category><![CDATA[node.js]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Realtime]]></category>

		<guid isPermaLink="false">http://www.king-foo.be/?p=775</guid>
		<description><![CDATA[As a followup to my previous article on Comet, php&#124;architect just published my second article on real-time data: “Real-Time Data, New School Style”. Get it from the source.]]></description>
		<wfw:commentRss>http://www.king-foo.be/2011/12/my-phparchitect-article-on-real-time-data-get-it-now/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating Debian/Ubuntu .deb packages</title>
		<link>http://www.king-foo.be/2011/11/creating-debianubuntu-deb-packages/</link>
		<comments>http://www.king-foo.be/2011/11/creating-debianubuntu-deb-packages/#comments</comments>
		<pubDate>Tue, 29 Nov 2011 16:24:26 +0000</pubDate>
		<dc:creator>ronny</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.king-foo.be/?p=763</guid>
		<description><![CDATA[In this post, I will show you how to create a .deb package from some binary files. Step 1: Create the directories Create a directory for your package. Also, create a directory DEBIAN. Step 2: Copy files into your package You can copy the files into your package with the full paths on the destination filesystem. E.g. if you want to put a file in /usr/local/bin/ you put it in helloworld/usr/local/bin/ Step 3: Create the control file Create a file &#8216;control&#8217; in the DEBIAN directory These are the mandatory fields in the control file. For more options see http://www.debian.org/doc/debian-policy/ch-controlfields.html#s-binarycontrolfiles Step 4: Add a post-installation script You can create a file &#8216;postinst&#8217; in the DEBIAN directory. Make sure it is executable. It will run when the installation is complete. Step 5: Create the package This creates a helloworld.deb file, which you can now install on any Debian installation with following command:]]></description>
		<wfw:commentRss>http://www.king-foo.be/2011/11/creating-debianubuntu-deb-packages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>php&#124;architect article on Comet published</title>
		<link>http://www.king-foo.be/2011/11/phparchitect-article-on-comet-published/</link>
		<comments>http://www.king-foo.be/2011/11/phparchitect-article-on-comet-published/#comments</comments>
		<pubDate>Fri, 25 Nov 2011 07:04:30 +0000</pubDate>
		<dc:creator>jonas</dc:creator>
				<category><![CDATA[Comet]]></category>
		<category><![CDATA[King Foo]]></category>
		<category><![CDATA[node.js]]></category>
		<category><![CDATA[Realtime]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.king-foo.be/?p=754</guid>
		<description><![CDATA[Yesterday, php&#124;architect published my article on Comet dubbed &#8220;Real-time Data, Old School Style&#8221;. Grab it while it&#8217;s hot!]]></description>
		<wfw:commentRss>http://www.king-foo.be/2011/11/phparchitect-article-on-comet-published/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Using Complex Type with Zend_Soap</title>
		<link>http://www.king-foo.be/2011/09/using-complex-types-with-zend_soap/</link>
		<comments>http://www.king-foo.be/2011/09/using-complex-types-with-zend_soap/#comments</comments>
		<pubDate>Fri, 23 Sep 2011 07:50:37 +0000</pubDate>
		<dc:creator>ronny</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Web services]]></category>
		<category><![CDATA[Zend Framework]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.king-foo.be/?p=546</guid>
		<description><![CDATA[To be able to use complex types with Soap requests, they need to be fully defined in the WSDL file. Zend_Soap can automate this process, if you know how to define those complex types. Let us start without it Zend_Soap&#8217;s magic and compare it with a fully discovered complex request type afterwards. First, let&#8217;s define your classes. Let&#8217;s assume we have a book collection, and each book can have multiple tags. Our webservice class looks like this: By using Zend_Soap and the automagically created WSDL file, the code launching our SOAP server could look like this: The WSDL (just browse to http:/localhost/soap.php?WSDL=1) does not hold any information about the Book or Tags objects: The inserted book can be of anyType. This is not really useful as you can imagine. Now, let&#8217;s spice things up. The real magic in Zend_Soap is in the autodiscovery mechanism producing the WSDL file. Zend_Soap_AutoDiscover won&#8217;t know how to use all those variables, unless you define the types with correct docblock information, like this: The type for $tags is Tag[], Tag comes from the defined class, and [] makes it an array. Note the /**, it&#8217;s necessary to use 2 asterisks for the Reflection class to identify the docblock. Now you can use the Book type in your Webservice functions. The insertBook method is annotated like this: Zend_Soap_Autodiscover has several strategies, you can read the Zend Framework Manual for more information on complex type strategies. We will use Zend_Soap_Wsdl_Strategy_ArrayOfTypeComplex, so Autodiscover can find the Tag array ...]]></description>
		<wfw:commentRss>http://www.king-foo.be/2011/09/using-complex-types-with-zend_soap/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Adding a Google +1 button to your website</title>
		<link>http://www.king-foo.be/2011/09/adding-a-google-1-icon-to-your-website/</link>
		<comments>http://www.king-foo.be/2011/09/adding-a-google-1-icon-to-your-website/#comments</comments>
		<pubDate>Thu, 15 Sep 2011 21:36:31 +0000</pubDate>
		<dc:creator>ronny</dc:creator>
				<category><![CDATA[Frontend]]></category>
		<category><![CDATA[+1]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[googleplus]]></category>

		<guid isPermaLink="false">http://www.king-foo.be/?p=691</guid>
		<description><![CDATA[Google released its new API for Google+, here&#8217;s the code. If you want to use the standard button, put this anywhere in your html code to show the +1 button: For more examples and features, look at the Google+ Developer page.]]></description>
		<wfw:commentRss>http://www.king-foo.be/2011/09/adding-a-google-1-icon-to-your-website/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Introduction to Sass</title>
		<link>http://www.king-foo.be/2011/08/introduction-to-sass/</link>
		<comments>http://www.king-foo.be/2011/08/introduction-to-sass/#comments</comments>
		<pubDate>Fri, 26 Aug 2011 13:57:39 +0000</pubDate>
		<dc:creator>Gerry</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Frontend]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.king-foo.be/?p=622</guid>
		<description><![CDATA[Sass, or Syntactically Awesome Style Sheets, promises us to rid us from annoyances over CSS. And it delivers! Over the passed few months I have noticed an increasing interest for Sass and other CSS alternatives, especially in the developer community. Ofcourse this peaked my interest too, and I started playing around with my first Sass stylesheets. How could I ever go without? What is Sass? In a nutshell, Sass is a superset of the CSS3 syntax (during the course of this article we are going to ignore the older, indented syntax), that infuses your stylesheets with lots of goodies like variables, functions and mixins. Sass is written in Ruby (and requires Ruby to run). Installation Sass is run from the command line, and installation is easy: Mac OS X / Windows Mac OS X comes installed with Ruby by default. On Windows platforms you&#8217;ll need to install Ruby manually first. Ubuntu First steps Getting started with Sass is super easy! To convert an existing stylesheet to a SCSS (Sassy CSS), just copy yourstylesheet.css to yourstylesheet.scss. Because any valid CSS3 syntax is also valid SCSS, you just created your first Sass stylesheet! Now you can start enhancing your stylesheets with some Sassy magic. How does it work? Sass will compile your SCSS files to valid CSS files. The resulting CSS files are what you include in your HTML. You normally would compile the SCSS files on your local machine, only deploying the generated CSS files to your production server. You can ...]]></description>
		<wfw:commentRss>http://www.king-foo.be/2011/08/introduction-to-sass/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
