To make PHP talk to the Mongo DB server, we are going to need the PHP-Mongo DB driver. If you use Linux install it easily via: Mongo DB provides rich semantics for reading and manipulating data. These terms are the foundation for all interactions with the database.
We'll start by mastering the fundamentals of Mongo, including collections, validations, and common record manipulation techniques.
This course will get you up and running with Mongo DB quickly, and teach you the core knowledge you need to deeply understand and build apps centered around Mongo.
The reason I chose to build a blog application is because it is a basic CRUD application and it is very suitable for easing into PHP and Mongo DB web development.
We will build a plain user interface using Bootstrap with simple textboxes and buttons. You can download full source from github, see a demo frontend here and try the demo app’s backend with the user name and password being .
Mongo DB is available as a binary, or as a package.
In production environments, use 64-bit Mongo DB binaries.
There are so many No SQL systems these days that it's hard to get a quick overview of the major trade-offs involved when evaluating relational and non-relational systems in non-single-server environments.
I've developed this visual primer with quite a lot of help (see credits at the end), and it's still a work in progress, so let me know if you see anything misplaced or missing, and I'll fix it.
In addition to CAP configurations, another significant way data management systems vary is by the data model they use: relational, key-value, column-oriented, or document-oriented (there are others, but these are the main ones).