Symfony (PHP framework) and MongoDB ( or any json-based database) [closed]

帅比萌擦擦* 提交于 2019-12-03 12:43:22

There is a DoctrineMongoDBBundle for use with Symfony 2

You might get some help from the MongoDB PHP Language Center. There are links to several PHP libraries for MongoDB, including a centralized logger for symfony applications.

Nate Abele

You can also check out http://li3.me/, the only full-stack PHP framework with fully-integrated support for MongoDB (and CouchDB).

Try building your project with the no-orm flag. There is little need to have an object relational database if you are not using a relational database. Just build classes for your data in PHP. These will function as your schema, which makes sense sense as a schema is not defined at the data layer.

AFAIK, the only framework to have integrated Mongo support as of yet is Vork.

I saw a post from someone who retrofitted Cake to use MongoDB, but they basically had to rewire the whole model-engine.

All the majore modern framework can work with Mongodb. Symfony do it very well with doctrine as an exemple

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!