TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Introducing MongoMallard: A fast ORM based on MongoEngine

51 点作者 thomas-st将近 12 年前

4 条评论

aidos将近 12 年前
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 未加载
rozza将近 12 年前
Really pleased to have these improvements and look forward to getting them into MongoEngine 0.9 :)
ddorian43将近 12 年前
What a nice layout without a hundred different analytics scripts&#x2F;widgets&#x2F;gadgets. Even inline css.
评论 #5979658 未加载
评论 #5979662 未加载
skrebbel将近 12 年前
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 未加载