<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Zendcasts Forum / What are the advantages of using Doctrine?]]></title>
		<link>http://www.zendcasts.com/forum/viewtopic.php?id=212</link>
		<description><![CDATA[The most recent posts in What are the advantages of using Doctrine?.]]></description>
		<lastBuildDate>Fri, 23 Jul 2010 18:08:45 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: What are the advantages of using Doctrine?]]></title>
			<link>http://www.zendcasts.com/forum/viewtopic.php?pid=960#p960</link>
			<description><![CDATA[<p>Hi.</p><p>I don&#039;t know whether Doctrine is usefull if you are not familiar with the Zend Framework already. I used Zend_Db for a long time, but thinking about switching to Doctrine for the following reasons:</p><p>- Doctrine is some kind of &#039;standard&#039;. You could take this knowledge from project to project, no matter what MVC-Framework you are using. Moreover, you could hire a Doctrine Developer if you need somebody to create your DB.</p><p>- I like the idea of creating the database with scripts. This is usefull for example in a unit testing process, where you may want to create a temporary test-database.<br />This is possible with Zend_Db and some odd PHP, but its easier the Doctrine Way.</p><p>- I&#039;ve heard of a seamless integration into Zend Framework 2.0. If Zend Framework goes for Doctrine anyways, why should I deny it nowadays ?</p><p>- Doctrine has (as far as I know) a huge collection of DB-Adapters (DBAL). These can port your project from a MySQL to a different Adapter in an easy way. This is supported by Zend_Db too, but there are less adapters.</p><p>These are my thoughts for going Doctrine, you would better ask in a Doctrine Forum about the advantages of Doctrine.</p><p>Using Doctrine instead of Zend_Db should not harm your speed in a relevant way, because Zend_Db is not used in this configuration anymore. It&#039;s replacing Zend_Db, as far as I understand the concept.</p><p>Manuel</p>]]></description>
			<author><![CDATA[dummy@example.com (Manuel)]]></author>
			<pubDate>Fri, 23 Jul 2010 18:08:45 +0000</pubDate>
			<guid>http://www.zendcasts.com/forum/viewtopic.php?pid=960#p960</guid>
		</item>
		<item>
			<title><![CDATA[What are the advantages of using Doctrine?]]></title>
			<link>http://www.zendcasts.com/forum/viewtopic.php?pid=945#p945</link>
			<description><![CDATA[<p>Hi All,</p><p>I am 3-4 days old to zend framework I am looking various article and various tutorial and try to learn the zend framework.</p><p>Just wanted to get more info on zend frame want to ask few question on using the doctrine.</p><p>My Questions are,</p><p>1) I have seen online tutorial, and most of the place i found examples where user has used ZEND_DB_TABLE api with insert, update delete, or custom query. Since zend_db_table api is zend inbuild component it will work fast rather than if we use third part layer like doctrine or propel. Please let me know if i am wrong here.</p><p>2) If we want to use the doctrine then we need to do additional configuration and learn doctrine</p><p>3) Here i am not sure how cache with work with doctrine<br />&#160; i.e.&#160; 1) Not sure if doctrine do the query catch or sql output cache in file or memory. If yes then how zend cache will manage it i.e. delete , update or add.<br />&#160; &#160; &#160; &#160;2) If doctrine doing the cache then should we use doctrine method for caching?<br />&#160; &#160; &#160; 3) If we use zend_db_table api&#039;s with zend cache, isn&#039;t its fast and better?</p><br /><p>Please let me know on above points.</p><p>Regards,<br />Ash</p>]]></description>
			<author><![CDATA[dummy@example.com (ashinaidu)]]></author>
			<pubDate>Wed, 14 Jul 2010 06:34:02 +0000</pubDate>
			<guid>http://www.zendcasts.com/forum/viewtopic.php?pid=945#p945</guid>
		</item>
	</channel>
</rss>

