开发者

ORM Framework to learn in Preparation for Doctrine 2

i am currently learning Zend Framework 1.10 and intend to use Doctrine 2. however i see to encounter many problems/errors when trying to use the doct开发者_JAVA百科rine 2 sandbox.

  • Runtime Exception: Too many arguments
  • Error in Doctrine 2 Sandbox

i am wondering if doctrine 2 is not ready, what shld i learn that will be beneficial in preparing me for using it later?


IMHO Doctrine 2 unfortunately is a long way off from being ready for Production use, for a few reasons: - Not any of my client's webserver hosts support PHP 5.3 yet. - It does fix many problems (cleaner by far), however it does make a lot of things more difficult (no templates, the entity manager). - It has not reached widespread support yet as Doctrine 1 has. Barely any complete tutorials exist for using Doctrine 2 with Zend Framework.

As much as I'm dying to start using Doctrine 2 with Zend Framework, the above reasons always cause me to fallback on version 1. Perhaps when Zend Framework has reached version 2, then it would make sense.

In the meantime, Doctrine 1 is still a fantastic choice for using with Zend Framework. There are plenty of tutorials, resources and examples. I have it setup with the CMS we deploy, and currently the only long standing issue we have is migrations - however upon investigation it seems to be with our configuration settings.

Unless of course you want to learn Ruby on Rails, Doctrine 1 is by far the best alternative to get you ready for Doctrine 2.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜