I was wondering if its possible to use a json-based schema-free, document-based database like Mongodb or Couchdb on a symfony project like its used for ruby-on-rails websites? And if yes, how can it be done?
Asked
Active
Viewed 5,149 times
6 Answers
6
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.

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

botero
- 598
- 2
- 11
- 23

Nate Abele
- 5,771
- 32
- 27
-
Looks interesting but another framework :( – Parag Jun 13 '10 at 13:41
0
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.

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

Jaycreation
- 2,029
- 1
- 15
- 30