MongoDB Tutorial

MongoDB Introduction

MongoDB is a NoSQL open source document-oriented database management system. This is suitable for modern internet applications. It provides dynamic queries, scalability, secondary indexes, fast atomic updates and we can easily use more than one database in a project.

We hope, you have some experience with relational databases. MongoDB concepts are different from the relational databases. As you may know in a relational database, we have to make multiple complicated tables, and write complicated queries full of joins. But in mongodb, we can store most of the information in a single document.

It is open source so that, the source code is publicly available and free to modify and use in terms of its license.

It is written in C++, developed by 10gen and licensed under the GNU-AGPL. MongoDB v1.0 was the first version and released in November 2009.

It compiles on all major operating systems, including Linux, Mac OS X, Windows.

The JavaScript shell

The MongoDB command shell is a javascript based tool for administering the database and manipulating data.

Database drivers

The MongoDB drivers are easy to use. The 10gen officially provides support drivers for C, C++, C#, Erlang, Haskell, Java, Perl, PHP, Python, Scala, and Ruby and there is also a community supported driver for other languages.

Read more articles