<?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: Writing a Php5 MVC Framework like Code Igniter Part2: Model,Database(pdo),Exceptions and Errors,Helpers</title>
	<atom:link href="http://develturk.com/2009/09/07/writing-a-php5-mvc-framework-like-code-igniter-part2-model-database-pdo-exceptions-and-errors-helpers/feed/" rel="self" type="application/rss+xml" />
	<link>http://develturk.com/2009/09/07/writing-a-php5-mvc-framework-like-code-igniter-part2-model-database-pdo-exceptions-and-errors-helpers/</link>
	<description>Ersin Güvenç's Personal Development Blog</description>
	<pubDate>Tue, 07 Sep 2010 09:28:45 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Zares</title>
		<link>http://develturk.com/2009/09/07/writing-a-php5-mvc-framework-like-code-igniter-part2-model-database-pdo-exceptions-and-errors-helpers/comment-page-1/#comment-862</link>
		<dc:creator>Zares</dc:creator>
		<pubDate>Wed, 14 Oct 2009 09:24:38 +0000</pubDate>
		<guid isPermaLink="false">http://develturk.com/?p=171#comment-862</guid>
		<description>Great work!
I observe some weeks of development of this project.
And I think, that this framework is a grand tool for anyone web-developer...</description>
		<content:encoded><![CDATA[<p>Great work!<br />
I observe some weeks of development of this project.<br />
And I think, that this framework is a grand tool for anyone web-developer&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: xtc2xl</title>
		<link>http://develturk.com/2009/09/07/writing-a-php5-mvc-framework-like-code-igniter-part2-model-database-pdo-exceptions-and-errors-helpers/comment-page-1/#comment-770</link>
		<dc:creator>xtc2xl</dc:creator>
		<pubDate>Sat, 19 Sep 2009 08:52:30 +0000</pubDate>
		<guid isPermaLink="false">http://develturk.com/?p=171#comment-770</guid>
		<description>thanks for your quick reply, looking forward to playing around with this (btw remember to change your download.zip if you get the chance)</description>
		<content:encoded><![CDATA[<p>thanks for your quick reply, looking forward to playing around with this (btw remember to change your download.zip if you get the chance)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://develturk.com/2009/09/07/writing-a-php5-mvc-framework-like-code-igniter-part2-model-database-pdo-exceptions-and-errors-helpers/comment-page-1/#comment-756</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Fri, 18 Sep 2009 23:09:44 +0000</pubDate>
		<guid isPermaLink="false">http://develturk.com/?p=171#comment-756</guid>
		<description>thanks your feedback i didn't test it under the php 5.3.0
so you need do some changes..

1 - open DB.php change prepare function name as _prepare
2 - open test/model_test.php change all $this-&gt;prepare lines as $this-&gt;_prepare
3 - open DBFactory.php remove completely 'mysql' part and add this lines ... 

&lt;code&gt;$dbh = new DB("mysql:host=$hostname;dbname=$database","$username","$password");
$dbh-&gt;query('SET NAMES utf8');&lt;/code&gt;

now it works also with 5.3.0</description>
		<content:encoded><![CDATA[<p>thanks your feedback i didn&#8217;t test it under the php 5.3.0<br />
so you need do some changes..</p>
<p>1 - open DB.php change prepare function name as _prepare<br />
2 - open test/model_test.php change all $this-&gt;prepare lines as $this-&gt;_prepare<br />
3 - open DBFactory.php remove completely &#8216;mysql&#8217; part and add this lines &#8230; </p>
<p><code>$dbh = new DB("mysql:host=$hostname;dbname=$database","$username","$password");<br />
$dbh->query('SET NAMES utf8');</code></p>
<p>now it works also with 5.3.0</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: xtc2xl</title>
		<link>http://develturk.com/2009/09/07/writing-a-php5-mvc-framework-like-code-igniter-part2-model-database-pdo-exceptions-and-errors-helpers/comment-page-1/#comment-754</link>
		<dc:creator>xtc2xl</dc:creator>
		<pubDate>Fri, 18 Sep 2009 20:28:42 +0000</pubDate>
		<guid isPermaLink="false">http://develturk.com/?p=171#comment-754</guid>
		<description>sounds nice but error when running

[Obullo][Strict Error]:Declaration of DB::prepare() should be compatible with that of PDO::prepare()
File:  C:\wamp\www\obullo\base\database\DB.php
Line:  269

Fatal error: Undefined class constant 'MYSQL_ATTR_INIT_COMMAND' in C:\wamp\www\obullo\base\database\DBFactory.php on line 73</description>
		<content:encoded><![CDATA[<p>sounds nice but error when running</p>
<p>[Obullo][Strict Error]:Declaration of DB::prepare() should be compatible with that of PDO::prepare()<br />
File:  C:\wamp\www\obullo\base\database\DB.php<br />
Line:  269</p>
<p>Fatal error: Undefined class constant &#8216;MYSQL_ATTR_INIT_COMMAND&#8217; in C:\wamp\www\obullo\base\database\DBFactory.php on line 73</p>
]]></content:encoded>
	</item>
</channel>
</rss>
