買這商品的人也買了...
-
$880$695 -
$820$648 -
$590$466 -
$450$351 -
$600$468 -
$800$632 -
$580$458 -
$880$695 -
$780$616 -
$680$530 -
$580$493 -
$520$411 -
$420$378 -
$580$458 -
$1,501How Google Tests Software (Paperback)
-
$450$356 -
$1,130$961 -
$400$380 -
$420$399 -
$580$493 -
$940$700 -
$480$374 -
$450$356 -
$490$417 -
$690$538
相關主題
商品描述
Learn how to leverage MongoDB with your Python applications, using the hands-on recipes in this book. You get complete code samples for tasks such as making fast geo queries for location-based apps, efficiently indexing your user documents for social-graph lookups, and many other scenarios.
This guide explains the basics of the document-oriented database and shows you how to set up a Python environment with it. Learn how to read and write to MongoDB, apply idiomatic MongoDB and Python patterns, and use the database with several popular Python web frameworks. You’ll discover how to model your data, write effective queries, and avoid concurrency problems such as race conditions and deadlocks.
The recipes will help you:
- Read, write, count, and sort documents in a MongoDB collection
- Learn how to use the rich MongoDB query language
- Maintain data integrity in replicated/distributed MongoDB environments
- Use embedding to efficiently model your data without joins
- Code defensively to avoid keyerrors and other bugs
- Apply atomic operations to update game scores, billing systems, and more with the fast accounting pattern
- Use MongoDB with the Pylons 1.x, Django, and Pyramid web frameworks
商品描述(中文翻譯)
學習如何在您的 Python 應用程式中利用 MongoDB,使用本書中的實作食譜。您將獲得完整的程式碼範例,涵蓋快速地理查詢以支援基於位置的應用程式、有效地為社交圖譜查詢索引用戶文檔,以及許多其他情境。
本指南解釋了文件導向資料庫的基本概念,並展示如何設置 Python 環境。學習如何讀取和寫入 MongoDB,應用慣用的 MongoDB 和 Python 模式,並使用幾個流行的 Python 網頁框架與資料庫互動。您將發現如何建模您的數據、撰寫有效的查詢,並避免競爭問題,例如競爭條件和死鎖。
這些食譜將幫助您:
- 在 MongoDB 集合中讀取、寫入、計數和排序文檔
- 學習如何使用豐富的 MongoDB 查詢語言
- 在複製/分散的 MongoDB 環境中維護數據完整性
- 使用嵌入來有效地建模數據而不需要聯接
- 防禦性編碼以避免鍵錯誤和其他錯誤
- 應用原子操作來更新遊戲分數、計費系統等,使用快速會計模式
- 在 Pylons 1.x、Django 和 Pyramid 網頁框架中使用 MongoDB