<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Creating a PHP5 MVC Framework part4: Integrating CI Active Record to Obullo PDO Class, Routing Impromevents and Advanced Loader Functions</title>
	<atom:link href="http://develturk.com/2009/10/21/creating-a-php5-mvc-framework-part4-integrating-ci-active-record-to-obullo-pdo-class-routing-impromevents-and-advanced-loader-functions/feed/" rel="self" type="application/rss+xml" />
	<link>http://develturk.com/2009/10/21/creating-a-php5-mvc-framework-part4-integrating-ci-active-record-to-obullo-pdo-class-routing-impromevents-and-advanced-loader-functions/</link>
	<description>Ersin Güvenç's Php Development Blog (Turkey)</description>
	<lastBuildDate>Tue, 17 Apr 2012 13:03:16 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
	<item>
		<title>By: admin</title>
		<link>http://develturk.com/2009/10/21/creating-a-php5-mvc-framework-part4-integrating-ci-active-record-to-obullo-pdo-class-routing-impromevents-and-advanced-loader-functions/comment-page-1/#comment-4146</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Fri, 04 Feb 2011 14:48:10 +0000</pubDate>
		<guid isPermaLink="false">http://develturk.com/?p=211#comment-4146</guid>
		<description>this the new versiyon db files
https://github.com/obullo/obullo/tree/dev/database   
try to update database files
be carefull first you need to get backup your application</description>
		<content:encoded><![CDATA[<p>this the new versiyon db files<br />
<a href="https://github.com/obullo/obullo/tree/dev/database" rel="nofollow">https://github.com/obullo/obullo/tree/dev/database</a><br />
try to update database files<br />
be carefull first you need to get backup your application</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ekoheri</title>
		<link>http://develturk.com/2009/10/21/creating-a-php5-mvc-framework-part4-integrating-ci-active-record-to-obullo-pdo-class-routing-impromevents-and-advanced-loader-functions/comment-page-1/#comment-4145</link>
		<dc:creator>ekoheri</dc:creator>
		<pubDate>Fri, 04 Feb 2011 05:44:06 +0000</pubDate>
		<guid isPermaLink="false">http://develturk.com/?p=211#comment-4145</guid>
		<description>i am trying Obullo beta RC1 on PHP 5.3.0.
I found errors like this
[Obullo][Warning]: PDO::__construct() [pdo.--construct]: [2002] Invalid argument (trying to connect via unix://)
File: /opt/lampp/htdocs/banyuwangi/base/database/DB.php
Line: 79
[Database Error]: SQLSTATE[HY000] [2002] Invalid argument
File: /opt/lampp/htdocs/banyuwangi/base/database/DB.php
Line: 79 

class Site_model extends Model {
	function __construct(){
		parent::__construct();
		$config = array (
		&#039;variable&#039; =&gt; &#039;db&#039;,
		&#039;hostname&#039; =&gt; &#039;localhost&#039;,
		&#039;username&#039; =&gt; &#039;root&#039;,
		&#039;password&#039; =&gt; &#039;&#039;,
		&#039;database&#039; =&gt; &#039;myblog&#039;,	
		&#039;dbdriver&#039; =&gt; &#039;mysql&#039;,
		&#039;dbh_port&#039; =&gt; &#039;&#039;,
		&#039;char_set&#039; =&gt; &#039;utf8&#039;,
		&#039;dsn&#039; =&gt; &#039;&#039;,
		&#039;options&#039; =&gt; array()
		);
		loader::database($config);
	}
	function GetData() 
	{
	$results=$this-&gt;db-&gt;query(&quot;select * from `tbl_category`&quot;);
	return $results-&gt;fetch_all(assoc);
	}
}

=============== controller
class Site extends Controller {
function __construct(){
	parent::__construct();
	parent::__global(); 
	loader::model(&#039;site_model&#039;);
}
function index(){
$data[&#039;category&#039;]=$this-&gt;site_model-&gt;GetData();
$this-&gt;maincontent = content_view(&#039;blogview&#039;, $data); 
content_app_view(&#039;site_base_layout&#039;);
}
}
========================
How can i fix it?thanks</description>
		<content:encoded><![CDATA[<p>i am trying Obullo beta RC1 on PHP 5.3.0.<br />
I found errors like this<br />
[Obullo][Warning]: PDO::__construct() [pdo.--construct]: [2002] Invalid argument (trying to connect via unix://)<br />
File: /opt/lampp/htdocs/banyuwangi/base/database/DB.php<br />
Line: 79<br />
[Database Error]: SQLSTATE[HY000] [2002] Invalid argument<br />
File: /opt/lampp/htdocs/banyuwangi/base/database/DB.php<br />
Line: 79 </p>
<p>class Site_model extends Model {<br />
	function __construct(){<br />
		parent::__construct();<br />
		$config = array (<br />
		&#8216;variable&#8217; =&gt; &#8216;db&#8217;,<br />
		&#8216;hostname&#8217; =&gt; &#8216;localhost&#8217;,<br />
		&#8216;username&#8217; =&gt; &#8216;root&#8217;,<br />
		&#8216;password&#8217; =&gt; &#8221;,<br />
		&#8216;database&#8217; =&gt; &#8216;myblog&#8217;,<br />
		&#8216;dbdriver&#8217; =&gt; &#8216;mysql&#8217;,<br />
		&#8216;dbh_port&#8217; =&gt; &#8221;,<br />
		&#8216;char_set&#8217; =&gt; &#8216;utf8&#8242;,<br />
		&#8216;dsn&#8217; =&gt; &#8221;,<br />
		&#8216;options&#8217; =&gt; array()<br />
		);<br />
		loader::database($config);<br />
	}<br />
	function GetData()<br />
	{<br />
	$results=$this-&gt;db-&gt;query(&#8220;select * from `tbl_category`&#8221;);<br />
	return $results-&gt;fetch_all(assoc);<br />
	}<br />
}</p>
<p>=============== controller<br />
class Site extends Controller {<br />
function __construct(){<br />
	parent::__construct();<br />
	parent::__global();<br />
	loader::model(&#8216;site_model&#8217;);<br />
}<br />
function index(){<br />
$data['category']=$this-&gt;site_model-&gt;GetData();<br />
$this-&gt;maincontent = content_view(&#8216;blogview&#8217;, $data);<br />
content_app_view(&#8216;site_base_layout&#8217;);<br />
}<br />
}<br />
========================<br />
How can i fix it?thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Holly</title>
		<link>http://develturk.com/2009/10/21/creating-a-php5-mvc-framework-part4-integrating-ci-active-record-to-obullo-pdo-class-routing-impromevents-and-advanced-loader-functions/comment-page-1/#comment-3710</link>
		<dc:creator>Holly</dc:creator>
		<pubDate>Mon, 27 Dec 2010 17:54:40 +0000</pubDate>
		<guid isPermaLink="false">http://develturk.com/?p=211#comment-3710</guid>
		<description>Keep it up and in 2011 !</description>
		<content:encoded><![CDATA[<p>Keep it up and in 2011 !</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://develturk.com/2009/10/21/creating-a-php5-mvc-framework-part4-integrating-ci-active-record-to-obullo-pdo-class-routing-impromevents-and-advanced-loader-functions/comment-page-1/#comment-892</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Thu, 22 Oct 2009 13:03:52 +0000</pubDate>
		<guid isPermaLink="false">http://develturk.com/?p=211#comment-892</guid>
		<description>do u know which file used autoload in this framework its very complex ?  and someone asked this question before. (look at &lt;a href=&quot;http://develturk.com/contact/&quot; rel=&quot;nofollow&quot;&gt;http://develturk.com/contact/&lt;/a&gt;). We use &lt;b&gt;base_register()&lt;/b&gt; and &lt;b&gt;register()&lt;/b&gt; functions instead of __autoload() you should use this way its more filexible.
</description>
		<content:encoded><![CDATA[<p>do u know which file used autoload in this framework its very complex ?  and someone asked this question before. (look at <a href="http://develturk.com/contact/" rel="nofollow">http://develturk.com/contact/</a>). We use <b>base_register()</b> and <b>register()</b> functions instead of __autoload() you should use this way its more filexible.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Zares</title>
		<link>http://develturk.com/2009/10/21/creating-a-php5-mvc-framework-part4-integrating-ci-active-record-to-obullo-pdo-class-routing-impromevents-and-advanced-loader-functions/comment-page-1/#comment-891</link>
		<dc:creator>Zares</dc:creator>
		<pubDate>Thu, 22 Oct 2009 12:24:15 +0000</pubDate>
		<guid isPermaLink="false">http://develturk.com/?p=211#comment-891</guid>
		<description>The autoloading for php5 is well realized in Madeam framefork...</description>
		<content:encoded><![CDATA[<p>The autoloading for php5 is well realized in Madeam framefork&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://develturk.com/2009/10/21/creating-a-php5-mvc-framework-part4-integrating-ci-active-record-to-obullo-pdo-class-routing-impromevents-and-advanced-loader-functions/comment-page-1/#comment-889</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Thu, 22 Oct 2009 06:39:11 +0000</pubDate>
		<guid isPermaLink="false">http://develturk.com/?p=211#comment-889</guid>
		<description>you means like Code Igniter autoloading system (auto load helpers, libraries..) or you just means php5 __autoload magic functionality ?</description>
		<content:encoded><![CDATA[<p>you means like Code Igniter autoloading system (auto load helpers, libraries..) or you just means php5 __autoload magic functionality ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Namaless</title>
		<link>http://develturk.com/2009/10/21/creating-a-php5-mvc-framework-part4-integrating-ci-active-record-to-obullo-pdo-class-routing-impromevents-and-advanced-loader-functions/comment-page-1/#comment-888</link>
		<dc:creator>Namaless</dc:creator>
		<pubDate>Thu, 22 Oct 2009 06:34:56 +0000</pubDate>
		<guid isPermaLink="false">http://develturk.com/?p=211#comment-888</guid>
		<description>Good!

One question: is possible to use php5 autoloading?</description>
		<content:encoded><![CDATA[<p>Good!</p>
<p>One question: is possible to use php5 autoloading?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: way</title>
		<link>http://develturk.com/2009/10/21/creating-a-php5-mvc-framework-part4-integrating-ci-active-record-to-obullo-pdo-class-routing-impromevents-and-advanced-loader-functions/comment-page-1/#comment-887</link>
		<dc:creator>way</dc:creator>
		<pubDate>Wed, 21 Oct 2009 21:52:05 +0000</pubDate>
		<guid isPermaLink="false">http://develturk.com/?p=211#comment-887</guid>
		<description>Fantastic work Ersin, feeling happy to see the next part of your very interesting framework. The next days I will test the new code.
Keep going dude, you are definitly on the right track ;)</description>
		<content:encoded><![CDATA[<p>Fantastic work Ersin, feeling happy to see the next part of your very interesting framework. The next days I will test the new code.<br />
Keep going dude, you are definitly on the right track <img src='http://develturk.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>

