A
A
Artem2016-01-04 01:13:59
PHP
Artem, 2016-01-04 01:13:59

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

2 answer(s)
S
sl1m_dogg, 2016-01-05
@sl1m_dogg

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)

K
Konstantin   , 2016-01-06
@SynCap

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 question

Ask a Question

731 491 924 answers to any question