Documente Academic
Documente Profesional
Documente Cultură
Code
DATABASES
Getting Started with MongoDB - Part 1
by Matthew Setter 23 Nov 2011 85 Comments
4 8
Ready to get in and start learning about MongoDB, one of the coolest technologies for web
developers?
In this new series, you'll go from beginner to pro and be able to use Mongo just as easily as
MySQL in your web apps. But first, let's look at the basics.
Why MongoDB?
What if you could store the programmatic models almost
exactly like you model them?
In object-oriented development, we're encouraged to approach code development through
logical models, so that we can more readily conceptualise it in our mind. When we do this,
we're better able discern the logical operations used to interact with it and information that it
would contain at different times.
What if you could store the programmatic models almost exactly like you model them? What if
you could store them as they are instead of in a series of rows in tables? By learning about
MongoDB, you're going to be able to do just that!
In this series, we'll be learning everything from the basics of MongoDb, such as creating,
updating and deleting databases and records, to being able to perform complex searches for
data and elementary data mining with MapReduce. So, without much ado let's get started!
Note: This tutorial is done from the perspective of NIX based system a la Mac OSX, Linux
BSD and so on. But you should be able to follow along if you're running Windows pretty well as