1
00:00:07,110 --> 00:00:08,220
In this video.

2
00:00:08,220 --> 00:00:15,850
Let's talk about ways of using MongoDB or how we can use MongoDB.

3
00:00:16,110 --> 00:00:25,080
Well, we have two ways of interacting with MongoDB or two ways of which we can work with MongoDB.

4
00:00:25,140 --> 00:00:30,750
And the first one is what we call the MongoDB shell.

5
00:00:30,990 --> 00:00:36,090
The next option is to use what is called MongoDB drivers.

6
00:00:36,090 --> 00:00:40,720
So what are the differences between these two options?

7
00:00:40,740 --> 00:00:44,250
Let's talk about the MongoDB shell.

8
00:00:44,280 --> 00:00:46,680
What is the MongoDB shell with?

9
00:00:46,680 --> 00:00:47,620
One line.

10
00:00:47,640 --> 00:00:55,890
I describe MongoDB shell as using MongoDB without a programming language, but instead we are going

11
00:00:55,890 --> 00:01:01,860
to use the terminal as a way of interacting with MongoDB.

12
00:01:01,950 --> 00:01:11,370
So the MongoDB shell is a command line interface that lets you to interact MongoDB directly and it is

13
00:01:11,370 --> 00:01:16,200
easy to use and does not required any programming knowledge.

14
00:01:16,410 --> 00:01:22,920
The way MongoDB is awesome is that if you want to work with MongoDB, you don't need any programming

15
00:01:22,920 --> 00:01:23,430
language.

16
00:01:23,430 --> 00:01:32,340
If you want to work with the MongoDB shell, but instead the shell is limited in terms of the functionality

17
00:01:32,340 --> 00:01:33,450
it offers.

18
00:01:33,540 --> 00:01:42,570
And we normally use the shell as a playground to play around with MongoDB and see how it works.

19
00:01:42,720 --> 00:01:48,720
And also the shell is a neutral ground for working with MongoDB.

20
00:01:48,990 --> 00:01:56,370
The next point about the shell is that it is a neutral ground for working with MongoDB, whether you

21
00:01:56,370 --> 00:01:59,340
are Node.js developer or Java developer.

22
00:01:59,370 --> 00:02:05,160
The shell is neutral ground where we can use without using any programming language.

23
00:02:05,160 --> 00:02:09,120
So what about the MongoDB drivers?

24
00:02:09,210 --> 00:02:18,110
Well, in one line it is using MongoDB with a programming language where and this is what we want.

25
00:02:18,120 --> 00:02:26,220
Well, MongoDB drivers are programming libraries that lets you to interact with MongoDB database from

26
00:02:26,220 --> 00:02:28,140
within your own code.

27
00:02:28,230 --> 00:02:39,000
So it means that we can use MongoDB in any programming languages like Java, Python C and many more.

28
00:02:39,120 --> 00:02:47,700
It is not only with Node.js, so the drivers have asked to interact with a specific programming language

29
00:02:47,700 --> 00:02:49,890
to work with MongoDB.

30
00:02:50,160 --> 00:02:54,010
So here comes the question which option are we going to use?

31
00:02:54,030 --> 00:02:56,640
Well, it depends on your needs.

32
00:02:56,640 --> 00:03:04,980
One, if you just want to quickly query and update data in MongoDB, then the share will be the best

33
00:03:04,980 --> 00:03:05,790
way to go.

34
00:03:06,180 --> 00:03:14,850
But if you need more control or want to build more complex applications, then you need to use the MongoDB

35
00:03:14,850 --> 00:03:15,720
driver.

36
00:03:15,780 --> 00:03:24,300
So in one case, we are going to stick to the drivers because we are going to build applications using

37
00:03:24,340 --> 00:03:25,040
NuGet.

38
00:03:25,050 --> 00:03:31,820
So it means that we are going to use Node.js drivers to work with MongoDB.

39
00:03:31,890 --> 00:03:38,130
The next video, let's get started with how we can install MongoDB.

