23,80 €*
Versandkostenfrei per Post / DHL
Lieferzeit 2-3 Wochen
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
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
Niall O'Higgins is a software consultant specializing in mobile, tablet and cloud computing. His accomplishments include designing and implementing numerous mobile and web platforms using MongoDB, Python and Pylons/Django/Pyramid. Prior to starting his consulting business, he was a software engineer at Metaweb Technologies, where he worked on [...] (now owned by Google). He is the founder and organizer of both the San Francisco Python Web Technology Meet-up, PyWebSF and the Bay Area Tablet Computing Group, We Have Tablets. He has published quite a bit of Open Source software - contributing to OpenBSD and Pyramid among others - and frequently speaks at conferences and events.
Conventions Used in This Book;
Using Code Examples;
Safari® Books Online;
How to Contact Us;
Acknowledgments;
Chapter 1: Getting Started;
1.1 Introduction;
1.2 Finding Reference Documentation;
1.3 Installing MongoDB;
1.4 Running MongoDB;
1.5 Setting up a Python Environment with MongoDB;
Chapter 2: Reading and Writing to MongoDB with Python;
2.1 Connecting to MongoDB with Python;
2.2 Getting a Database Handle;
2.3 Inserting a Document into a Collection;
2.4 Write to a Collection Safely and Synchronously;
2.5 Guaranteeing Writes to Multiple Database Nodes;
2.6 Introduction to MongoDB Query Language;
2.7 Reading, Counting, and Sorting Documents in a Collection;
2.8 Updating Documents in a Collection;
2.9 Deleting Documents from a Collection;
2.10 MongoDB Query Operators;
2.11 MongoDB Update Modifiers;
Chapter 3: Common MongoDB and Python Patterns;
3.1 A Uniquely Document-Oriented Pattern: Embedding;
3.2 Fast Lookups: Using Indexes with MongoDB;
3.3 Location-based Apps with MongoDB: GeoSpatial Indexing;
3.4 Code Defensively to Avoid KeyErrors and Other Bugs;
3.5 Update-or-Insert: Upserts in MongoDB;
3.6 Atomic Read-Write-Modify: MongoDB's findAndModify;
3.7 Fast Accounting Pattern;
Chapter 4: MongoDB with Web Frameworks;
4.1 Pylons 1.x and MongoDB;
4.2 Pyramid and MongoDB;
4.3 Django and MongoDB;
4.4 Going Further;
Erscheinungsjahr: | 2011 |
---|---|
Fachbereich: | Programmiersprachen |
Genre: | Importe, Informatik |
Rubrik: | Naturwissenschaften & Technik |
Medium: | Taschenbuch |
Inhalt: | Einband - flex.(Paperback) |
ISBN-13: | 9781449310370 |
ISBN-10: | 1449310370 |
Sprache: | Englisch |
Einband: | Kartoniert / Broschiert |
Autor: | O'Higgins, Niall |
Hersteller: | O'Reilly Media |
Verantwortliche Person für die EU: | Libri GmbH, Europaallee 1, D-36244 Bad Hersfeld, gpsr@libri.de |
Maße: | 240 x 182 x 10 mm |
Von/Mit: | Niall O'Higgins |
Erscheinungsdatum: | 01.11.2011 |
Gewicht: | 0,137 kg |
Niall O'Higgins is a software consultant specializing in mobile, tablet and cloud computing. His accomplishments include designing and implementing numerous mobile and web platforms using MongoDB, Python and Pylons/Django/Pyramid. Prior to starting his consulting business, he was a software engineer at Metaweb Technologies, where he worked on [...] (now owned by Google). He is the founder and organizer of both the San Francisco Python Web Technology Meet-up, PyWebSF and the Bay Area Tablet Computing Group, We Have Tablets. He has published quite a bit of Open Source software - contributing to OpenBSD and Pyramid among others - and frequently speaks at conferences and events.
Conventions Used in This Book;
Using Code Examples;
Safari® Books Online;
How to Contact Us;
Acknowledgments;
Chapter 1: Getting Started;
1.1 Introduction;
1.2 Finding Reference Documentation;
1.3 Installing MongoDB;
1.4 Running MongoDB;
1.5 Setting up a Python Environment with MongoDB;
Chapter 2: Reading and Writing to MongoDB with Python;
2.1 Connecting to MongoDB with Python;
2.2 Getting a Database Handle;
2.3 Inserting a Document into a Collection;
2.4 Write to a Collection Safely and Synchronously;
2.5 Guaranteeing Writes to Multiple Database Nodes;
2.6 Introduction to MongoDB Query Language;
2.7 Reading, Counting, and Sorting Documents in a Collection;
2.8 Updating Documents in a Collection;
2.9 Deleting Documents from a Collection;
2.10 MongoDB Query Operators;
2.11 MongoDB Update Modifiers;
Chapter 3: Common MongoDB and Python Patterns;
3.1 A Uniquely Document-Oriented Pattern: Embedding;
3.2 Fast Lookups: Using Indexes with MongoDB;
3.3 Location-based Apps with MongoDB: GeoSpatial Indexing;
3.4 Code Defensively to Avoid KeyErrors and Other Bugs;
3.5 Update-or-Insert: Upserts in MongoDB;
3.6 Atomic Read-Write-Modify: MongoDB's findAndModify;
3.7 Fast Accounting Pattern;
Chapter 4: MongoDB with Web Frameworks;
4.1 Pylons 1.x and MongoDB;
4.2 Pyramid and MongoDB;
4.3 Django and MongoDB;
4.4 Going Further;
Erscheinungsjahr: | 2011 |
---|---|
Fachbereich: | Programmiersprachen |
Genre: | Importe, Informatik |
Rubrik: | Naturwissenschaften & Technik |
Medium: | Taschenbuch |
Inhalt: | Einband - flex.(Paperback) |
ISBN-13: | 9781449310370 |
ISBN-10: | 1449310370 |
Sprache: | Englisch |
Einband: | Kartoniert / Broschiert |
Autor: | O'Higgins, Niall |
Hersteller: | O'Reilly Media |
Verantwortliche Person für die EU: | Libri GmbH, Europaallee 1, D-36244 Bad Hersfeld, gpsr@libri.de |
Maße: | 240 x 182 x 10 mm |
Von/Mit: | Niall O'Higgins |
Erscheinungsdatum: | 01.11.2011 |
Gewicht: | 0,137 kg |