<?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>Codeho&#039;s Webdev Blog</title>
	<atom:link href="http://www.codeho.org/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.codeho.org/blog</link>
	<description>love your customers</description>
	<lastBuildDate>Tue, 15 Nov 2011 08:31:45 +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>Minor Setback</title>
		<link>http://www.codeho.org/blog/minor-setback/</link>
		<comments>http://www.codeho.org/blog/minor-setback/#comments</comments>
		<pubDate>Tue, 15 Nov 2011 08:31:45 +0000</pubDate>
		<dc:creator>tschau</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.codeho.org/blog/?p=40</guid>
		<description><![CDATA[Oh my, I feel like having a deja-vu.. I realized yesterday that there is a new version of FuelPhp out 1.1 RC, promising that the API will be in lockdown starting on this release, so i decided that i try and update my 1.0 version to this. Luckily i checked everything into git before i [...]]]></description>
			<content:encoded><![CDATA[<p>Oh my,</p>
<p>I feel like having a deja-vu.. I realized yesterday that there is a new version of FuelPhp out 1.1 RC, promising that the API will be in lockdown starting on this release, so i decided that i try and update my 1.0 version to this.</p>
<p>Luckily i checked everything into git before i copied the update over, and of course there were TONS of changes, which makes sense at such an early stage of the Framework.<br />
Now my Haml Parser changes aren&#8217;t working anymore since apparently the View class has changed. So i&#8217;m going to have to dig through all this andmake this work, then i&#8217;ll continue on the Migration Log.</p>
<p>Gna!</p>
<p>I suppose i have to get my HamlPHP Parser changes into the general Release so it&#8217;ll be taken care of when changes like this are being made.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.codeho.org/blog/minor-setback/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using Haml with Fuel</title>
		<link>http://www.codeho.org/blog/using-haml-with-fuel/</link>
		<comments>http://www.codeho.org/blog/using-haml-with-fuel/#comments</comments>
		<pubDate>Mon, 14 Nov 2011 20:15:46 +0000</pubDate>
		<dc:creator>tschau</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Fuel]]></category>
		<category><![CDATA[Haml]]></category>
		<category><![CDATA[Parser]]></category>

		<guid isPermaLink="false">http://www.codeho.org/blog/?p=35</guid>
		<description><![CDATA[One thing i grew to love over the past year or so, is Haml. I got so far that when i have to type raw HTML for other projects i&#8217;m working on it makes me frown. So to jump right into it. Fuel doesn&#8217;t have direct Haml support, but there is a parser package which [...]]]></description>
			<content:encoded><![CDATA[<p>One thing i grew to love over the past year or so, is Haml.<br />
I got so far that when i have to type raw HTML for other projects i&#8217;m working on it makes me frown.</p>
<p>So to jump right into it. Fuel doesn&#8217;t have direct Haml support, but there is a parser package which claims that it supports Haml, however i never really got it working right. Also i wanted to use sniemela&#8217;s HamlPhp Parser instead of PhamlP, because its cleaner, faster and supports standard Haml syntax.</p>
<p>So i had to modify Fuel&#8217;s Parser package a little bit in order to make it work with the new Haml Parser. I havent checked but i can imagine that my changes broke other templating parsing in that parser package, but since i only want to use Haml anyways i don&#8217;t really care. Maybe if i find the time one day i will test them all.</p>
<p>You can find and download the modified Parser Package here: <a href="https://github.com/codeho/parser">https://github.com/codeho/parser</a>.<br />
You will need to download sniemela&#8217;s Haml Parser here: <a href="https://github.com/sniemela/HamlPHP">https://github.com/sniemela/HamlPHP</a> and put it into the vendor directory within the parser package, which you hopefully put under <span style="color: #888888;">fuel/packages</span>.</p>
<p>The rest is pretty self explanatory, call your views like you&#8217;d always do, just add <span style="color: #888888;">.haml</span> to the filename of the view when you call it.<br />
Make sure you got a chache directory and its writable for the Php user and you&#8217;re good to go.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.codeho.org/blog/using-haml-with-fuel/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Kohana i18n in Fuel</title>
		<link>http://www.codeho.org/blog/kohana-i18n-in-fuel/</link>
		<comments>http://www.codeho.org/blog/kohana-i18n-in-fuel/#comments</comments>
		<pubDate>Mon, 14 Nov 2011 08:52:43 +0000</pubDate>
		<dc:creator>tschau</dc:creator>
				<category><![CDATA[FuelPhp]]></category>

		<guid isPermaLink="false">http://www.codeho.org/blog/?p=15</guid>
		<description><![CDATA[Kohana::i18n == Fuel::Core::Lang Getting your Kohana i18n stuff migrated to Fuel is actually very easy. First of all copy your old language translation file into lang/[countrycode], for example: lang/de/german_signup.php In the general config (config/config.php) you have to set the language, which determines in which of the directories under &#8216;lang&#8217; Fuel will look for the file. [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Kohana::i18n == Fuel::Core::Lang</strong></p>
<p>Getting your Kohana i18n stuff migrated to Fuel is actually very easy.</p>
<p>First of all copy your old language translation file into <span style="color: #808080;">lang/[countrycode]</span>, for example:<span style="color: #808080;"> lang/de/german_signup.php</span></p>
<p>In the general config (config/config.php) you have to set the language, which determines in which of the directories under &#8216;lang&#8217; Fuel will look for the file. e.g. <span style="color: #808080;">&#8216;language&#8217;  =&gt; &#8216;de&#8217;</span>.</p>
<p>Then you have to load this somewhere using <span style="color: #808080;">Lang::Load(&#8216;[filename]&#8216;);</span>, for example <span style="color: #808080;">Lang::Load(&#8216;german_signup.php&#8217;);</span></p>
<p>In this particular Project I&#8217;ve put it within the before() function of my Base Controller, that way i don&#8217;t have to worry about it.<br />
Right now i don&#8217;t see any sense in having a separate language file for each controller, because of this i can load it within the base controller of everything. Who knows, maybe i&#8217;ll change my mind about this later, but not just yet.</p>
<p>To Load  a string:<br />
<span style="color: #808080;">I18n::get(&#8216;firstlevel.secondlevel&#8217;);</span><br />
becomes<br />
<span style="color: #808080;">Lang::line(&#8216;firstlevel.secondlevel&#8217;);</span></p>
<p>That&#8217;s pretty much it. easy huh? <img src='http://www.codeho.org/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.codeho.org/blog/kohana-i18n-in-fuel/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Getting started with Fuel</title>
		<link>http://www.codeho.org/blog/getting-started-with-fuel/</link>
		<comments>http://www.codeho.org/blog/getting-started-with-fuel/#comments</comments>
		<pubDate>Fri, 11 Nov 2011 09:47:20 +0000</pubDate>
		<dc:creator>tschau</dc:creator>
				<category><![CDATA[FuelPhp]]></category>

		<guid isPermaLink="false">http://www.codeho.org/blog/?p=8</guid>
		<description><![CDATA[So, I&#8217;ve been working with the Kohana Php Framework for a while now, and even though i really like it, I&#8217;m getting a little bit tired of having to run Migrations with every new minor release due to backwards incompatible changes they keep making. Because of that i&#8217;ve been looking into the Fuel Php Framework [...]]]></description>
			<content:encoded><![CDATA[<p>So,<br />
I&#8217;ve been working with the <a href="http://kohanaframework.org" target="_blank">Kohana</a> Php Framework for a while now, and even though i really like it, I&#8217;m getting a little bit tired of having to run Migrations with every new minor release due to backwards incompatible changes they keep making.</p>
<p>Because of that i&#8217;ve been looking into the <a href="http://fuelphp.com" target="_blank">Fuel</a> Php Framework a bit and so far i like what i see. So i&#8217;m going to try and port my current Webapp over to Fuel and try to document the process of this right here. Assuming that i find enough time to complete that Task and that i won&#8217;t get tired of writing it all down, this might be a useful resource for anyone trying to get started with Fuel.</p>
<p>Well then, lets see how this goes.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.codeho.org/blog/getting-started-with-fuel/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

