MongoDB Applied Design Patterns
Whether you’re building a social media site or an internal-use enterprise application, this hands-on guide shows you the connection between MongoDB and the business problems it’s designed to solve. You’ll learn how to apply MongoDB design patterns to several challenging domains, such as ecommerce, content management, and online gaming. Using Python and JavaScript code examples, you’ll discover how MongoDB lets you scale your data model while simplifying the development process.
Many businesses launch NoSQL databases without understanding the techniques for using their features most effectively. This book demonstrates the benefits of document embedding, polymorphic schemas, and other MongoDB patterns for tackling specific big data use cases, including:
Operational intelligence: Perform real-time analytics of business data
Ecommerce: Use MongoDB as a product catalog master or inventory management system
Content management: Learn methods for storing content nodes, binary assets, and discussions
Online advertising networks: Apply techniques for frequency capping ad impressions, and keyword targeting and bidding
Social networking: Learn how to store a complex social graph, modeled after Google+
Online gaming: Provide concurrent access to character and world data for a multiplayer role-playing game
Table of Contents
 Part I: Design Patterns
 Chapter 1. To Embed or Reference
 Chapter 2. Polymorphic Schemas
 Chapter 3. Mimicking Transactional Behavior
Part II: Use Cases
 Chapter 4. Operational Intelligence
 Chapter 5. Ecommerce
 Chapter 6. Content Management Systems
 Chapter 7. Online Advertising Networks
 Chapter 8. Social Networking
 Chapter 9. Online Gaming
Book Details
Paperback: 176 pages
Publisher: O’Reilly Media (March 2013)
Language: English
ISBN-10: 1449340040
ISBN-13: 978-1449340049




