php Zend Framework 1.11 与 Doctrine 2 集成
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/5001488/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Zend Framework 1.11 with Doctrine 2 Integration
提问by ulduz114
Could someone explain in detail how to integrate Doctrine 2 and Zend Framework 1.11?
有人可以详细解释如何集成Doctrine 2和Zend Framework 1.11吗?
采纳答案by Radek Benkel
There is a great video by Jon Lebensold about integrating D2 and ZF: Unit Testing Doctrine 2- don't be misleaded by the title :)
Jon Lebensold 有一个关于集成 D2 和 ZF 的精彩视频:单元测试原则 2- 不要被标题误导:)
回答by Phil
I know this is a late inclusion but I just did this following the Zend webinar recording at http://www.zend.com/en/webinar/Framework/70170000000bSrG-webinar-zf-v-1-doctrine-v-2-20101214.flv(you need a (free) Zend account to view it).
我知道这是一个迟到的内容,但我只是在http://www.zend.com/en/webinar/Framework/70170000000bSrG-webinar-zf-v-1-doctrine-v-2- 20101214.flv(您需要一个(免费)Zend 帐户才能查看它)。
Ralph Schindler also has the slides up here http://www.slideshare.net/ralphschindler/zend-framework-1-doctrine-2-6177485
Ralph Schindler 也有幻灯片http://www.slideshare.net/ralphschindler/zend-framework-1-doctrine-2-6177485
If you're familiar with Doctrine2, you can probably skip the first half.
如果您熟悉 Doctrine2,您可能可以跳过前半部分。
回答by Aron Rotteveel
There are several Github repositoriesthat show you how to do this.
有几个 Github 存储库向您展示了如何执行此操作。
Take a look at the source code and learn from it.
查看源代码并从中学习。
Apart from that, a simple Google searchyields plenty of results that should help get you on your way.
除此之外,一个简单的谷歌搜索会产生大量的结果,应该可以帮助你继续前进。
回答by Attakinsky
Christian Soronellas has an tutorial: http://christian.soronellas.es/2010/12/19/zend-framework-and-doctrine-2/?lang=en
Christian Soronellas 有一个教程:http://christian.soronellas.es/2010/12/19/zend-framework-and-doctrine-2/?lang=en
回答by fmaxim
There is nice ZF1+D2 project code example: https://github.com/dynamicguy/zf1doctrine2
有很好的 ZF1+D2 项目代码示例:https: //github.com/dynamicguy/zf1doctrine2
回答by Haim Evgi
you can download all project from
您可以从
https://github.com/SpiffyJr/zfd2_tutorial
https://github.com/SpiffyJr/zfd2_tutorial
more info in
更多信息在
回答by Jérémy
Maybe you are still interested in, I just found a Application Resource for Doctrine 2.
也许你还有兴趣,我刚刚找到了一个适用于 Doctrine 2的应用资源。
Check out my question
看看我的问题