Answer the question
In order to leave comments, you need to log in
Which MongoDB ODM do you recommend?
I write RESTfull API in PHP, database - MongoDB.
Two questions:
1. Should I use ODM at all?
2. If so, which one would you recommend? Preferably not too fancy, but smart. It would be cool if there is a sample code for executing requests.
Thank you.
Answer the question
In order to leave comments, you need to log in
I would advise the doctrine, I worked with the orm from these guys and used a dry odm for the elastic, it seems that the norms work despite the api reflection (everything is cached)
What about the meaning? You create REST! What is a wrapper in itself and why do a wrapper through a wrapper? And I recommend forgetting about Doctrine altogether - its task is to level out laziness for the SQL approach and the implementation leaves much to be desired. There is a suspicion that MongoDB was chosen for speed, so support this approach.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question