<?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>Blog.hio.fr</title>
	<atom:link href="http://blog.hio.fr/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.hio.fr</link>
	<description></description>
	<lastBuildDate>Wed, 22 Feb 2012 15:43:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Design pattern registry</title>
		<link>http://blog.hio.fr/2012/02/20/design-pattern-registry.html</link>
		<comments>http://blog.hio.fr/2012/02/20/design-pattern-registry.html#comments</comments>
		<pubDate>Mon, 20 Feb 2012 16:12:42 +0000</pubDate>
		<dc:creator>HiO</dc:creator>
				<category><![CDATA[design patterns]]></category>
		<category><![CDATA[Dev]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[registry]]></category>

		<guid isPermaLink="false">http://blog.hio.fr/?p=975</guid>
		<description><![CDATA[&#60;?php class Registry &#123; private static $_registry = array&#40;&#41;; &#160; public static function add&#40;$name, $value&#41; &#123; self::$_registry&#91;$name&#93; = $value; &#125; &#160; public static function get&#40;$name&#41; &#123; if&#40;!self::exists&#40;$name&#41;&#41; throw new Exception&#40;sprintf&#40;'&#60;%s&#62; was not registered', $name&#41;&#41;; &#160; return self::$_registry&#91;$name&#93;; &#125; &#160; public &#8230; <a href="http://blog.hio.fr/2012/02/20/design-pattern-registry.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://blog.hio.fr/2012/02/20/design-pattern-registry.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Design pattern strategy</title>
		<link>http://blog.hio.fr/2012/02/19/design-pattern-strategy.html</link>
		<comments>http://blog.hio.fr/2012/02/19/design-pattern-strategy.html#comments</comments>
		<pubDate>Sun, 19 Feb 2012 19:53:44 +0000</pubDate>
		<dc:creator>HiO</dc:creator>
				<category><![CDATA[design patterns]]></category>
		<category><![CDATA[Dev]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[strategy]]></category>

		<guid isPermaLink="false">http://blog.hio.fr/?p=969</guid>
		<description><![CDATA[&#60;?php interface IFormater &#123; public function format&#40;$message, $level&#41;; &#125; &#160; class File_Xml implements IFormater &#123; public function format&#40;$message, $level&#41; &#123; $date = date&#40;'Y-m-d H:i:s'&#41;; $xml = '&#60;message&#62;'.PHP_EOL; $xml .= ' &#60;date&#62;'.$date.'&#60;/date&#62;'.PHP_EOL; $xml .= ' &#60;level&#62;'.$level.'&#60;/level&#62;'.PHP_EOL; $xml .= ' &#60;desc&#62;'.$message.'&#60;/desc&#62;'.PHP_EOL; $xml &#8230; <a href="http://blog.hio.fr/2012/02/19/design-pattern-strategy.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://blog.hio.fr/2012/02/19/design-pattern-strategy.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Design pattern observer</title>
		<link>http://blog.hio.fr/2012/02/19/design-pattern-observer.html</link>
		<comments>http://blog.hio.fr/2012/02/19/design-pattern-observer.html#comments</comments>
		<pubDate>Sun, 19 Feb 2012 19:50:56 +0000</pubDate>
		<dc:creator>HiO</dc:creator>
				<category><![CDATA[design patterns]]></category>
		<category><![CDATA[Dev]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[oberver]]></category>

		<guid isPermaLink="false">http://blog.hio.fr/?p=967</guid>
		<description><![CDATA[&#60;?php interface IObserver &#123; public function onNew&#40;$sender, $arguments&#41;; public function onChange&#40;$sender, $arguments&#41;; &#125; &#160; interface IObservable &#123; public function addObserver&#40;IObserver $observer&#41;; &#125; &#160; class Users implements IObservable &#123; private $_observers = array&#40;&#41;; &#160; public function addObserver&#40;IObserver $observer&#41; &#123; $this-&#62;_observers&#91;&#93; = &#8230; <a href="http://blog.hio.fr/2012/02/19/design-pattern-observer.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://blog.hio.fr/2012/02/19/design-pattern-observer.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Design pattern singleton</title>
		<link>http://blog.hio.fr/2012/02/19/design-pattern-singleton.html</link>
		<comments>http://blog.hio.fr/2012/02/19/design-pattern-singleton.html#comments</comments>
		<pubDate>Sun, 19 Feb 2012 19:46:31 +0000</pubDate>
		<dc:creator>HiO</dc:creator>
				<category><![CDATA[design patterns]]></category>
		<category><![CDATA[Dev]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[singleton]]></category>

		<guid isPermaLink="false">http://blog.hio.fr/?p=962</guid>
		<description><![CDATA[&#60;?php class Logger &#123; static $file = null; &#160; private function __construct&#40;&#41; &#123;&#125; &#160; public static function get&#40;&#41; &#123; if&#40;is_null&#40;self::$file&#41;&#41; self::$file = fopen&#40;date&#40;'Y-m-d'&#41;.'.log', 'a+'&#41;; return self::$file; &#125; &#125; &#160; var_dump&#40;Logger::get&#40;&#41;, Logger::get&#40;&#41;&#41;;]]></description>
		<wfw:commentRss>http://blog.hio.fr/2012/02/19/design-pattern-singleton.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Design pattern chain of command</title>
		<link>http://blog.hio.fr/2012/02/19/design-pattern-chain-of-command.html</link>
		<comments>http://blog.hio.fr/2012/02/19/design-pattern-chain-of-command.html#comments</comments>
		<pubDate>Sun, 19 Feb 2012 19:43:08 +0000</pubDate>
		<dc:creator>HiO</dc:creator>
				<category><![CDATA[design patterns]]></category>
		<category><![CDATA[Dev]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[chain-of-command]]></category>

		<guid isPermaLink="false">http://blog.hio.fr/?p=959</guid>
		<description><![CDATA[&#60;?php interface ICommand &#123; public function onCommand&#40;$name, $arguments&#41;; &#125; &#160; class CommandChain &#123; private $_commands = array&#40;&#41;; &#160; public function addCommand&#40;$command&#41; &#123; $this-&#62;_commands&#91;&#93; = $command; &#125; &#160; public function runCommand&#40;$name, $arguments&#41; &#123; foreach&#40;$this-&#62;_commands as $command&#41; &#123; if&#40;$command-&#62;onCommand&#40;$name, $arguments&#41;&#41; return; &#125; &#8230; <a href="http://blog.hio.fr/2012/02/19/design-pattern-chain-of-command.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://blog.hio.fr/2012/02/19/design-pattern-chain-of-command.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Design pattern factory</title>
		<link>http://blog.hio.fr/2012/02/19/design-pattern-factory.html</link>
		<comments>http://blog.hio.fr/2012/02/19/design-pattern-factory.html#comments</comments>
		<pubDate>Sun, 19 Feb 2012 19:25:23 +0000</pubDate>
		<dc:creator>HiO</dc:creator>
				<category><![CDATA[design patterns]]></category>
		<category><![CDATA[Dev]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[factory]]></category>

		<guid isPermaLink="false">http://blog.hio.fr/?p=955</guid>
		<description><![CDATA[&#60;?php interface IConfig &#123; public function get&#40;&#41;; &#125; &#160; class Config &#123; const INI = 1; &#160; static public function get&#40;$file, $type = self::INI&#41; &#123; switch&#40;$type&#41; &#123; case self::INI: $config = new Config_Ini&#40;$file&#41;; break; default: throw new Exception_Config&#40;sprintf&#40;'Unkown config type &#8230; <a href="http://blog.hio.fr/2012/02/19/design-pattern-factory.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://blog.hio.fr/2012/02/19/design-pattern-factory.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>.vimrc de base</title>
		<link>http://blog.hio.fr/2012/02/19/vimrc-de-base.html</link>
		<comments>http://blog.hio.fr/2012/02/19/vimrc-de-base.html#comments</comments>
		<pubDate>Sun, 19 Feb 2012 19:16:30 +0000</pubDate>
		<dc:creator>HiO</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[vim]]></category>

		<guid isPermaLink="false">http://blog.hio.fr/?p=953</guid>
		<description><![CDATA[set nocompatible set bs=2 set background=dark set wrapmargin=8 syntax on set ruler set showcmd &#160; set tabstop=4 set shiftwidth=4 set expandtab &#160; set fileformats=unix &#160; set ignorecase set incsearch &#160; set showmatch]]></description>
		<wfw:commentRss>http://blog.hio.fr/2012/02/19/vimrc-de-base.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mock object example</title>
		<link>http://blog.hio.fr/2012/02/17/mock-object-example.html</link>
		<comments>http://blog.hio.fr/2012/02/17/mock-object-example.html#comments</comments>
		<pubDate>Fri, 17 Feb 2012 13:53:28 +0000</pubDate>
		<dc:creator>HiO</dc:creator>
				<category><![CDATA[Dev]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://blog.hio.fr/?p=949</guid>
		<description><![CDATA[&#60;?php interface IDb &#123; public function findOne&#40;$id&#41;; &#125; &#160; class User&#123; &#160; public function __construct&#40;IDb $db&#41; &#123; $this-&#62;db = $db; &#125; &#160; public function get&#40;$id&#41; &#123; return $this-&#62;db-&#62;findOne&#40;$id&#41;; &#125; &#125; &#160; class Db implements IDb &#123; public function findOne&#40;$id&#41; &#123; &#8230; <a href="http://blog.hio.fr/2012/02/17/mock-object-example.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://blog.hio.fr/2012/02/17/mock-object-example.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>rewrite rules</title>
		<link>http://blog.hio.fr/2012/01/25/rewrite-rules.html</link>
		<comments>http://blog.hio.fr/2012/01/25/rewrite-rules.html#comments</comments>
		<pubDate>Wed, 25 Jan 2012 10:04:57 +0000</pubDate>
		<dc:creator>HiO</dc:creator>
				<category><![CDATA[apache]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://blog.hio.fr/?p=946</guid>
		<description><![CDATA[redirect HOST != &#8216;blog.hio.fr&#8217; to blog.hio.fr RewriteEngine on RewriteCond %{HTTP_HOST} !^blog\.hio\.fr$ [NC] RewriteRule ^(.*)$ http://blog.hio.fr/$1? [L,R=301]]]></description>
		<wfw:commentRss>http://blog.hio.fr/2012/01/25/rewrite-rules.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>APACHE zend framework vhost</title>
		<link>http://blog.hio.fr/2011/12/22/apache-zend-framework-vhost.html</link>
		<comments>http://blog.hio.fr/2011/12/22/apache-zend-framework-vhost.html#comments</comments>
		<pubDate>Wed, 21 Dec 2011 23:39:58 +0000</pubDate>
		<dc:creator>HiO</dc:creator>
				<category><![CDATA[apache]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[zend framework]]></category>

		<guid isPermaLink="false">http://blog.hio.fr/?p=944</guid>
		<description><![CDATA[&#60;VirtualHost *:80&#62; ServerAdmin webmaster@localhost ServerName sub.domain.tld SetEnv APPLICATION_ENV &#34;development&#34; DocumentRoot /var/www/sub.domain.tld/public &#60;Directory /&#62; Options FollowSymLinks AllowOverride None &#60;/Directory&#62; &#60;Directory /var/www/sub.domain.tld/public&#62; Options Indexes FollowSymLinks MultiViews AllowOverride All Allow from all &#60;/Directory&#62; &#160; ErrorLog /var/log/apache2/sub.domain.tld.error.log CustomLog /var/log/apache2/sub.domain.tld.access.log combined &#60;/VirtualHost&#62;]]></description>
		<wfw:commentRss>http://blog.hio.fr/2011/12/22/apache-zend-framework-vhost.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

