采埃孚集成的 Propel 或 Doctrine
我从未使用过任何 ORM,但使用过 Zend_Db_Table(如果你可以称其为一个的话)。我想尝试一些著名的 ROM,但我只听说过这 2 个(Propel 和 Doctrine)。
我过去有时尝试过,但发现集成起来太困难了,或者也许我不明白它是如何工作的。
现在我再次尝试,我想知道哪一个更容易与 Zend Framework 集成,哪一个更容易工作以及为什么
I have never used any ORM, but the Zend_Db_Table (if you can call it one). I'd like give it a try with some famous ROM and I've only heard of these 2 (Propel and Doctrine).
I tried sometimes in the past but I found it too hard to integrate or maybe I didn't understand how it works.
Now that I'm trying again, I'd like to know which one has easier integration with Zend Framework and which one is easier to work and why
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Doctrine 和 Propel 绝对是最知名的两个 PHP ORM 。
Doctrine 确实受到了 ZF 的更多喜爱,有传言称 Doctrine 2 将在 ZF2 中扮演重要角色,但据我所知,截至撰写本文时尚未得到证实。
以下是一些供您点击的链接:
和
另请参阅以下两个问题,其中包含其他信息和链接:
应该不难找到更多关于 Doctrine 的内容。
编辑来自 Phil 的评论:
Doctrine and Propel are definitely the two best know PHP ORM's among some others.
Doctrine has definitely seen some more love from ZF and there is rumors that Doctrine 2 will play a major role in ZF2, though afaik nothing as been confirmed as of this writing.
Here is some links for you to follow:
and
Also see these two questions that have additional information and links:
Should not be hard to find many more for Doctrine.
EDIT very nice one from Phil's comment: