The Definitive Guide to MongoDB

The NoSQL Database for Cloud and Desktop Computing

By Eelco Plugge , DUPTim Hawkins , Peter Membrey

The Definitive Guide to MongoDB Cover Image

The first book to cover this popular new database, The Definitive Guide to MongoDB shows you how to install, model, and work with data in MongoDB, and write applications for MongoDB using PHP.

Full Description

  • ISBN13: 978-1-4302-3051-9
  • 328 Pages
  • User Level: Beginner to Intermediate
  • Publication Date: September 29, 2010
  • Available eBook Formats: EPUB, MOBI, PDF
  • Print Book Price: $49.99
  • eBook Price: $34.99
Buy eBook Buy Print Book Add to Wishlist

Related Titles

Full Description

MongoDB, a cross-platform NoSQL database, is the fastest-growing new database in the world. MongoDB provides a rich document-oriented structure with dynamic queries that you’ll recognize from RDBMS offerings such as MySQL. In other words, this is a book about a NoSQL database that does not require the SQL crowd to re-learn how the database world works!

MongoDB has reached 1.0 and boasts 50,000+ users. The community is strong and vibrant and MongoDB is improving at a fast rate. With scalable and fast databases becoming critical for today’s applications, this book shows you how to install, administer and program MongoDB without pretending SQL never existed.

What you’ll learn

  • Set up MongoDB on all major platforms, including Linux and Cloud platforms
  • Model data within a document-oriented database
  • Work with your data using non-SQL commands
  • Write applications using MongoDB's PHP API
  • Optimize MongoDB
  • Master MongoDB administration, including replication

Who this book is for

This book will appeal to everyone with some experience in database administration, and provides the entry point for those of us who don’t want to hear about database theory but still need to implement a NoSQL-based database. PHP developers will also profit from this book, since it will add an important NoSQL database to their toolkit.

Table of Contents

Table of Contents

  1. Introduction to MongoDB
  2. Installing MongoDB
  3. The Data Model
  4. Working with Data
  5. GridFS
  6. PHP and MongoDB
  7. Python and MongoDB
  8. Creating a Blog Application with the PHP Driver
  9. Database Administration
  10. Optimization
  11. Replication
  12. Sharding
Errata

Please Login to submit errata.

On page Section: 4.3.6.2:
missing closing } in find query. should read:
db.media.find( { Type : "Book", Author : {$ne : "Plugge, Eelco" } } )

Safari Bookshelf edition

On page Section: 4.3.6.3:
the query:
db.media.find({Released : {$in :["1999","2008","2009"]}},{"Cast":0})

the array should be an array of integers and read:
db.media.find({Released : {$in :[1999,2008,2009]}},{"Cast":0})