TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Introducing MongoMallard: A fast ORM based on MongoEngine

51 pointsby thomas-stalmost 12 years ago

4 comments

aidosalmost 12 years ago
I used Mongo in Python for a couple of projects recently. I tried out every single library I could find. In the end I settled on using Schematics [1] with a very thin data layer for loading and saving the objects. It worked really well. You get to work with sane Python objects and it&#x27;s really easy to move between Mongo and Python.<p>Ultimately, two projects later I&#x27;m just not happy with Mongo as a data store. I&#x27;ve found that the restrictions of a relational data model mean that you don&#x27;t end up paralysed worrying about how to store your data. In Mongo I was forever tossing up between embedding data or splitting it up into a separate collection. And it&#x27;s a choice that may well bite you later. Also, only ensuring the integrity of your data within the application is not a great idea.<p>[1] <a href="https://github.com/j2labs/schematics" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;j2labs&#x2F;schematics</a>
评论 #5979743 未加载
评论 #5980534 未加载
rozzaalmost 12 years ago
Really pleased to have these improvements and look forward to getting them into MongoEngine 0.9 :)
ddorian43almost 12 years ago
What a nice layout without a hundred different analytics scripts&#x2F;widgets&#x2F;gadgets. Even inline css.
评论 #5979658 未加载
评论 #5979662 未加载
skrebbelalmost 12 years ago
Almost entirely off topic, but is &quot;ORM&quot; a fitting term for something that maps documents, and not relations, to objects?
评论 #5980570 未加载
评论 #5980311 未加载
评论 #5979866 未加载