MongoDB and Python

Patterns and processes for the popular document-oriented database

AvNiall O'Higgins

E-bok
PDF, Engelska, 2011

155 kr

Läs direkt i Bokus Reader – eller ladda ned till din enhet (PDF kräver ofta zoom och scroll på små skärmar).

Fler format och utgåvor

Beskrivning

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

Produktinformation

Utforska kategorier

Hoppa över listan

Mer från samma författare

Hoppa över listan

Du kanske också är intresserad av

Kristin Hannah - Näktergalen, Pocket
  • 4 för 3

Näktergalen

Kristin Hannah

Pocket, 2023

4,6 utav 5 stjärnor. Totalt antal röster:(64)

99 kr

Tone Schunnesson - Ultravåld, Inbunden
  • -19%

Ultravåld

Tone Schunnesson

Inbunden, 2026

4,1 utav 5 stjärnor. Totalt antal röster:(7)

209 kr259 kr