Bierer, Doug.

MongoDB 4 Quick Start Guide : Learn the Skills You Need to Work with the World's Most Popular NoSQL Database. - 1st ed. - 1 online resource (187 pages)

Cover -- Title Page -- Copyright and Credits -- Dedication -- Packt Upsell -- Contributors -- Table of Contents -- Preface -- Chapter 1: Introducing MongoDB -- Overview of MongoDB -- Handling big data -- Modeling objects without SQL -- Installing MongoDB -- Installing MongoDB on Windows -- Download and install -- MongoDB Compass -- MongoDB Windows file locations -- Installing MongoDB on Linux -- Installing on Debian or Ubuntu Linux -- Package installation -- Configure and run MongoDB on Ubuntu/Debian -- Installing on Red Hat, Fedora, or CentOS Linux -- Package installation -- Configure and run MongoDB on RHEL/Fedora/CentOS -- Installing from source -- Summary -- Chapter 2: Understanding MongoDB Data Structures -- What is NoSQL? -- Documents, collections, and database -- Data-modeling considerations -- References -- Embedded documents -- Document design -- Creating a MongoDB database and collection -- Summary -- Chapter 3: Using the MongoDB Shell -- Overview -- Why use the mongo shell? -- Options when invoking the shell -- .mongorc.js File -- Informational commands -- Performing simple queries -- Defining a query filter -- Defining a projection -- Modifying the cursor -- Database and collection operations -- Working with databases -- Working with collections -- Creating, updating, or deleting documents -- Creating one or more documents -- Updating one or more documents -- Deleting one or more documents -- Creating and running shell scripts -- Running a direct command -- Running a shell script -- Summary -- Chapter 4: Developing with Program Language Drivers -- Overview of the MongoDB PHP driver -- MongoDB PHP architecture -- MongoDB PHP extension classes -- MongoDB\Driver classes -- MongoDB\BSON classes -- MongoDB\Driver\ classes -- Installing the MongoDB PHP extension -- ext/mongodb installation using PECL. ext/mongodb installation on Windows -- Installing the PHP library for MongoDB (PHPLIB) -- Performing CRUD operations using PHPLIB -- Core PHPLIB class instances needed for CRUD operations -- Creating documents -- Reading documents -- Searching by ObjectId -- Updating documents -- Deleting documents -- Other libraries and framework integration -- Summary -- Chapter 5: Building Complex Queries Using Aggregation -- An overview of aggregation -- What is aggregation? -- Why use aggregation? -- Using single-purpose aggregation -- Using the aggregation pipeline -- Aggregation pipeline stages -- bucket -- group -- lookup -- match -- Aggregation pipeline expression operators -- Aggregation pipeline accumulators -- group stage accumulators -- project and addFields stage accumulators -- Aggregation pipeline expression operator examples -- Using map-reduce -- Using the MongoDB Compass aggregation pipeline builder -- Summary -- Chapter 6: Maintaining MongoDB Performance -- Indexes -- Single field indexes -- Compound indexes -- Multi-key indexes -- Simple backup and restore -- mongodump -- mongorestore -- Replication -- Understanding MongoDB replication -- Deploying a replica set -- Resetting the IP address -- Configuring the replica set member -- Initializing the replica set -- Adding and removing members -- Removing a member from a replica set -- Adding a member to a replica set -- Sharding -- Understanding sharding -- Choosing a shard key -- Sharding strategies -- Ranged sharding -- Hashed sharding -- Deploying a sharded cluster -- Summary -- Chapter 7: Securing MongoDB -- MongoDB security overview -- Transport Layer Security -- Changes in MongoDB v4.0 -- x.509 certificates -- Configuring mongod to use TLS -- Authentication -- SCRAM -- Mongo shell authentication using SCRAM -- Internal communication using SCRAM -- x.509 authentication. Mongo shell authentication using x.509 -- Internal authentication using x.509 -- Kerberos -- LDAP -- Access control -- Initializing security -- Database privilege actions -- CRUD privilege actions -- Database management privilege actions -- Infrastructure privilege actions -- Role-based access control -- Built-in roles -- Custom roles -- Database user administration -- Summary -- Chapter 8: Getting from a Web Form to MongoDB -- Building the application -- Defining the initial view -- Defining the Add Purchase view -- Defining the JSON response script -- Defining the Connection class -- Defining the service classes -- Application\Base -- Application\Main -- Application\Lookup -- Application\Add -- Configuring transaction support -- Adding security -- Summary -- Using Docker -- Using MongoDB with Docker -- Other Books You May Enjoy -- Index.

MongoDB has grown to become the de facto NoSQL database with millions of users, from small start-ups to Fortune 500 companies. It can solve problems that are considered difficult, if not impossible, for aging RDBMS technologies. Written for version 4 of MongoDB, this book is the easiest way to get started with MongoDB.

9781789349726


MongoDB.
Object-oriented databases.


Electronic books.

QA76.9.D3 .B547 2018

005.7577