带有NOSQL和RDBMS支持的PHP ORM [英] PHP ORM with NOSQL and RDBMS support

查看:60
本文介绍了带有NOSQL和RDBMS支持的PHP ORM的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有任何支持MySQL和NoSQL数据库(例如MongoDB)的PHP ORM项目?

Are there any PHP ORM projects which supports MySQL and NoSQL databases such as MongoDB?

我目前正在使用RedBean来执行MySQL ORM,但是我想将MongoDB引入到应用程序中,甚至将来将来甚至可以用MongoDB替换一些MySQL.

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.

可以让我轻松地在两者之间进行转换的ORM会很好.但是,我倾向于不喜欢需要过多配置(即YAML,XML等)的ORM. RedBean非常棒,因为它无需太多配置即可轻松使事情工作.

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.

推荐答案

是的,主义支持各种RDBMS和NoSQL存储

Yes, doctrine supports various RDBMS and NoSQL storages as well

这篇关于带有NOSQL和RDBMS支持的PHP ORM的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆