Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
MongoDB Без ORM
Search
Yehor Nazarkin
December 08, 2012
Programming
340
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
MongoDB Без ORM
Почему MongoDB не требуется ORM
Yehor Nazarkin
December 08, 2012
Transcript
16 slides
не нуждается в ORM Почему MongoDB
В начале • ORM — object-relationship mapping • MongoDB —
хранит/манипулирует коллекциями документов с единственным типом отношений DBRef • OK, итак...
Популярные решения • MongoKit • MongoEngine • MongoAlchemy • MiniMongo
MongoKit • структура — • валидация — • и другие
проблемы
MongoKit (0.8.1)
MongoAlchemy В мире SQLAlchemy В мире MongoAlchemy
MongoAlchemy
MongoEngine вполне, если нужно отвлечься
MongoEngine
MiniMongo
Что же делать?
Pymongo • Быстрый, без оверхедов • Атомарные операции • Добавить
сигналы == перекрыть pymongo.Collection • Завернуть? SONManipulator, Cursor(as_class=...) • И многое другое...
Pymongo
SONManipulator
None
Спасибо всем Обсудим?
More Decks by Yehor Nazarkin
See All by Yehor Nazarkin
Flask, гордость и предубеждения
nimnull
0
360
Python non-mainstream web
nimnull
0
180
Агрегация и обработка статистики
nimnull
0
5.8k
Write once, run everywhere
nimnull
0
6.4k
GPU Computing in Python
nimnull
1
5.7k
To Flask or not to Flask
nimnull
5
660
REST in Flask (And small client-side intro)
nimnull
10
1.8k
Other Decks in Programming
See All in Programming
Proxmox x Talos Linux x Terraform で実現するなんかいい感じの Kubernetes クラスタ / A Sleek Kubernetes Cluster Powered by Proxmox, Talos Linux, and Terraform
nnaka2992
0
200
Web3Dライブラリを作ってVue Custom Rendererの仕組みを理解しよう / lets learn vue custom renderer by making 3d library
drumath2237
1
140
コード生成時代のAPI定義を支えるRequest Spec移行
pvcresin
0
190
小さなアプリを作って公開するまで
onozaty
0
190
조합이폭발하는디자인시스템이걸눈으로도테스트하라고요
giljongyu
0
770
DroidKnights 2026 Android A2UI Jetpack Compose 기반의 안전한 AI UI 렌더링 - 박제창
itsmedreamwalker
1
240
Kawaiicon: Kubernetes, it's no longer cool, but let's secure it anyway!
barnbarn
0
130
Enforcing Your Architecture with Unit Tests in the AI Era (Swift Connection X)
steliosf
PRO
1
180
そのデザイントークン、Flutterでも同じ見た目になりますか?
nakamizu
0
370
flutter_test のその先へ — Flutter アプリの LLM 機能に「評価」という品質保証を
kosukesaigusa
0
200
クラウドエージェントは、 何がそんなに便利なのか / what makes cloud agents so useful
rkaga
5
890
あなたの await、OS まで届いてる? strace で覗く JavaScript の非同期
hasutosasaki
1
2.4k
Featured
See All Featured
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
62k
Product Roadmaps are Hard
iamctodd
55
13k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
35
2.9k
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
490
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
2
3.9k
The browser strikes back
jonoalderson
0
1.9k
4 Signs Your Business is Dying
shpigford
187
23k
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
530
We Are The Robots
honzajavorek
0
450
Between Models and Reality
mayunak
4
580
Joys of Absence: A Defence of Solitary Play
codingconduct
1
580
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
600