<?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>Creo &#187; Playground</title>
	<atom:link href="http://www.creolab.hr/category/playground/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.creolab.hr</link>
	<description>Freelance development platform and digital playground of Boris Strahija.</description>
	<lastBuildDate>Fri, 06 Aug 2010 14:05:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Drumming Retrospective</title>
		<link>http://www.creolab.hr/2010/08/drumming-retrospective/</link>
		<comments>http://www.creolab.hr/2010/08/drumming-retrospective/#comments</comments>
		<pubDate>Fri, 06 Aug 2010 13:28:17 +0000</pubDate>
		<dc:creator>boris</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Music]]></category>
		<category><![CDATA[Playground]]></category>

		<guid isPermaLink="false">http://www.creolab.hr/?p=425</guid>
		<description><![CDATA[Since I haven&#8217;t posted anything in a while I decided it is time for a music post. Here are some tracks that I recorded with various bands I played in as a drummer. Some of the recording are pretty bad but I&#8217;ve put them up anyway Hope you like at least some of the tracks. [...]]]></description>
			<content:encoded><![CDATA[<p>Since I haven&#8217;t posted anything in a while I decided it is time for a music post. Here are some tracks that I recorded with various bands I played in as a drummer. Some of the recording are pretty bad but I&#8217;ve put them up anyway <img src='http://www.creolab.hr/creo/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /><br />
Hope you like at least some of the tracks.</p>
<p>Here they are:<br />
<a href="http://www.creolab.hr/creo/wp-content/uploads/mp3/[1996] Implicite - Competition.mp3"> [1996] Implicite &#8211; Competition</a><br />
<a href="http://www.creolab.hr/creo/wp-content/uploads/mp3/[1998] Implicite - New Ideals.mp3"> [1998] Implicite &#8211; New Ideals (live recording)</a><br />
<a href="http://www.creolab.hr/creo/wp-content/uploads/mp3/[1999] Motorno Ulje -  Zadnja litra.mp3"> [1999] Motorno Ulje &#8211;  Zadnja litra</a><br />
<a href="http://www.creolab.hr/creo/wp-content/uploads/mp3/[2001] The Farewell Reason - Thank You.mp3"> [2001] The Farewell Reason &#8211; Thank You</a><br />
<a href="http://www.creolab.hr/creo/wp-content/uploads/mp3/[2003] Youth Against - War Against War.mp3"> [2003] Youth Against &#8211; War Against War (live recording)</a><br />
<a href="http://www.creolab.hr/creo/wp-content/uploads/mp3/[2005] The Farewell Reason - Embrace Me Erase Me.mp3"> [2005] The Farewell Reason &#8211; Embrace Me, Erase Me</a><br />
<a href="http://www.creolab.hr/creo/wp-content/uploads/mp3/[2005] Outre - Rose.mp3"> [2005] Outre &#8211; Rose</a><br />
<a href="http://www.creolab.hr/creo/wp-content/uploads/mp3/[2005] Outre - They Call Themselves Hardcore.mp3"> [2005] Outre &#8211; They Call Themselves Hardcore</a><br />
<a href="http://www.creolab.hr/creo/wp-content/uploads/mp3/[2009] The Farewell Reason - Sunday Suit Fade Out.mp3"> [2009] The Farewell Reason &#8211; Sunday Suit Fade Out</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.creolab.hr/2010/08/drumming-retrospective/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Integration of RedBean ORM with CodeIgniter</title>
		<link>http://www.creolab.hr/2009/11/integration-of-redbean-orm-with-codeigniter/</link>
		<comments>http://www.creolab.hr/2009/11/integration-of-redbean-orm-with-codeigniter/#comments</comments>
		<pubDate>Thu, 19 Nov 2009 08:38:27 +0000</pubDate>
		<dc:creator>boris</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Playground]]></category>
		<category><![CDATA[CodeIgniter]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[ORM]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[RedBean]]></category>

		<guid isPermaLink="false">http://www.creolab.hr/?p=287</guid>
		<description><![CDATA[I still haven't updated my work, so here's something in the meantime.

I've managed to successfuly integrate RedBean into the CodeIgniter PHP framework. I don't think any additional explanation is necesary since it's pretty simple and basic stuff.]]></description>
			<content:encoded><![CDATA[<p>I still haven&#8217;t updated my work, so here&#8217;s something in the meantime.</p>
<p>I&#8217;ve managed to successfuly integrate <a href="http://www.redbeanphp.com/">RedBean</a> into the <a href="http://codeigniter.com/">CodeIgniter</a> PHP framework. I don&#8217;t think any additional explanation is necesary since it&#8217;s pretty simple and basic stuff.</p>
<p>Here are the reuired steps:</p>
<ol>
<li>Download <a href="http://www.redbeanphp.com/">RedBean</a> and put it into /app/thirdparty/redbean/</li>
<li>Create a library (/app/libraries/redbean.php). The class shoud be called Redbean, and the __construct() function should look something like this:<code>
<pre>$this-&gt;ci =&amp; get_instance();

// Include database configuration
include(APPPATH.'/config/database.php');

// Include required files
include(APPPATH.'/thirdparty/redbean/redbean.inc.php');

// Database data
$hostname     = $db[$active_group]['hostname'];
$username     = $db[$active_group]['username'];
$password     = $db[$active_group]['password'];
$database     = $db[$active_group]['database'];

// Create RedBean instance
$toolbox = RedBean_Setup::kickstartDev('mysql:host='.$hostname.';dbname='.$database, $username, $password);
$this-&gt;ci-&gt;rb = $toolbox-&gt;getRedBean();</pre>
<p></code></li>
<li>Your controllers can then do some fun stuff like this:<code>
<pre>$post = $this-&gt;rb-&gt;dispense("post");
$post-&gt;title = 'My first post from CodeIgniter';
$post-&gt;body ='Lorem ipsum dolor sit amet, consectetur adipisicing elit....';
$post-&gt;created = time();
$id = $this-&gt;rb-&gt;store($post);</pre>
<p></code></li>
</ol>
<p>Haven’t tested it much but everything seems to work.<br />
If someone has a better sollution just let me know.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.creolab.hr/2009/11/integration-of-redbean-orm-with-codeigniter/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>
