Re:Introducing MongoMallard: A fast ORM based on MongoEngine
by skrebbel on Tuesday July 02, 2013 @02:34PM
(#5979843)
Almost entirely off topic, but is "ORM" a fitting term for something that maps documents, and not relations, to objects?
[ Parent
| on HN ]
Re:Introducing MongoMallard: A fast ORM based on MongoEngine
by rozza on Tuesday July 02, 2013 @04:37PM
(#5980570)
MongoEngine prefers ODM but documents often have relationships.
That comes at some cost in MongoDB and document databases in general. Often it is best to start with the opposite of modelling a relational db - start denormalised and normalise where it makes sense to.
The catch with MongoEngine is know that ReferenceFields are dereferenced in the application layer and design your Documents accordingly.
Re:Introducing MongoMallard: A fast ORM based on MongoEngine
by hendzen on Tuesday July 02, 2013 @03:51PM
(#5980311)
I've heard the term ODM used for this purpose [0].
Re:Introducing MongoMallard: A fast ORM based on MongoEngine
by dragonwriter on Tuesday July 02, 2013 @02:38PM
(#5979866)
No, clearly, its not, since its not object-relational mapping.
And one of the selling points of NoSQL "document store"-style solutions is that, as they do not use the relational model, your data layout can more closely follow object construction and not need the kind of object-(datastore)-mapping represented by ORM, anyway.