<?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"
	>
<channel>
	<title>Comments on: CodeIgniter and Doctrine</title>
	<atom:link href="http://blog.medryx.org/2008/10/04/codeigniter-and-doctrine/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.medryx.org/2008/10/04/codeigniter-and-doctrine/</link>
	<description>Observations of a physician software developer.</description>
	<pubDate>Sat, 31 Jul 2010 03:52:33 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
		<item>
		<title>By: netfusion</title>
		<link>http://blog.medryx.org/2008/10/04/codeigniter-and-doctrine/#comment-260</link>
		<dc:creator>netfusion</dc:creator>
		<pubDate>Sat, 22 May 2010 12:59:14 +0000</pubDate>
		<guid isPermaLink="false">http://blog.medryx.org/?p=77#comment-260</guid>
		<description>i wonder with this technique, how do i autogenerated class models using cli. 
this code is cleaner but the code in wiki have capability to autogenerated doctrine class model.</description>
		<content:encoded><![CDATA[<p>i wonder with this technique, how do i autogenerated class models using cli.<br />
this code is cleaner but the code in wiki have capability to autogenerated doctrine class model.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: endless beginning</title>
		<link>http://blog.medryx.org/2008/10/04/codeigniter-and-doctrine/#comment-259</link>
		<dc:creator>endless beginning</dc:creator>
		<pubDate>Tue, 11 May 2010 08:54:27 +0000</pubDate>
		<guid isPermaLink="false">http://blog.medryx.org/?p=77#comment-259</guid>
		<description>It works and much better than editing index.php and database.php file. Thanks for sharing..</description>
		<content:encoded><![CDATA[<p>It works and much better than editing index.php and database.php file. Thanks for sharing..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hamza</title>
		<link>http://blog.medryx.org/2008/10/04/codeigniter-and-doctrine/#comment-251</link>
		<dc:creator>hamza</dc:creator>
		<pubDate>Tue, 15 Dec 2009 15:38:04 +0000</pubDate>
		<guid isPermaLink="false">http://blog.medryx.org/?p=77#comment-251</guid>
		<description>Fatal error: Uncaught exception 'Doctrine_Connection_Mysql_Exception' with message 'SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'johndoe' for key 2' in C:\AppServ\www\ci_doctrine_day1\system\application\plugins\doctrine\lib\Doctrine\Connection.php:1082 Stack trace: #0 C:\AppServ\www\ci_doctrine_day1\system\application\plugins\doctrine\lib\Doctrine\Connection\Statement.php(269): Doctrine_Connection-&#62;rethrowException(Object(PDOException), Object(Doctrine_Connection_Statement)) #1 C:\AppServ\www\ci_doctrine_day1\system\application\plugins\doctrine\lib\Doctrine\Connection.php(1042): Doctrine_Connection_Statement-&#62;execute(Array) #2 C:\AppServ\www\ci_doctrine_day1\system\application\plugins\doctrine\lib\Doctrine\Connection.php(687): Doctrine_Connection-&#62;exec('INSERT INTO use...', Array) #3 C:\AppServ\www\ci_doctrine_day1\system\application\plugins\doctrine\lib\Doctrine\Connection\UnitOfWork.php(631): Doctrine_Connection-&#62;insert(Object(Doctrine_Table), Array) #4 C:\AppServ\www\ci_doctrine_day1\system\ap in C:\AppServ\www\ci_doctrine_day1\system\application\plugins\doctrine\lib\Doctrine\Connection.php on line 1082


plz tell me what does it mean.</description>
		<content:encoded><![CDATA[<p>Fatal error: Uncaught exception &#8216;Doctrine_Connection_Mysql_Exception&#8217; with message &#8216;SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry &#8216;johndoe&#8217; for key 2&#8242; in C:\AppServ\www\ci_doctrine_day1\system\application\plugins\doctrine\lib\Doctrine\Connection.php:1082 Stack trace: #0 C:\AppServ\www\ci_doctrine_day1\system\application\plugins\doctrine\lib\Doctrine\Connection\Statement.php(269): Doctrine_Connection-&gt;rethrowException(Object(PDOException), Object(Doctrine_Connection_Statement)) #1 C:\AppServ\www\ci_doctrine_day1\system\application\plugins\doctrine\lib\Doctrine\Connection.php(1042): Doctrine_Connection_Statement-&gt;execute(Array) #2 C:\AppServ\www\ci_doctrine_day1\system\application\plugins\doctrine\lib\Doctrine\Connection.php(687): Doctrine_Connection-&gt;exec(&#8217;INSERT INTO use&#8230;&#8217;, Array) #3 C:\AppServ\www\ci_doctrine_day1\system\application\plugins\doctrine\lib\Doctrine\Connection\UnitOfWork.php(631): Doctrine_Connection-&gt;insert(Object(Doctrine_Table), Array) #4 C:\AppServ\www\ci_doctrine_day1\system\ap in C:\AppServ\www\ci_doctrine_day1\system\application\plugins\doctrine\lib\Doctrine\Connection.php on line 1082</p>
<p>plz tell me what does it mean.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Codemaster Snake</title>
		<link>http://blog.medryx.org/2008/10/04/codeigniter-and-doctrine/#comment-248</link>
		<dc:creator>Codemaster Snake</dc:creator>
		<pubDate>Wed, 07 Oct 2009 19:18:01 +0000</pubDate>
		<guid isPermaLink="false">http://blog.medryx.org/?p=77#comment-248</guid>
		<description>btw here is the code of my model abc.php under modles flder

&#60;?php

class abc extends Doctrine_Record {
	function setTableDefinition() {
		//set up your model fields
	}
}</description>
		<content:encoded><![CDATA[<p>btw here is the code of my model abc.php under modles flder</p>
<p>&lt;?php</p>
<p>class abc extends Doctrine_Record {<br />
	function setTableDefinition() {<br />
		//set up your model fields<br />
	}<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Codemaster Snake</title>
		<link>http://blog.medryx.org/2008/10/04/codeigniter-and-doctrine/#comment-247</link>
		<dc:creator>Codemaster Snake</dc:creator>
		<pubDate>Wed, 07 Oct 2009 19:16:48 +0000</pubDate>
		<guid isPermaLink="false">http://blog.medryx.org/?p=77#comment-247</guid>
		<description>hi there,

Great article. Well I am trying to use Doctrine as you said. But am getting an errror:

Fatal error: Class 'abc' not found in F:\wamp\www\system\application\controllers\lab.php on line 11

i am clueless. I am using 1.7.2 version of ci. I have also populated the database field in config</description>
		<content:encoded><![CDATA[<p>hi there,</p>
<p>Great article. Well I am trying to use Doctrine as you said. But am getting an errror:</p>
<p>Fatal error: Class &#8216;abc&#8217; not found in F:\wamp\www\system\application\controllers\lab.php on line 11</p>
<p>i am clueless. I am using 1.7.2 version of ci. I have also populated the database field in config</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: links for 2009-03-27 &#8212; Mior Muhammad Zaki: PHP &#38; JavaScript Programmer</title>
		<link>http://blog.medryx.org/2008/10/04/codeigniter-and-doctrine/#comment-153</link>
		<dc:creator>links for 2009-03-27 &#8212; Mior Muhammad Zaki: PHP &#38; JavaScript Programmer</dc:creator>
		<pubDate>Fri, 27 Mar 2009 17:26:34 +0000</pubDate>
		<guid isPermaLink="false">http://blog.medryx.org/?p=77#comment-153</guid>
		<description>[...]        March 28 2009    Zaki saved Stop Caching Old Files - A PHP Function and CodeIgniter and Doctrine on Delicious.   02:00 am - No [...]</description>
		<content:encoded><![CDATA[<p>[...]        March 28 2009    Zaki saved Stop Caching Old Files - A PHP Function and CodeIgniter and Doctrine on Delicious.   02:00 am - No [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dxrsm</title>
		<link>http://blog.medryx.org/2008/10/04/codeigniter-and-doctrine/#comment-128</link>
		<dc:creator>dxrsm</dc:creator>
		<pubDate>Thu, 04 Dec 2008 22:53:50 +0000</pubDate>
		<guid isPermaLink="false">http://blog.medryx.org/?p=77#comment-128</guid>
		<description>Hello and thanks for an informative post.
How would you setup the cl interface, based on that method?</description>
		<content:encoded><![CDATA[<p>Hello and thanks for an informative post.<br />
How would you setup the cl interface, based on that method?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: john</title>
		<link>http://blog.medryx.org/2008/10/04/codeigniter-and-doctrine/#comment-122</link>
		<dc:creator>john</dc:creator>
		<pubDate>Thu, 20 Nov 2008 00:38:09 +0000</pubDate>
		<guid isPermaLink="false">http://blog.medryx.org/?p=77#comment-122</guid>
		<description>I'm glad I have moved on from CodeIgniter and Doctrine to Kohana, which is like CI in a lot of ways but is PHP5 and comes with great ORM...

Check it:
http://docs.kohanaphp.com/libraries/orm</description>
		<content:encoded><![CDATA[<p>I&#8217;m glad I have moved on from CodeIgniter and Doctrine to Kohana, which is like CI in a lot of ways but is PHP5 and comes with great ORM&#8230;</p>
<p>Check it:<br />
<a href="http://docs.kohanaphp.com/libraries/orm" rel="nofollow">http://docs.kohanaphp.com/libraries/orm</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: barbazul</title>
		<link>http://blog.medryx.org/2008/10/04/codeigniter-and-doctrine/#comment-118</link>
		<dc:creator>barbazul</dc:creator>
		<pubDate>Sat, 08 Nov 2008 21:48:49 +0000</pubDate>
		<guid isPermaLink="false">http://blog.medryx.org/?p=77#comment-118</guid>
		<description>I think this is a great improvement from the Wiki method as I also hate to hack the core

I was thinking nonetheless, by applying this method you're always Autoloading Doctrine, which might not be what desired in some cases. 
Wouldn't i make sense to use a plugin instead of a hook ?

In that way you can call
[code]
$this-&#62;load-&#62;plugin("doctrine");
[/code]

whenever you really need it</description>
		<content:encoded><![CDATA[<p>I think this is a great improvement from the Wiki method as I also hate to hack the core</p>
<p>I was thinking nonetheless, by applying this method you&#8217;re always Autoloading Doctrine, which might not be what desired in some cases.<br />
Wouldn&#8217;t i make sense to use a plugin instead of a hook ?</p>
<p>In that way you can call<br />
[code]<br />
$this-&gt;load-&gt;plugin(&#8221;doctrine&#8221;);<br />
[/code]</p>
<p>whenever you really need it</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom</title>
		<link>http://blog.medryx.org/2008/10/04/codeigniter-and-doctrine/#comment-106</link>
		<dc:creator>Tom</dc:creator>
		<pubDate>Mon, 20 Oct 2008 17:28:35 +0000</pubDate>
		<guid isPermaLink="false">http://blog.medryx.org/?p=77#comment-106</guid>
		<description>Hey, I solved my problem.

Some of my doctrine models were named the same as my CI controllers.

I named my Code Ignitor controller Account, which there was also a doctrine model named Account, so these two class names were conflicting

Solved this issue by simply changing the CI controller to Account(s) with an s at the end.

Hope this helps anyone that got stuck on the same issue.

Tom</description>
		<content:encoded><![CDATA[<p>Hey, I solved my problem.</p>
<p>Some of my doctrine models were named the same as my CI controllers.</p>
<p>I named my Code Ignitor controller Account, which there was also a doctrine model named Account, so these two class names were conflicting</p>
<p>Solved this issue by simply changing the CI controller to Account(s) with an s at the end.</p>
<p>Hope this helps anyone that got stuck on the same issue.</p>
<p>Tom</p>
]]></content:encoded>
	</item>
</channel>
</rss>
