MongoDB for Developers with Python Transcripts
Chapter: What is NoSQL?
Lecture: Introducing MongoDB

Login or purchase this course to watch this video and the rest of the course contents.
0:01 Now that we've talked about what NoSQL is,
0:03 where it came from and a little bit about document databases,
0:05 let's move to focusing specifically on MongoDB.
0:10 First off, I want to point out that MongoDB is open source
0:14 so if we come down here, you can see we've got
0:18, there's actually all what are called drivers
0:23 so like how do you access MongoDB from Python, or CSharp, or Java or whatever,
0:28 and a bunch of other stuff out here on their github,
0:31 but Mongo is the actual database server.
0:33 So it's cool that it's open source, now there's a lot of things that are on github
0:38 that are technically open source, but not really active,
0:41 it's like oh that's been changed, four years ago,
0:45 and it's got 50 pull requests that haven't been
0:47 even addressed in the last six months.
0:50 That's not good; that's not the case with Mongo, obviously,
0:53 eleven thousand stars, three thousand forks,
0:55 when was the last check in— it was three hours ago, okay?
0:59 So that's really awesome, and they're fixing the build on 'Windos'
1:05 so that must be a slightly different version of Windows,
1:08 I'm just kidding, I'm sure they lost the w there
1:10 but you know, it runs on the major platforms,
1:12 Windows, Linux and MacOS, if we look over at the pull request
1:17 you can see these are only a few days old,
1:20 there's 1129 that are closed, so these are all really good signs
1:25 for MongoDB's open source site,
1:28 open source repository to be active and real,
1:31 not just it's up here, but it's a really active thing
1:35 with a huge company and hundreds of engineers working on it.
1:39 If we look at what it's made of, it's basically a C++ app,
1:43 there is a decent amount of Javascript
1:45 and there as well as we'll see Javascript is fundamental
1:48 in the raw query api and some other stuff.
1:50 Now we can get the source code here, but that's not how we get MongoDB.
1:54 So the way we get MongoDB is we go to,
1:57 and we click download and it takes us here,
2:00 so you can see there is the free community server version
2:03 and if we come over here we could get the OS10 version with ssl
2:07 we could download it just as a binary
2:10 or we could install it with home brew, that's pretty cool.
2:13 If we want to install it on Linux, let's pick something,
2:16 let's say we want to install it on Ubuntu,
2:19 okay, here is how you install it with aptitude, right
2:22 so on Windows you just get an msi and install it directly that way.
2:26 But notice, they all have ssl support, I believe there's a time
2:30 when ssl support was actually an enterprise feature or like a paid feature,
2:34 but thankfully that went away, and the community edition has this right here.
2:39 So if you get a chance, I would recommend installing it
2:42 especially on Linux from one of the package manager type things
2:46 like here with apt, because then the underlying system will know
2:50 that there's an update for your database server,
2:54 not a feature on Windows, you just have to keep track.
2:57 You can go and get the enterprise server which has an in memory version,
3:00 an encrypted at rest version, and sort of
3:04 advanced identity control features within it
3:10 but if you just want a standard database without those things
3:13 you don't care about say encryption at rest
3:16 or integration with active directory or something like that,
3:18 then the free version is totally good.