Learn how to leverage Mongo DB 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 Mongo DB, apply idiomatic Mongo DB and Python patterns, and use the database with several popular Python web frameworks. Youll 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 Mongo DB collection Learn how to use the rich Mongo DB query language Maintain data integrity in replicated/distributed Mongo DB 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 Mongo DB with the Pylons 1.x, Django, and Pyramid web frameworks
Niall O’Higgins
MongoDB and Python [PDF ebook]
Patterns and processes for the popular document-oriented database
MongoDB and Python [PDF ebook]
Patterns and processes for the popular document-oriented database
Buy this ebook and get 1 more FREE!
Language English ● Format PDF ● Pages 138 ● ISBN 9781449317461 ● Publisher O’Reilly Media ● Published 2011 ● Downloadable 6 times ● Currency EUR ● ID 2393009 ● Copy protection Adobe DRM
Requires a DRM capable ebook reader