What's ORM for? Any feedback on doctrine?
Is there any real benefit from it, or can you work just fine without it?
It's garbage - a layer even worse than DBO, or rather completely useless
it virtually maps objects to database tables
meaning not only can you not access the db directly, you also have to store all the data in objects
and here's what people write
: I'm also curious about feedback on Doctrine.
What kind of projects do you use it for?
For a high-load project, using an ORM is probably not the best idea, while for a small project it's easier to just write everything by hand.
and it really runs like 10 times slower)))
: )))at the very least
http://phpclub.ru/talk/threads/%D0%9E%D0%B1%D1%81%D1%83%D0%B6%D0%B4%D0%B0%D0%B5%D0%BC-doctrine.37429/
and what does "virtually" mean?
it still pulls the data from the database anyway
the fact remains that all the data is still stored in a regular relational table)))))))))))))
)))))))))))))
yeah but time is spent on all these conversions back and forth when returning it
: ))))
for a high-load project, using an ORM is probably not the best idea, but
the only upside is that it might speed up the development process
but the result is dismal
http://habrahabr.ru/qa/9097/
found a question on this. seems like there is some sense to it, not sure how it plays out in practice. maybe the queries there aren't optimized or something
just think about it - it's a layer on top of sql, and it's not going to run faster
no matter how you spin it
even the most modern DBMS has its own optimizers and caches)))
they didn't replace the language, they translate it - transpose it
now there are special databases for storing object models - that's a different story
but converting is extra overhead - and doubled at that
yeah
anyway, if you want to spend your time learning and using it - go for it
http://odiszapc.ru/tag/doctrine/
http://www.phpdoctrine.org/
Comments