MongoDB Applied Design Patterns
Practical Use Cases with the Leading NoSQL Database
Publisher: O'Reilly Media
Final Release Date: March 2013
Pages: 176

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
Product Details
About the Author
Colophon
Recommended for You
Customer Reviews

REVIEW SNAPSHOT®

by PowerReviews
oreillyMongoDB Applied Design Patterns
 
5.0

(based on 5 reviews)

Ratings Distribution

  • 5 Stars

     

    (5)

  • 4 Stars

     

    (0)

  • 3 Stars

     

    (0)

  • 2 Stars

     

    (0)

  • 1 Stars

     

    (0)

100%

of respondents would recommend this to a friend.

Pros

  • Accurate (5)
  • Helpful examples (5)
  • Concise (4)
  • Easy to understand (3)
  • Well-written (3)

Cons

    Best Uses

    • Intermediate (5)
      • Reviewer Profile:
      • Developer (5)

    Reviewed by 5 customers

    Sort by

    Displaying reviews 1-5

    Back to top

    (0 of 2 customers found this review helpful)

     
    5.0

    Well-written and to the point

    By John Smallberries

    from San Narciso, CA

    About Me Developer

    Pros

    • Accurate
    • Concise
    • Easy to understand
    • Helpful examples
    • Well-written

    Cons

      Best Uses

      • Intermediate

      Comments about oreilly MongoDB Applied Design Patterns:

      nuff said.

       
      5.0

      A must have for any MongoDb user

      By Haris Skiadas

      from Hanover, IN

      About Me Developer, Educator

      Verified Reviewer

      Pros

      • Accurate
      • Concise
      • Easy to understand
      • Helpful examples
      • Well-written

      Cons

        Best Uses

        • Expert
        • Intermediate

        Comments about oreilly MongoDB Applied Design Patterns:

        This book is perfect for anyone wanting to make the transition to using MongoDb. On each chapter the author starts by discussing how a SQL database would approach a specific problem, and contrasts it with one or more ways of approaching the problem in MongoDb. The emphasis is on specific examples that demonstrate solid general principles. There is a good chance that, whatever your project is about, you'll find some examples relevant to it. The chapters on storing log data, content management and social networking were all immediately applicable to my current project, and gave me many ideas on how I would want to structure my database.

        I especially appreciated the emphasis the author puts on multiple approaches to each problem, and the tradeoffs of each approach. Special care is taken to point out how those choices affect both writes and queries, and every chapter finishes with a discussion on what factors one needs to consider when sharding their database. Overall there was a lot of concrete, useful advice that I found I could put to practice right away.

        Application and database code is presented in either the mongo shell's Javascript or in Python, but the examples are clear enough that you can follow along even without working knowledge of Python.

        The author does assume some familiarity with MongoDb and its basic structures. If you have never looked at anything MongoDb related then you will find some portions challenging; I would recommend keeping a more introductory MongoDb reference close at hand. But the book serves its purpose superbly, and without any extra fat. The author is throughout concise and to the point, which I appreciated.

        I highly recommend this book to anyone planning to use MongoDb in their projects. Don't start things without it!

        (1 of 1 customers found this review helpful)

         
        5.0

        Useful and practical examples

        By Przemysław

        from Kraków

        About Me Developer

        Verified Reviewer

        Pros

        • Accurate
        • Concise
        • Helpful examples

        Cons

          Best Uses

          • Intermediate
          • Student

          Comments about oreilly MongoDB Applied Design Patterns:

          I used MongoDB in some of my projects but mostly through adapters (ODMs – object-document mappers). Recently, I needed to think about structure of documents used in one of my web app.

          In first part author helps to solve that problem — he shows pros and cons when embedding documents is better solution or when referencing documents wins. In other chapters of Part I. Design Patterns author covers also polymorphic schemas and how to mimick transactional behaviour in MongoDB.

          In Part II. Use cases there are different examples of MongoDB in actions. Author provides some Python snippets for each chapter. For me, the most interesting example is storing log data — it is really helpful to be aware of how proper document structure or documents pre-allocation has an influence on database performance.

          (3 of 3 customers found this review helpful)

           
          5.0

          A must read

          By Matt Bodman

          from Sunshine Coast, Australia

          About Me Developer

          Verified Reviewer

          Pros

          • Accurate
          • Concise
          • Easy to understand
          • Helpful examples
          • Well-written

          Cons

            Best Uses

            • Intermediate
            • Student

            Comments about oreilly MongoDB Applied Design Patterns:

            Making the transition from SQL to NoSQL can do one's head in. I have read countless books, blog posts etc on the subject, I've even been developing MongDB applications for about 18 months now and I have to say that this book has filled in some significant gaps for me. I particularly like that the author has taken the time to constantly refer back to comparable SQL methods, which really helped me to understand the pros of MongoDB. The real-world use-cases in the latter half of the book are golden. Be prepared to have many "aha" moments as you digest this very easy-on-the-brain title. Well done!

            (2 of 2 customers found this review helpful)

             
            5.0

            Practical, accurate

            By A. Jesse Jiryu Davis

            from New York, NY

            About Me Developer

            Pros

            • Accurate
            • Helpful examples

            Cons

              Best Uses

              • Expert
              • Intermediate

              Comments about oreilly MongoDB Applied Design Patterns:

              MongoDB Design Patterns fills a substantial gap in the MongoDB literature: it explains the challenges particular to application design with MongoDB, and provides complete solutions for a variety of domains. Rick Copeland is one of the foremost independent MongoDB experts; this book's accuracy and thoughtfulness reflect his long experience.

              Displaying reviews 1-5

              Back to top

               
              Buy 2 Get 1 Free Free Shipping Guarantee
              Buying Options
              Immediate Access - Go Digital what's this?
              Ebook: $29.99
              Formats:  DAISY, ePub, Mobi, PDF
              Print & Ebook: $38.49
              Print: $34.99