<?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, 02 May 2012 06:36:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<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>wimm</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>13</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>
		<item>
		<title>SSH tips &amp; tricks</title>
		<link>http://www.king-foo.be/2011/08/ssh-tips-tricks/</link>
		<comments>http://www.king-foo.be/2011/08/ssh-tips-tricks/#comments</comments>
		<pubDate>Thu, 18 Aug 2011 14:47:13 +0000</pubDate>
		<dc:creator>ronny</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.king-foo.be/?p=609</guid>
		<description><![CDATA[Note: This post was tested on Ubuntu 11.04. If you don&#8217;t use Ubuntu, it may or may not work for you. Public key authentication Instead of entering a password for the SSH connection, you can also use public key authentication. This is easier, because you can use the same key on all your connections. Public key authentication is also safer, as it uses an encrypted hash to log in. To generate a private/public key pair, you can use this command. Don&#8217;t forget to use a good passphrase: The -f switch defines the filename. Note that the file has to be named id_rsa to be recognized by the default password manager in Ubuntu. The private key, id_rsa, needs to be on your machine only. Don&#8217;t give it to other people. The public key, id_rsa.pub, you can copy to other machines, to log in there. You need to copy your public key to the server you want to connect to: You will have to enter the original password to login. If this command is not available for you, you can do this instead: Now you can log in to the server, using your public key with its passphrase. SSH Config File You can create a config file to easy access your servers. You can have as many entries as you like. The host line is necessary, other lines are optional. Now you can log into the server: If you have set up public key authentication, and use the Ubuntu password manager, you ...]]></description>
		<wfw:commentRss>http://www.king-foo.be/2011/08/ssh-tips-tricks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Symfony2 launch party</title>
		<link>http://www.king-foo.be/2011/07/symfony2-launch-party/</link>
		<comments>http://www.king-foo.be/2011/07/symfony2-launch-party/#comments</comments>
		<pubDate>Tue, 26 Jul 2011 05:10:56 +0000</pubDate>
		<dc:creator>jonas</dc:creator>
				<category><![CDATA[Community]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Symfony]]></category>

		<guid isPermaLink="false">http://www.king-foo.be/?p=574</guid>
		<description><![CDATA[On Thursday (28th july) Symfony2 will be officially released as stable. To celebrate this, King Foo will be organizing a launch party in Leuven. If you are a PHP developer and care (or just curious) about Symfony, come and join us at Bar Esperança. It&#8217;s on the second floor, right above Cafe Alegria, Oude Markt 31, 3000 Leuven. Starting at 19:00, you can join us for free drinks and a chat in the lively city of Leuven!]]></description>
		<wfw:commentRss>http://www.king-foo.be/2011/07/symfony2-launch-party/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>php&#124;architect article on Zend_Json_Server published</title>
		<link>http://www.king-foo.be/2011/07/phparchitect-article-on-zend_json_server-published/</link>
		<comments>http://www.king-foo.be/2011/07/phparchitect-article-on-zend_json_server-published/#comments</comments>
		<pubDate>Fri, 22 Jul 2011 08:21:06 +0000</pubDate>
		<dc:creator>jonas</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.king-foo.be/?p=563</guid>
		<description><![CDATA[php&#124;architect has published my article about combining jQuery with Zend_Json_Server into a simple monitoring dashboard to showcase JSON-RPC, a protocol using remote procedure calls, a bit like XML-RPC did. The powerful combination of both Javascript and the Zend_Json_Server component enables you to create responsive apps with near real-time data.]]></description>
		<wfw:commentRss>http://www.king-foo.be/2011/07/phparchitect-article-on-zend_json_server-published/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

