<?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: Introducing Doctrine 1.2 Integration</title>
	<atom:link href="http://www.zendcasts.com/introducing-doctrine-1-2-integration/2009/11/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.zendcasts.com/introducing-doctrine-1-2-integration/2009/11/</link>
	<description>free Zend Framework screencasts. Video tutorials to get you up to speed with different parts of the Zend Framework and enterprise PHP development.</description>
	<lastBuildDate>Wed, 01 Feb 2012 00:49:27 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: Marcio Vinicius</title>
		<link>http://www.zendcasts.com/introducing-doctrine-1-2-integration/2009/11/comment-page-1/#comment-25764</link>
		<dc:creator>Marcio Vinicius</dc:creator>
		<pubDate>Mon, 14 Nov 2011 14:33:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=282#comment-25764</guid>
		<description>Hi Jon, How are you?

I&#039;m from Brazil, i&#039;m sorry by my english.

I followed the tutorial correctly, but return message is: 
Fatal error: Class &#039;User&#039; not found in...

Help-me?

Thank you very much!!!</description>
		<content:encoded><![CDATA[<p>Hi Jon, How are you?</p>
<p>I&#8217;m from Brazil, i&#8217;m sorry by my english.</p>
<p>I followed the tutorial correctly, but return message is:<br />
Fatal error: Class &#8216;User&#8217; not found in&#8230;</p>
<p>Help-me?</p>
<p>Thank you very much!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Viren</title>
		<link>http://www.zendcasts.com/introducing-doctrine-1-2-integration/2009/11/comment-page-1/#comment-20335</link>
		<dc:creator>Viren</dc:creator>
		<pubDate>Tue, 28 Jun 2011 07:25:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=282#comment-20335</guid>
		<description>Excellent video..
I configured doctrine with zend in 10 mins..
all thanks to your video.. :)

Thanks again...</description>
		<content:encoded><![CDATA[<p>Excellent video..<br />
I configured doctrine with zend in 10 mins..<br />
all thanks to your video.. <img src='http://www.zendcasts.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Thanks again&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jon</title>
		<link>http://www.zendcasts.com/introducing-doctrine-1-2-integration/2009/11/comment-page-1/#comment-16321</link>
		<dc:creator>jon</dc:creator>
		<pubDate>Sat, 19 Mar 2011 12:19:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=282#comment-16321</guid>
		<description>@Nicol:
- the autoloader means you don&#039;t need &quot;require_once&quot; statements everywhere
- the bootstrap is used to plug in the Doctrine library
- the code is used to boot up the doctrine library</description>
		<content:encoded><![CDATA[<p>@Nicol:<br />
- the autoloader means you don&#8217;t need &#8220;require_once&#8221; statements everywhere<br />
- the bootstrap is used to plug in the Doctrine library<br />
- the code is used to boot up the doctrine library</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jon</title>
		<link>http://www.zendcasts.com/introducing-doctrine-1-2-integration/2009/11/comment-page-1/#comment-16320</link>
		<dc:creator>jon</dc:creator>
		<pubDate>Sat, 19 Mar 2011 12:18:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=282#comment-16320</guid>
		<description>Hi Nicol,

I&#039;m not memorizing, but I review the material ahead of time. They probably removed the sandbox because Doctrine is now at version 2</description>
		<content:encoded><![CDATA[<p>Hi Nicol,</p>
<p>I&#8217;m not memorizing, but I review the material ahead of time. They probably removed the sandbox because Doctrine is now at version 2</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nicol</title>
		<link>http://www.zendcasts.com/introducing-doctrine-1-2-integration/2009/11/comment-page-1/#comment-16161</link>
		<dc:creator>nicol</dc:creator>
		<pubDate>Sun, 13 Mar 2011 19:59:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=282#comment-16161</guid>
		<description>please talk a little bit why...
why you use autoloader?
why you add line of lines code in the bootstrap?
What are those code doing?
Why are they necessary?</description>
		<content:encoded><![CDATA[<p>please talk a little bit why&#8230;<br />
why you use autoloader?<br />
why you add line of lines code in the bootstrap?<br />
What are those code doing?<br />
Why are they necessary?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nicol</title>
		<link>http://www.zendcasts.com/introducing-doctrine-1-2-integration/2009/11/comment-page-1/#comment-16160</link>
		<dc:creator>nicol</dc:creator>
		<pubDate>Sun, 13 Mar 2011 19:58:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=282#comment-16160</guid>
		<description>Are you just memorizing all the code and repeating in the cast? I don&#039;t have a clue what are you doing over there....</description>
		<content:encoded><![CDATA[<p>Are you just memorizing all the code and repeating in the cast? I don&#8217;t have a clue what are you doing over there&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nicol</title>
		<link>http://www.zendcasts.com/introducing-doctrine-1-2-integration/2009/11/comment-page-1/#comment-16159</link>
		<dc:creator>nicol</dc:creator>
		<pubDate>Sun, 13 Mar 2011 19:42:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=282#comment-16159</guid>
		<description>Doctrine deleted sandbox version of doctrine on their website.... Why?</description>
		<content:encoded><![CDATA[<p>Doctrine deleted sandbox version of doctrine on their website&#8230;. Why?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeboy</title>
		<link>http://www.zendcasts.com/introducing-doctrine-1-2-integration/2009/11/comment-page-1/#comment-9151</link>
		<dc:creator>Jeboy</dc:creator>
		<pubDate>Fri, 06 Aug 2010 02:19:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=282#comment-9151</guid>
		<description>Hi,

Can you create a guide for integrating Zend Framework 1.10 and Doctrine 2?

Thanks</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Can you create a guide for integrating Zend Framework 1.10 and Doctrine 2?</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vincent</title>
		<link>http://www.zendcasts.com/introducing-doctrine-1-2-integration/2009/11/comment-page-1/#comment-8190</link>
		<dc:creator>Vincent</dc:creator>
		<pubDate>Mon, 28 Jun 2010 19:12:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=282#comment-8190</guid>
		<description>Following the tutorial I got my CLI working but all the webrequests keep returning errors:

exception &#039;Zend_Application_Bootstrap_Exception&#039; with message &#039;Unable to resolve plugin &quot;doctrine&quot;; no corresponding plugin with that name&#039; in /home/tastedev/lib/Zend/Application/Bootstrap/BootstrapAbstract.php:330
Stack trace:
#0 /home/tastedev/lib/Zend/Application/Bootstrap/BootstrapAbstract.php(379): Zend_Application_Bootstrap_BootstrapAbstract-&gt;getPluginResource(&#039;doctrine&#039;)
#1 /home/tastedev/lib/Zend/Application/Bootstrap/BootstrapAbstract.php(391): Zend_Application_Bootstrap_BootstrapAbstract-&gt;getPluginResources()
#2 /home/tastedev/lib/Zend/Application/Bootstrap/BootstrapAbstract.php(621): Zend_Application_Bootstrap_BootstrapAbstract-&gt;getPluginResourceNames()
#3 /home/tastedev/lib/Zend/Application/Bootstrap/BootstrapAbstract.php(582): Zend_Application_Bootstrap_BootstrapAbstract-&gt;_bootstrap(NULL)
#4 /home/tastedev/lib/Zend/Application.php(355): Zend_Application_Bootstrap_BootstrapAbstract-&gt;bootstrap(NULL)
#5 /home/tastedev/www/index.php(13): Zend_Application-&gt;bootstrap()
#6 {main}

Anyone got an idea what I did wrong?</description>
		<content:encoded><![CDATA[<p>Following the tutorial I got my CLI working but all the webrequests keep returning errors:</p>
<p>exception &#8216;Zend_Application_Bootstrap_Exception&#8217; with message &#8216;Unable to resolve plugin &#8220;doctrine&#8221;; no corresponding plugin with that name&#8217; in /home/tastedev/lib/Zend/Application/Bootstrap/BootstrapAbstract.php:330<br />
Stack trace:<br />
#0 /home/tastedev/lib/Zend/Application/Bootstrap/BootstrapAbstract.php(379): Zend_Application_Bootstrap_BootstrapAbstract-&gt;getPluginResource(&#8216;doctrine&#8217;)<br />
#1 /home/tastedev/lib/Zend/Application/Bootstrap/BootstrapAbstract.php(391): Zend_Application_Bootstrap_BootstrapAbstract-&gt;getPluginResources()<br />
#2 /home/tastedev/lib/Zend/Application/Bootstrap/BootstrapAbstract.php(621): Zend_Application_Bootstrap_BootstrapAbstract-&gt;getPluginResourceNames()<br />
#3 /home/tastedev/lib/Zend/Application/Bootstrap/BootstrapAbstract.php(582): Zend_Application_Bootstrap_BootstrapAbstract-&gt;_bootstrap(NULL)<br />
#4 /home/tastedev/lib/Zend/Application.php(355): Zend_Application_Bootstrap_BootstrapAbstract-&gt;bootstrap(NULL)<br />
#5 /home/tastedev/www/index.php(13): Zend_Application-&gt;bootstrap()<br />
#6 {main}</p>
<p>Anyone got an idea what I did wrong?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Küpper</title>
		<link>http://www.zendcasts.com/introducing-doctrine-1-2-integration/2009/11/comment-page-1/#comment-7299</link>
		<dc:creator>Küpper</dc:creator>
		<pubDate>Fri, 14 May 2010 12:39:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=282#comment-7299</guid>
		<description>Aaaa, sorry dudes, my problem is soved, I missed the namespace config on application.ini

So sorry, and thanks again!</description>
		<content:encoded><![CDATA[<p>Aaaa, sorry dudes, my problem is soved, I missed the namespace config on application.ini</p>
<p>So sorry, and thanks again!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Küpper</title>
		<link>http://www.zendcasts.com/introducing-doctrine-1-2-integration/2009/11/comment-page-1/#comment-7298</link>
		<dc:creator>Küpper</dc:creator>
		<pubDate>Fri, 14 May 2010 12:15:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=282#comment-7298</guid>
		<description>Hey there!
I&#039;m having problems with this:

&quot;spl_autoload_register(array(&#039;Doctrine&#039;, &#039;modelsAutoload&#039;));&quot;

Rises a big stack of error!!

Fatal error: Uncaught exception &#039;LogicException&#039; with message &#039;Passed array does not specify an existing static method (class &#039;Doctrine&#039; not found)&#039; in C:\xampp\htdocs\doctrine_zend\application\Bootstrap.php:11 Stack trace: #0 C:\xampp\htdocs\doctrine_zend\application\Bootstrap.php(11): spl_autoload_register(Array) #1 C:\xampp\php\PEAR\Zend\Application\Bootstrap\BootstrapAbstract.php(662): Bootstrap-&gt;_initDoctrine() #2 C:\xampp\php\PEAR\Zend\Application\Bootstrap\BootstrapAbstract.php(615): Zend_Application_Bootstrap_BootstrapAbstract-&gt;_executeResource(&#039;doctrine&#039;) #3 C:\xampp\php\PEAR\Zend\Application\Bootstrap\BootstrapAbstract.php(579): Zend_Application_Bootstrap_BootstrapAbstract-&gt;_bootstrap(NULL) #4 C:\xampp\php\PEAR\Zend\Application.php(347): Zend_Application_Bootstrap_BootstrapAbstract-&gt;bootstrap(NULL) #5 C:\xampp\htdocs\doctrine_zend\public\index.php(25): Zend_Application-&gt;bootstrap() #6 {main} thrown in C:\xampp\htdocs\doctrine_zend\application\Bootstrap.php on line 11

Is there any tips to solve this?

Thanks!</description>
		<content:encoded><![CDATA[<p>Hey there!<br />
I&#8217;m having problems with this:</p>
<p>&#8220;spl_autoload_register(array(&#8216;Doctrine&#8217;, &#8216;modelsAutoload&#8217;));&#8221;</p>
<p>Rises a big stack of error!!</p>
<p>Fatal error: Uncaught exception &#8216;LogicException&#8217; with message &#8216;Passed array does not specify an existing static method (class &#8216;Doctrine&#8217; not found)&#8217; in C:\xampp\htdocs\doctrine_zend\application\Bootstrap.php:11 Stack trace: #0 C:\xampp\htdocs\doctrine_zend\application\Bootstrap.php(11): spl_autoload_register(Array) #1 C:\xampp\php\PEAR\Zend\Application\Bootstrap\BootstrapAbstract.php(662): Bootstrap-&gt;_initDoctrine() #2 C:\xampp\php\PEAR\Zend\Application\Bootstrap\BootstrapAbstract.php(615): Zend_Application_Bootstrap_BootstrapAbstract-&gt;_executeResource(&#8216;doctrine&#8217;) #3 C:\xampp\php\PEAR\Zend\Application\Bootstrap\BootstrapAbstract.php(579): Zend_Application_Bootstrap_BootstrapAbstract-&gt;_bootstrap(NULL) #4 C:\xampp\php\PEAR\Zend\Application.php(347): Zend_Application_Bootstrap_BootstrapAbstract-&gt;bootstrap(NULL) #5 C:\xampp\htdocs\doctrine_zend\public\index.php(25): Zend_Application-&gt;bootstrap() #6 {main} thrown in C:\xampp\htdocs\doctrine_zend\application\Bootstrap.php on line 11</p>
<p>Is there any tips to solve this?</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: E:S</title>
		<link>http://www.zendcasts.com/introducing-doctrine-1-2-integration/2009/11/comment-page-1/#comment-6439</link>
		<dc:creator>E:S</dc:creator>
		<pubDate>Fri, 02 Apr 2010 19:11:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=282#comment-6439</guid>
		<description>@mysticav - actually under Windows is should be enough to enter &quot;php doctrine.php&quot; in the command line ;) I&#039;m using Zend Server CE as well.

Kind regards,
E:S</description>
		<content:encoded><![CDATA[<p>@mysticav &#8211; actually under Windows is should be enough to enter &#8220;php doctrine.php&#8221; in the command line <img src='http://www.zendcasts.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  I&#8217;m using Zend Server CE as well.</p>
<p>Kind regards,<br />
E:S</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mysticav</title>
		<link>http://www.zendcasts.com/introducing-doctrine-1-2-integration/2009/11/comment-page-1/#comment-6148</link>
		<dc:creator>mysticav</dc:creator>
		<pubDate>Wed, 17 Mar 2010 21:17:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=282#comment-6148</guid>
		<description>Mist, I&#039;m using Zend Server CE on Windows, and for me it was enough to just remove the  shebang line (first line). I ended up with this:

# Start Script

&lt;?php
chdir(dirname(__FILE__));
include(&#039;doctrine.php&#039;);

# End Script


Everything works perfect. This is a great tutorial, indeed.</description>
		<content:encoded><![CDATA[<p>Mist, I&#8217;m using Zend Server CE on Windows, and for me it was enough to just remove the  shebang line (first line). I ended up with this:</p>
<p># Start Script</p>
<p>&lt;?php<br />
chdir(dirname(__FILE__));<br />
include(&#039;doctrine.php&#039;);</p>
<p># End Script</p>
<p>Everything works perfect. This is a great tutorial, indeed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MiST</title>
		<link>http://www.zendcasts.com/introducing-doctrine-1-2-integration/2009/11/comment-page-1/#comment-5395</link>
		<dc:creator>MiST</dc:creator>
		<pubDate>Sun, 14 Feb 2010 15:45:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=282#comment-5395</guid>
		<description>For those of you, working with Windows and XAMPP. The Doctrine shell script looks a bit like this.

/application/scripts/doctrine.bat

@ECHO off

SET PHP_BIN=../../../../php/php.exe
SET DOCTRINE_SCRIPT=doctrine.php
&quot;%PHP_BIN%&quot; -d safe_mode=Off -f &quot;%DOCTRINE_SCRIPT%&quot; -- %*

Assuming that your project is in the htdocs folder. 

With this, you can run doctrine build-all-reload in the console.</description>
		<content:encoded><![CDATA[<p>For those of you, working with Windows and XAMPP. The Doctrine shell script looks a bit like this.</p>
<p>/application/scripts/doctrine.bat</p>
<p>@ECHO off</p>
<p>SET PHP_BIN=../../../../php/php.exe<br />
SET DOCTRINE_SCRIPT=doctrine.php<br />
&#8220;%PHP_BIN%&#8221; -d safe_mode=Off -f &#8220;%DOCTRINE_SCRIPT%&#8221; &#8212; %*</p>
<p>Assuming that your project is in the htdocs folder. </p>
<p>With this, you can run doctrine build-all-reload in the console.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jon</title>
		<link>http://www.zendcasts.com/introducing-doctrine-1-2-integration/2009/11/comment-page-1/#comment-5146</link>
		<dc:creator>jon</dc:creator>
		<pubDate>Mon, 01 Feb 2010 14:37:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=282#comment-5146</guid>
		<description>Hi lexterv,

using build-all-reload should load the data fixtures as well.</description>
		<content:encoded><![CDATA[<p>Hi lexterv,</p>
<p>using build-all-reload should load the data fixtures as well.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lexterv</title>
		<link>http://www.zendcasts.com/introducing-doctrine-1-2-integration/2009/11/comment-page-1/#comment-5121</link>
		<dc:creator>lexterv</dc:creator>
		<pubDate>Sun, 31 Jan 2010 15:57:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=282#comment-5121</guid>
		<description>Hello, thanks for this very helpful screencast, i have been able to follow it pretty easily. tryed almost every doctrine command and they all worked. But when i try load the fixtures i get an error saying couldn&#039;t find class user...</description>
		<content:encoded><![CDATA[<p>Hello, thanks for this very helpful screencast, i have been able to follow it pretty easily. tryed almost every doctrine command and they all worked. But when i try load the fixtures i get an error saying couldn&#8217;t find class user&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Doctrine és Zend Framework integráció &#171; vbali blogja</title>
		<link>http://www.zendcasts.com/introducing-doctrine-1-2-integration/2009/11/comment-page-1/#comment-4990</link>
		<dc:creator>Doctrine és Zend Framework integráció &#171; vbali blogja</dc:creator>
		<pubDate>Sun, 24 Jan 2010 13:18:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=282#comment-4990</guid>
		<description>[...] Introducing Doctrine 1.2 Integration [...]</description>
		<content:encoded><![CDATA[<p>[...] Introducing Doctrine 1.2 Integration [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jon</title>
		<link>http://www.zendcasts.com/introducing-doctrine-1-2-integration/2009/11/comment-page-1/#comment-4542</link>
		<dc:creator>jon</dc:creator>
		<pubDate>Sun, 10 Jan 2010 02:56:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=282#comment-4542</guid>
		<description>I believe its there! When in doubt just download from the RSS feed.</description>
		<content:encoded><![CDATA[<p>I believe its there! When in doubt just download from the RSS feed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: daniel</title>
		<link>http://www.zendcasts.com/introducing-doctrine-1-2-integration/2009/11/comment-page-1/#comment-4492</link>
		<dc:creator>daniel</dc:creator>
		<pubDate>Thu, 07 Jan 2010 19:19:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=282#comment-4492</guid>
		<description>where is the video???</description>
		<content:encoded><![CDATA[<p>where is the video???</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dave</title>
		<link>http://www.zendcasts.com/introducing-doctrine-1-2-integration/2009/11/comment-page-1/#comment-4224</link>
		<dc:creator>dave</dc:creator>
		<pubDate>Tue, 29 Dec 2009 23:45:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=282#comment-4224</guid>
		<description>hello Jnunez !

well I began a new project with &quot;Doctrine Relations and Data Fixtures&quot;, which talked about my problem autoloading and it fixed it
think&#039;s ! :)</description>
		<content:encoded><![CDATA[<p>hello Jnunez !</p>
<p>well I began a new project with &#8220;Doctrine Relations and Data Fixtures&#8221;, which talked about my problem autoloading and it fixed it<br />
think&#8217;s ! <img src='http://www.zendcasts.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jnunez</title>
		<link>http://www.zendcasts.com/introducing-doctrine-1-2-integration/2009/11/comment-page-1/#comment-4202</link>
		<dc:creator>jnunez</dc:creator>
		<pubDate>Mon, 28 Dec 2009 22:58:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=282#comment-4202</guid>
		<description>Hi Dave,

Not sure if you are still having issues with the item above but if you copied and paste the code provided by Andry check the double quotes around Base_ make sure they are not the &quot;smart quotes&quot;.</description>
		<content:encoded><![CDATA[<p>Hi Dave,</p>
<p>Not sure if you are still having issues with the item above but if you copied and paste the code provided by Andry check the double quotes around Base_ make sure they are not the &#8220;smart quotes&#8221;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dave</title>
		<link>http://www.zendcasts.com/introducing-doctrine-1-2-integration/2009/11/comment-page-1/#comment-4027</link>
		<dc:creator>dave</dc:creator>
		<pubDate>Sat, 19 Dec 2009 14:48:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=282#comment-4027</guid>
		<description>think Andry !

well now it find User, but not BaseUser :
Error: Class &#039;BaseUser&#039; not found in (...)\User.php

so it found User, but only with 
$users = Doctrine_Core::getTable(&#039;User&#039;)-&gt;find();

if I use $user = new User(); it don&#039;t find it

so I suppos autoload don&#039;t really work here 
:(</description>
		<content:encoded><![CDATA[<p>think Andry !</p>
<p>well now it find User, but not BaseUser :<br />
Error: Class &#8216;BaseUser&#8217; not found in (&#8230;)\User.php</p>
<p>so it found User, but only with<br />
$users = Doctrine_Core::getTable(&#8216;User&#8217;)-&gt;find();</p>
<p>if I use $user = new User(); it don&#8217;t find it</p>
<p>so I suppos autoload don&#8217;t really work here<br />
 <img src='http://www.zendcasts.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Zend Framework Blog &#187; Blog Archive &#187; Aus den Zend Framework Blogs (Spezial: Doctrine und Zend Framework)</title>
		<link>http://www.zendcasts.com/introducing-doctrine-1-2-integration/2009/11/comment-page-1/#comment-3943</link>
		<dc:creator>Zend Framework Blog &#187; Blog Archive &#187; Aus den Zend Framework Blogs (Spezial: Doctrine und Zend Framework)</dc:creator>
		<pubDate>Wed, 16 Dec 2009 04:02:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=282#comment-3943</guid>
		<description>[...] Lebensold hat einen Zend Cast über die Integration von Doctrine 1.2 [...]</description>
		<content:encoded><![CDATA[<p>[...] Lebensold hat einen Zend Cast über die Integration von Doctrine 1.2 [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dave</title>
		<link>http://www.zendcasts.com/introducing-doctrine-1-2-integration/2009/11/comment-page-1/#comment-3777</link>
		<dc:creator>dave</dc:creator>
		<pubDate>Mon, 07 Dec 2009 17:10:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=282#comment-3777</guid>
		<description>think Andry !
I have tried another tutorial doctr/zend which work not bad but not perfect, grr ! I hope soon there will be the zend/doctrine component !

I&#039;ll try your tip, I&#039;ll said if it work ! :)</description>
		<content:encoded><![CDATA[<p>think Andry !<br />
I have tried another tutorial doctr/zend which work not bad but not perfect, grr ! I hope soon there will be the zend/doctrine component !</p>
<p>I&#8217;ll try your tip, I&#8217;ll said if it work ! <img src='http://www.zendcasts.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andry</title>
		<link>http://www.zendcasts.com/introducing-doctrine-1-2-integration/2009/11/comment-page-1/#comment-3734</link>
		<dc:creator>Andry</dc:creator>
		<pubDate>Fri, 04 Dec 2009 22:47:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=282#comment-3734</guid>
		<description>Dave I&#039;ve got the same problem with you, this is how I solved it:

under application.ini add these lines
doctrine.generate_models_options.pearStyle = true
doctrine.generate_models_options.generateTableClasses = true
doctrine.generate_models_options.generateBaseClasses = true
doctrine.generate_models_options.baseClassPrefix = &quot;Base_&quot;
doctrine.generate_models_options.baseClassesDirectory =
doctrine.generate_models_options.classPrefixFiles = false
doctrine.generate_models_options.generateAccessors = false

And on Bootstrap.php under _initDoctrine() I added this code:
Doctrine_Core::setModelsDirectory($doctrineConfig[&#039;models_path&#039;]);

just after $doctrineConfig = $this-&gt;getOption(&#039;doctrine&#039;);

And it should work</description>
		<content:encoded><![CDATA[<p>Dave I&#8217;ve got the same problem with you, this is how I solved it:</p>
<p>under application.ini add these lines<br />
doctrine.generate_models_options.pearStyle = true<br />
doctrine.generate_models_options.generateTableClasses = true<br />
doctrine.generate_models_options.generateBaseClasses = true<br />
doctrine.generate_models_options.baseClassPrefix = &#8220;Base_&#8221;<br />
doctrine.generate_models_options.baseClassesDirectory =<br />
doctrine.generate_models_options.classPrefixFiles = false<br />
doctrine.generate_models_options.generateAccessors = false</p>
<p>And on Bootstrap.php under _initDoctrine() I added this code:<br />
Doctrine_Core::setModelsDirectory($doctrineConfig['models_path']);</p>
<p>just after $doctrineConfig = $this-&gt;getOption(&#8216;doctrine&#8217;);</p>
<p>And it should work</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dave</title>
		<link>http://www.zendcasts.com/introducing-doctrine-1-2-integration/2009/11/comment-page-1/#comment-3697</link>
		<dc:creator>dave</dc:creator>
		<pubDate>Thu, 03 Dec 2009 17:50:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=282#comment-3697</guid>
		<description>well it can find User class if I add to boostrap include path to models and generated directory and set zend autoloader.
but then it doesn&#039;t find the UserTable : 


		$rootDir = dirname(dirname(__FILE__));
		define(&#039;ROOT_DIR&#039;, $rootDir);
		set_include_path(get_include_path()
			.PATH_SEPARATOR.ROOT_DIR.&#039;/application/models/&#039;
			.PATH_SEPARATOR.ROOT_DIR.&#039;/application/models/generated&#039;
		);

		require_once &#039;Zend/Loader/Autoloader.php&#039;;
		$loader = Zend_Loader_Autoloader::getInstance();
		$loader-&gt;setFallbackAutoloader(true);


&gt;
Warning: Zend_Loader::include(UserTable.php) [zend-loader.include]: failed to open stream

well at least it is not any more an error :)
but it seems the autoload in your project don&#039;t run to direct use User object in view, or did I miss something ?</description>
		<content:encoded><![CDATA[<p>well it can find User class if I add to boostrap include path to models and generated directory and set zend autoloader.<br />
but then it doesn&#8217;t find the UserTable : </p>
<p>		$rootDir = dirname(dirname(__FILE__));<br />
		define(&#8216;ROOT_DIR&#8217;, $rootDir);<br />
		set_include_path(get_include_path()<br />
			.PATH_SEPARATOR.ROOT_DIR.&#8217;/application/models/&#8217;<br />
			.PATH_SEPARATOR.ROOT_DIR.&#8217;/application/models/generated&#8217;<br />
		);</p>
<p>		require_once &#8216;Zend/Loader/Autoloader.php&#8217;;<br />
		$loader = Zend_Loader_Autoloader::getInstance();<br />
		$loader-&gt;setFallbackAutoloader(true);</p>
<p>&gt;<br />
Warning: Zend_Loader::include(UserTable.php) [zend-loader.include]: failed to open stream</p>
<p>well at least it is not any more an error <img src='http://www.zendcasts.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
but it seems the autoload in your project don&#8217;t run to direct use User object in view, or did I miss something ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dave</title>
		<link>http://www.zendcasts.com/introducing-doctrine-1-2-integration/2009/11/comment-page-1/#comment-3695</link>
		<dc:creator>dave</dc:creator>
		<pubDate>Thu, 03 Dec 2009 15:26:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=282#comment-3695</guid>
		<description>(but please note the User class is here, and Doctrine and Zend class too because in your project)

did you try to direct create the User object ?</description>
		<content:encoded><![CDATA[<p>(but please note the User class is here, and Doctrine and Zend class too because in your project)</p>
<p>did you try to direct create the User object ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dave</title>
		<link>http://www.zendcasts.com/introducing-doctrine-1-2-integration/2009/11/comment-page-1/#comment-3694</link>
		<dc:creator>dave</dc:creator>
		<pubDate>Thu, 03 Dec 2009 15:24:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=282#comment-3694</guid>
		<description>to be certain I redownload all your project, add zend, change nothing, and of course always the problem when I put in 
views/scripts/index/index.phtml :
$u=new User();
&gt; Class &#039;User&#039; not found
 
It seems to me it miss something to direct autoload generated doctrine class in your project view ?</description>
		<content:encoded><![CDATA[<p>to be certain I redownload all your project, add zend, change nothing, and of course always the problem when I put in<br />
views/scripts/index/index.phtml :<br />
$u=new User();<br />
&gt; Class &#8216;User&#8217; not found</p>
<p>It seems to me it miss something to direct autoload generated doctrine class in your project view ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dave</title>
		<link>http://www.zendcasts.com/introducing-doctrine-1-2-integration/2009/11/comment-page-1/#comment-3692</link>
		<dc:creator>dave</dc:creator>
		<pubDate>Thu, 03 Dec 2009 15:02:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=282#comment-3692</guid>
		<description>Hello Jon, yes and I test it in your controller/view index
Zend is ok, Doctrine is ok (which I tested with creating table in index) but loading Data Doctrine class don&#039;t :(</description>
		<content:encoded><![CDATA[<p>Hello Jon, yes and I test it in your controller/view index<br />
Zend is ok, Doctrine is ok (which I tested with creating table in index) but loading Data Doctrine class don&#8217;t <img src='http://www.zendcasts.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jon</title>
		<link>http://www.zendcasts.com/introducing-doctrine-1-2-integration/2009/11/comment-page-1/#comment-3691</link>
		<dc:creator>jon</dc:creator>
		<pubDate>Thu, 03 Dec 2009 14:53:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=282#comment-3691</guid>
		<description>hey dave, did you include the zend framework from my code example? I don&#039;t post my code samples with a copy of the framework due to the file size.</description>
		<content:encoded><![CDATA[<p>hey dave, did you include the zend framework from my code example? I don&#8217;t post my code samples with a copy of the framework due to the file size.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dave</title>
		<link>http://www.zendcasts.com/introducing-doctrine-1-2-integration/2009/11/comment-page-1/#comment-3688</link>
		<dc:creator>dave</dc:creator>
		<pubDate>Thu, 03 Dec 2009 13:55:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=282#comment-3688</guid>
		<description>well I just looked your unit test... and see you just used
$u = new User();  

but for me it&#039;s always &quot;Class &#039;User&#039; not found&quot;... (but please note Eclipse found it and the class and BaseUser are here)
So it seems I miss something in autoload... which is strange because I use your download project :(</description>
		<content:encoded><![CDATA[<p>well I just looked your unit test&#8230; and see you just used<br />
$u = new User();  </p>
<p>but for me it&#8217;s always &#8220;Class &#8216;User&#8217; not found&#8221;&#8230; (but please note Eclipse found it and the class and BaseUser are here)<br />
So it seems I miss something in autoload&#8230; which is strange because I use your download project <img src='http://www.zendcasts.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dave</title>
		<link>http://www.zendcasts.com/introducing-doctrine-1-2-integration/2009/11/comment-page-1/#comment-3686</link>
		<dc:creator>dave</dc:creator>
		<pubDate>Thu, 03 Dec 2009 13:48:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=282#comment-3686</guid>
		<description>and I&#039;m impatient to see your test units with Zend/Doctrine ! ;)
(if I can load the User table in your project... I will be a big fan of you !)</description>
		<content:encoded><![CDATA[<p>and I&#8217;m impatient to see your test units with Zend/Doctrine ! <img src='http://www.zendcasts.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /><br />
(if I can load the User table in your project&#8230; I will be a big fan of you !)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dave</title>
		<link>http://www.zendcasts.com/introducing-doctrine-1-2-integration/2009/11/comment-page-1/#comment-3685</link>
		<dc:creator>dave</dc:creator>
		<pubDate>Thu, 03 Dec 2009 13:45:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=282#comment-3685</guid>
		<description>think for your response

what I did :
I download your project, installed it on my server and changed the database connexion in .ini

because all is in your project I used it directly
but to be certain I regenerated it with script, which worked to create class and tables but change nothing :

when I test a doctrine creation connexion it&#039;s ok :        $conn-&gt;export-&gt;createTable(&#039;test&#039;, array(&#039;name&#039; =&gt; array(&#039;type&#039; =&gt; &#039;string&#039;)));		$conn-&gt;execute(&#039;INSERT INTO test (name) VALUES (?)&#039;, array(&#039;ohoui&#039;));        

but when I test using object User, with is in your project, it tells me Couldn&#039;t find class User :
$objUser = Doctrine_Core::getTable(&#039;User&#039;); 

so can you tell an example how you select the table User in your project ?

the problem for me is not to generate, but to using the class in zend.
please note the Zend loading and Doctrine core loading are ok. the class User is here but Doctrine/Zend don&#039;t load it

think in advance</description>
		<content:encoded><![CDATA[<p>think for your response</p>
<p>what I did :<br />
I download your project, installed it on my server and changed the database connexion in .ini</p>
<p>because all is in your project I used it directly<br />
but to be certain I regenerated it with script, which worked to create class and tables but change nothing :</p>
<p>when I test a doctrine creation connexion it&#8217;s ok :        $conn-&gt;export-&gt;createTable(&#8216;test&#8217;, array(&#8216;name&#8217; =&gt; array(&#8216;type&#8217; =&gt; &#8216;string&#8217;)));		$conn-&gt;execute(&#8216;INSERT INTO test (name) VALUES (?)&#8217;, array(&#8216;ohoui&#8217;));        </p>
<p>but when I test using object User, with is in your project, it tells me Couldn&#8217;t find class User :<br />
$objUser = Doctrine_Core::getTable(&#8216;User&#8217;); </p>
<p>so can you tell an example how you select the table User in your project ?</p>
<p>the problem for me is not to generate, but to using the class in zend.<br />
please note the Zend loading and Doctrine core loading are ok. the class User is here but Doctrine/Zend don&#8217;t load it</p>
<p>think in advance</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Harald</title>
		<link>http://www.zendcasts.com/introducing-doctrine-1-2-integration/2009/11/comment-page-1/#comment-3659</link>
		<dc:creator>Harald</dc:creator>
		<pubDate>Wed, 02 Dec 2009 04:23:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=282#comment-3659</guid>
		<description>Hi. Very interesting video. I&#039;m quite new to zend framework and completely new to doctrine, but i will to learn how to use it.

I downloaded the project and tried to run it but I&#039;m getting this error. I&#039;m not shure if its related to xampp, zend or doctrine. Can anyone help?

Error message:
&quot;Warning: include(Doctrine\Locator\Injectable.php) [function.include]: failed to open stream: No such file or directory in D:\dev\xampp\php\PEAR\Zend\Loader.php on line 83

Warning: include() [function.include]: Failed opening &#039;Doctrine\Locator\Injectable.php&#039; for inclusion (include_path=&#039;D:\dev\xampp\htdocs\doctrineintro\application/../library;D:\dev\xampp\htdocs\doctrineintro\library;.;D:\dev\xampp\php\PEAR&#039;) in D:\dev\xampp\php\PEAR\Zend\Loader.php on line 83

Fatal error: Class &#039;Doctrine_Locator_Injectable&#039; not found in D:\dev\xampp\htdocs\doctrineintro\library\Doctrine\Configurable.php on line 35&quot;</description>
		<content:encoded><![CDATA[<p>Hi. Very interesting video. I&#8217;m quite new to zend framework and completely new to doctrine, but i will to learn how to use it.</p>
<p>I downloaded the project and tried to run it but I&#8217;m getting this error. I&#8217;m not shure if its related to xampp, zend or doctrine. Can anyone help?</p>
<p>Error message:<br />
&#8220;Warning: include(Doctrine\Locator\Injectable.php) [function.include]: failed to open stream: No such file or directory in D:\dev\xampp\php\PEAR\Zend\Loader.php on line 83</p>
<p>Warning: include() [function.include]: Failed opening &#8216;Doctrine\Locator\Injectable.php&#8217; for inclusion (include_path=&#8217;D:\dev\xampp\htdocs\doctrineintro\application/../library;D:\dev\xampp\htdocs\doctrineintro\library;.;D:\dev\xampp\php\PEAR&#8217;) in D:\dev\xampp\php\PEAR\Zend\Loader.php on line 83</p>
<p>Fatal error: Class &#8216;Doctrine_Locator_Injectable&#8217; not found in D:\dev\xampp\htdocs\doctrineintro\library\Doctrine\Configurable.php on line 35&#8243;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jon</title>
		<link>http://www.zendcasts.com/introducing-doctrine-1-2-integration/2009/11/comment-page-1/#comment-3652</link>
		<dc:creator>jon</dc:creator>
		<pubDate>Tue, 01 Dec 2009 20:38:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=282#comment-3652</guid>
		<description>hey Dave... the model should be generated in the build-all-reload script. Are you sure the object is properly created?</description>
		<content:encoded><![CDATA[<p>hey Dave&#8230; the model should be generated in the build-all-reload script. Are you sure the object is properly created?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dave</title>
		<link>http://www.zendcasts.com/introducing-doctrine-1-2-integration/2009/11/comment-page-1/#comment-3632</link>
		<dc:creator>dave</dc:creator>
		<pubDate>Mon, 30 Nov 2009 13:33:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=282#comment-3632</guid>
		<description>and by the way test units for Doctrine integrated in Zend would be great :)

but before a little example to using Data Doctrines object like your User (search and why not edit) in a controller/view would be very cool</description>
		<content:encoded><![CDATA[<p>and by the way test units for Doctrine integrated in Zend would be great <img src='http://www.zendcasts.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>but before a little example to using Data Doctrines object like your User (search and why not edit) in a controller/view would be very cool</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dave</title>
		<link>http://www.zendcasts.com/introducing-doctrine-1-2-integration/2009/11/comment-page-1/#comment-3631</link>
		<dc:creator>dave</dc:creator>
		<pubDate>Mon, 30 Nov 2009 13:29:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=282#comment-3631</guid>
		<description>think you for this project
but it miss an important thing : an exemple to use the doctrine object ! :)
a controller and script to read User would be great

I tried to just load your User Doctrine class
and I have always the error &#039;Class &#039;User&#039; not found&#039;
(but if I try to create a table in doctrine it&#039;s ok)

I tested with
$user = Doctrine_Core::getTable(&#039;User&#039;);
$nameTable=$objUser-&gt;getTable();
(or $objUser = new User();)

did you test using User in your project ? :)
please tell a little example on it and all will be perfect

think in advance</description>
		<content:encoded><![CDATA[<p>think you for this project<br />
but it miss an important thing : an exemple to use the doctrine object ! <img src='http://www.zendcasts.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
a controller and script to read User would be great</p>
<p>I tried to just load your User Doctrine class<br />
and I have always the error &#8216;Class &#8216;User&#8217; not found&#8217;<br />
(but if I try to create a table in doctrine it&#8217;s ok)</p>
<p>I tested with<br />
$user = Doctrine_Core::getTable(&#8216;User&#8217;);<br />
$nameTable=$objUser-&gt;getTable();<br />
(or $objUser = new User();)</p>
<p>did you test using User in your project ? <img src='http://www.zendcasts.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
please tell a little example on it and all will be perfect</p>
<p>think in advance</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vaidas Žilionis</title>
		<link>http://www.zendcasts.com/introducing-doctrine-1-2-integration/2009/11/comment-page-1/#comment-3591</link>
		<dc:creator>Vaidas Žilionis</dc:creator>
		<pubDate>Fri, 27 Nov 2009 07:56:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=282#comment-3591</guid>
		<description>After some time studing i found problem which name is NameSpace.

On generatating Zf NameSpace must have name, on normal way i dont use them.

protected function _initAppAutoload()
    {
    	$sNameSpace = &quot;&quot;;
    	if (defined(&#039;APP_NAMESPACE_HACK&#039;) &amp;&amp; APP_NAMESPACE_HACK == 1) {
    		$sNameSpace = &quot;App&quot;;
    	}
        $autoloader = new Zend_Application_Module_Autoloader(array(
            &#039;namespace&#039; =&gt; $sNameSpace,
            &#039;basePath&#039;  =&gt; dirname(__FILE__),
        ));
        return $autoloader;
    }</description>
		<content:encoded><![CDATA[<p>After some time studing i found problem which name is NameSpace.</p>
<p>On generatating Zf NameSpace must have name, on normal way i dont use them.</p>
<p>protected function _initAppAutoload()<br />
    {<br />
    	$sNameSpace = &#8220;&#8221;;<br />
    	if (defined(&#8216;APP_NAMESPACE_HACK&#8217;) &amp;&amp; APP_NAMESPACE_HACK == 1) {<br />
    		$sNameSpace = &#8220;App&#8221;;<br />
    	}<br />
        $autoloader = new Zend_Application_Module_Autoloader(array(<br />
            &#8216;namespace&#8217; =&gt; $sNameSpace,<br />
            &#8216;basePath&#8217;  =&gt; dirname(__FILE__),<br />
        ));<br />
        return $autoloader;<br />
    }</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vaidas Žilionis</title>
		<link>http://www.zendcasts.com/introducing-doctrine-1-2-integration/2009/11/comment-page-1/#comment-3575</link>
		<dc:creator>Vaidas Žilionis</dc:creator>
		<pubDate>Thu, 26 Nov 2009 15:45:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=282#comment-3575</guid>
		<description>Hi,
I i have one issue on generating cli.

I want to use Model&#039;s as Zend use them. So i configured doctrine config (in application ini)

doctrine.data_fixtures_path = APPLICATION_PATH &quot;/configs/data/fixtures&quot;
doctrine.sql_path           = APPLICATION_PATH &quot;/configs/data/sql&quot;
doctrine.migrations_path    = APPLICATION_PATH &quot;/configs/migrations&quot;
doctrine.yaml_schema_path   = APPLICATION_PATH &quot;/configs/schema.yml&quot;
doctrine.models_path        = APPLICATION_PATH &quot;/models&quot;

doctrine.generate_models_options.pearStyle = true
doctrine.generate_models_options.generateTableClasses = false;
doctrine.generate_models_options.generateBaseClasses =  true;
doctrine.generate_models_options.baseClassesDirectory = null
doctrine.generate_models_options.classPrefixFiles = false

doctrine.generate_models_options.classPrefix = &quot;Model_&quot;
doctrine.generate_models_options.baseClassPrefix = &quot;Db_&quot;

After generating cli i get error in cosole:

y
build-all-reload - SQLSTATE[HY000]: General error: 1008 Can&#039;t drop database &#039;zftest&#039;; database doesn&#039;t exist. Failing Query: &quot;DROP DATABASE zftest&quot;
build-all-reload - Generated models successfully from YAML schema
build-all-reload - Successfully created database for connection named &#039;doctrine&#039;
build-all-reload - Created tables successfully
PHP Fatal error:  Cannot redeclare class Model_User in /Users/vaidas/Server/testas.dom/application/models/User.php on line 16

Fatal error: Cannot redeclare class Model_User in /Users/vaidas/Server/testas.dom/application/models/User.php on line 16


Any ideas how to fix? It&#039;s seems it trying to load same file 2 times. One time by zend fr, second doctrine loader</description>
		<content:encoded><![CDATA[<p>Hi,<br />
I i have one issue on generating cli.</p>
<p>I want to use Model&#8217;s as Zend use them. So i configured doctrine config (in application ini)</p>
<p>doctrine.data_fixtures_path = APPLICATION_PATH &#8220;/configs/data/fixtures&#8221;<br />
doctrine.sql_path           = APPLICATION_PATH &#8220;/configs/data/sql&#8221;<br />
doctrine.migrations_path    = APPLICATION_PATH &#8220;/configs/migrations&#8221;<br />
doctrine.yaml_schema_path   = APPLICATION_PATH &#8220;/configs/schema.yml&#8221;<br />
doctrine.models_path        = APPLICATION_PATH &#8220;/models&#8221;</p>
<p>doctrine.generate_models_options.pearStyle = true<br />
doctrine.generate_models_options.generateTableClasses = false;<br />
doctrine.generate_models_options.generateBaseClasses =  true;<br />
doctrine.generate_models_options.baseClassesDirectory = null<br />
doctrine.generate_models_options.classPrefixFiles = false</p>
<p>doctrine.generate_models_options.classPrefix = &#8220;Model_&#8221;<br />
doctrine.generate_models_options.baseClassPrefix = &#8220;Db_&#8221;</p>
<p>After generating cli i get error in cosole:</p>
<p>y<br />
build-all-reload &#8211; SQLSTATE[HY000]: General error: 1008 Can&#8217;t drop database &#8216;zftest&#8217;; database doesn&#8217;t exist. Failing Query: &#8220;DROP DATABASE zftest&#8221;<br />
build-all-reload &#8211; Generated models successfully from YAML schema<br />
build-all-reload &#8211; Successfully created database for connection named &#8216;doctrine&#8217;<br />
build-all-reload &#8211; Created tables successfully<br />
PHP Fatal error:  Cannot redeclare class Model_User in /Users/vaidas/Server/testas.dom/application/models/User.php on line 16</p>
<p>Fatal error: Cannot redeclare class Model_User in /Users/vaidas/Server/testas.dom/application/models/User.php on line 16</p>
<p>Any ideas how to fix? It&#8217;s seems it trying to load same file 2 times. One time by zend fr, second doctrine loader</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jon</title>
		<link>http://www.zendcasts.com/introducing-doctrine-1-2-integration/2009/11/comment-page-1/#comment-3549</link>
		<dc:creator>jon</dc:creator>
		<pubDate>Tue, 24 Nov 2009 23:12:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=282#comment-3549</guid>
		<description>@sNop: I use unit tests as a simple and easy way to make sure that things are working without having to call my code from a Controller. While you might not be using them for every line of code (e.g. TDD), they&#039;re still an easy way of showing how something works without dealing with the MVC design pattern.

@nORKy: I&#039;d rather not modify the Doctrine libraries since it can make maintaining / updating more complex (even if it&#039;s just renaming a class). Besides, Doctrine 2 will resolve this issue!</description>
		<content:encoded><![CDATA[<p>@sNop: I use unit tests as a simple and easy way to make sure that things are working without having to call my code from a Controller. While you might not be using them for every line of code (e.g. TDD), they&#8217;re still an easy way of showing how something works without dealing with the MVC design pattern.</p>
<p>@nORKy: I&#8217;d rather not modify the Doctrine libraries since it can make maintaining / updating more complex (even if it&#8217;s just renaming a class). Besides, Doctrine 2 will resolve this issue!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nORKy</title>
		<link>http://www.zendcasts.com/introducing-doctrine-1-2-integration/2009/11/comment-page-1/#comment-3542</link>
		<dc:creator>nORKy</dc:creator>
		<pubDate>Tue, 24 Nov 2009 14:36:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=282#comment-3542</guid>
		<description>Good job, but, I&#039;m don&#039;t register the Doctrine Loader :

in initDoctrine :
remove the pushAutoload()

in application.ini :
autoloaderNamespaces.0 = &quot;Doctrine_

in my included_path lib :
ln -sfn /path/to/Doctrine/lib/Doctrine

in your code : use Doctrine_Core, not Doctrine</description>
		<content:encoded><![CDATA[<p>Good job, but, I&#8217;m don&#8217;t register the Doctrine Loader :</p>
<p>in initDoctrine :<br />
remove the pushAutoload()</p>
<p>in application.ini :<br />
autoloaderNamespaces.0 = &#8220;Doctrine_</p>
<p>in my included_path lib :<br />
ln -sfn /path/to/Doctrine/lib/Doctrine</p>
<p>in your code : use Doctrine_Core, not Doctrine</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mario</title>
		<link>http://www.zendcasts.com/introducing-doctrine-1-2-integration/2009/11/comment-page-1/#comment-3537</link>
		<dc:creator>Mario</dc:creator>
		<pubDate>Tue, 24 Nov 2009 02:31:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=282#comment-3537</guid>
		<description>Great screencast.

I do not know the contents of the other but I&#039;d suggest that you include in your models the PEAR/Zend namespace like Foo_User to see how did you solve the creation of the Base***.php files under the /models.</description>
		<content:encoded><![CDATA[<p>Great screencast.</p>
<p>I do not know the contents of the other but I&#8217;d suggest that you include in your models the PEAR/Zend namespace like Foo_User to see how did you solve the creation of the Base***.php files under the /models.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sNop</title>
		<link>http://www.zendcasts.com/introducing-doctrine-1-2-integration/2009/11/comment-page-1/#comment-3535</link>
		<dc:creator>sNop</dc:creator>
		<pubDate>Mon, 23 Nov 2009 22:51:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.zendcasts.com/?p=282#comment-3535</guid>
		<description>Hi,

Next video unit test. Why unit tests ? nobody use unit test ;) Can you show us how to use Doctrine on the real examples ?

Thank you for great video, doctrine tutorials are very important for ZF users, because it will be supported be ZF dev team</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Next video unit test. Why unit tests ? nobody use unit test <img src='http://www.zendcasts.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  Can you show us how to use Doctrine on the real examples ?</p>
<p>Thank you for great video, doctrine tutorials are very important for ZF users, because it will be supported be ZF dev team</p>
]]></content:encoded>
	</item>
</channel>
</rss>

