Apress Access

The Definitive Guide to MongoDB

The NoSQL Database for Cloud and Desktop Computing

By Eelco Plugge , DUPTim Hawkins , Peter Membrey

  • eBook Price: $34.99
Buy eBook Buy Print Book
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

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

Related Titles

  • DevOps, DBAs, and DBaaS
  • Securing SQL Server
  • Learn CakePHP, Second Edition
  • PHP Development Tool Essentials
  • Practical Laravel 5
  • Lumen Programming Guide
  • Database Systems
  • Relational Database Programming
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

If you think that you've found an error in this book, please let us know by emailing to editorial@apress.com . You will find any confirmed erratum below, so you can check if your concern has already been addressed.

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

Safari Bookshelf edition

On page Section:
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})


    1. PHP Objects, Patterns, and Practice


      View Book

    2. PHP for Absolute Beginners


      View Book

    3. Pro PHP Security


      View Book

    4. Beginning PHP and MySQL


      View Book