支持 NOSQL 和 RDBMS 的 PHP ORM
是否有支持 MySQL 和 NoSQL 数据库(例如 MongoDB)的 PHP ORM 项目?
我目前正在使用 RedBean 进行 MySQL ORM,但是我想将 MongoDB 引入到应用程序中,甚至可能在将来用 MongoDB 替换一些 MySQL。
如果 ORM 能够让我轻松地在两者之间转换,那就太好了。然而,我不太喜欢需要太多配置的 ORM(即 YAML、XML 等)。 RedBean 非常好,因为它允许人们轻松地让事情工作而无需太多配置。
Are there any PHP ORM projects which supports MySQL and NoSQL databases such as MongoDB?
I am currently using RedBean to do MySQL ORM, however I woud like to introduce MongoDB to the applicatoin and perhaps even replace some of the MySQL with MongoDB in the future.
An ORM that can allow me to easily transition between both would be nice. However, I tend to not like ORM that requires too much configuration (i.e. YAML, XML etc). RedBean is very nice in that it allows one to easily get things working without too much configuration.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
发布评论
评论(3)
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
是的,doctrine 也支持各种 RDBMS 和 NoSQL 存储
Yes, doctrine supports various RDBMS and NoSQL storages as well