开发者

PHP ORM with NOSQL and RDBMS support

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.


Yes, doctrine supports various RDBMS and NoSQL storages as well


Docrine 2 contains both an ORM and ODM for NoSQL databases (MongoDB and CouchDB are supported), and its theoretically possible to hook up Doctrine to anything else.


We're working on some adapter-based ORM called UniMapper in our company.

It provides a uniform API for accessing stuff from different kinds of databases, protocols, and 3rd party APIs. You can even associate between entities from different storages. And it should be even faster than Doctrine. Try it give us some feedback :-).

MongoDB will be supported very soon, but you can write extension on your own, it's very easy.

However the quick start is not complete, you can ask me or somebody from our team.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜