1 00:00:01,480 --> 00:00:07,830 Hello, I was a little bit excessive, but I'm very, very excited to start the course. 2 00:00:08,230 --> 00:00:11,470 So in this section we're going to be talking about browsing the web. 3 00:00:11,470 --> 00:00:14,200 It's the first part and how the Internet works section. 4 00:00:14,440 --> 00:00:18,550 And some of you are thinking right now, whoa, whoa, whoa, Anjali, come on. 5 00:00:18,670 --> 00:00:20,040 I know how the Internet works. 6 00:00:20,050 --> 00:00:23,290 Let's get to the heavy, heavy technical stuff. 7 00:00:23,290 --> 00:00:27,880 But this is something that actually took me quite a few years to learn. 8 00:00:28,240 --> 00:00:34,390 And I see a lot of people just skimming the surface of this stuff without fully understanding how everything 9 00:00:34,390 --> 00:00:36,950 works together, without having those foundations. 10 00:00:37,000 --> 00:00:42,180 Actually very, very difficult to think about performance, optimizing your site and so on and so on. 11 00:00:42,190 --> 00:00:46,630 So we're going to start off very, very basic and we're going to learn something that it took me many 12 00:00:46,630 --> 00:00:47,410 years to learn. 13 00:00:47,410 --> 00:00:50,380 And once I figured this out, everything clicked. 14 00:00:50,390 --> 00:00:52,450 So just hang in there. 15 00:00:52,450 --> 00:00:53,170 Trust me. 16 00:00:53,170 --> 00:00:55,120 I promise you you'll learn something new in this section. 17 00:00:55,240 --> 00:00:57,700 And we're going to be talking about browsing the web. 18 00:00:58,600 --> 00:01:04,180 We have over here a laptop and we have our browser, let's say, Google Chrome. 19 00:01:04,180 --> 00:01:09,130 And we typically like to say go to Google and we're going to visit Google. 20 00:01:09,130 --> 00:01:10,780 So we type in Google Docs comment. 21 00:01:11,050 --> 00:01:13,480 Well, what happens technically when we do that? 22 00:01:14,170 --> 00:01:20,710 When we enter Google dot com, we press enter on our keyboard, we ask a question, who's this Google 23 00:01:20,710 --> 00:01:21,430 dot com fellow? 24 00:01:21,430 --> 00:01:26,080 And that question gets asked all the way down to our ISP. 25 00:01:26,350 --> 00:01:28,210 ISP is Internet service provider. 26 00:01:28,210 --> 00:01:29,650 And I put a dollar sign up here. 27 00:01:29,680 --> 00:01:33,250 Just so you know, those are the people that you pay so you can have Internet. 28 00:01:33,460 --> 00:01:36,760 So if you're in the States, that's Kozhikode Verizon. 29 00:01:36,940 --> 00:01:41,560 If you're in Canada, they'll be Bell or Rogers or, you know, depending on your country, you have 30 00:01:41,560 --> 00:01:45,070 your big, big companies that make a lot of money from Internet usage. 31 00:01:45,070 --> 00:01:50,800 So they get that request and they send that off to something called the DNS server. 32 00:01:50,810 --> 00:01:54,520 So domain name servers and we'll get into that later on in the course. 33 00:01:55,030 --> 00:01:56,260 So don't worry too much about it. 34 00:01:56,260 --> 00:02:03,160 But essentially, it's a phone book, a phone book that has the lists of all these URLs like Google 35 00:02:03,160 --> 00:02:06,760 dot com, and it has the addresses of them. 36 00:02:06,760 --> 00:02:09,780 So exactly like a phone book, they know where Google dot com is. 37 00:02:09,789 --> 00:02:15,490 So they say, hey, you know, I don't know Mr. Google dot com personally, but I do know his address. 38 00:02:15,730 --> 00:02:16,630 So you should go check him up. 39 00:02:16,960 --> 00:02:24,040 So they send off that request back through the ISP and the website or the Web browser. 40 00:02:24,070 --> 00:02:30,970 Google Chrome in this case gets once every two to one seven seven twenty three where I call, but nothing 41 00:02:30,970 --> 00:02:31,750 showing up yet. 42 00:02:31,750 --> 00:02:33,880 There's no there's no Google dot com. 43 00:02:33,880 --> 00:02:34,960 I can do any searches yet. 44 00:02:36,410 --> 00:02:44,570 OK, we received what we call an IP address, so think of this as something that every single computer 45 00:02:44,570 --> 00:02:48,010 has one, anything that's connected to the Internet has its own address. 46 00:02:48,020 --> 00:02:50,810 So the laptop that I'm working on right now is an IP address. 47 00:02:50,810 --> 00:02:52,910 Your laptop or computer has an IP address. 48 00:02:53,830 --> 00:03:00,350 So this IP address allows the Internet to work, essentially it knows our location, our address. 49 00:03:00,460 --> 00:03:06,400 So what we do now with Google dot com, we know the IP address, the browser sends off another request 50 00:03:06,700 --> 00:03:10,870 to the Google servers and it knows where the Google servers are because. 51 00:03:10,870 --> 00:03:12,610 Well, because we have this address. 52 00:03:12,640 --> 00:03:18,310 So we go seek it out and you can think of servers as computers. 53 00:03:18,310 --> 00:03:20,620 Essentially, my laptop could be a server. 54 00:03:20,620 --> 00:03:22,090 Your computer could be a server. 55 00:03:22,630 --> 00:03:29,740 Servers are essentially computers that are sometimes in basements or in huge server farms. 56 00:03:29,890 --> 00:03:37,180 And they have a piece of software running that just like at a restaurant where a server brings you food, 57 00:03:37,420 --> 00:03:41,100 it knows how to send you files when you request for them. 58 00:03:41,350 --> 00:03:49,300 So we send this off and the Google servers say, oh, yeah, no problem, let me give you my e-mail 59 00:03:49,300 --> 00:03:53,740 access and JavaScript and we'll get into what those are later on in the course. 60 00:03:53,860 --> 00:03:56,200 But think of them as just text files. 61 00:03:56,410 --> 00:04:02,140 There are text files that Google is going to send to the browser so we can have Google working. 62 00:04:02,320 --> 00:04:07,480 So let me just minimize this and show you what it's doing. 63 00:04:07,480 --> 00:04:11,830 So we're copying these files and Google servers saying, yeah, no problem. 64 00:04:11,830 --> 00:04:13,800 Thanks for asking for Google. 65 00:04:14,110 --> 00:04:14,770 Here it is. 66 00:04:15,250 --> 00:04:19,579 And the Web browser receives the email access and JavaScript. 67 00:04:20,019 --> 00:04:26,110 So if we go to the next section boom, we have Google dot com and everything's working. 68 00:04:26,650 --> 00:04:32,020 Now that sounded like a whole bunch of stuff that happened in between. 69 00:04:32,020 --> 00:04:35,380 And when we're on the Internet, everything is quite fast. 70 00:04:35,380 --> 00:04:41,380 But yeah, underneath the hood, all of that is happening and it's crazy to think how fast everything 71 00:04:41,380 --> 00:04:41,770 works. 72 00:04:42,730 --> 00:04:43,750 Don't take my word for it. 73 00:04:43,750 --> 00:04:48,520 Let's just check this process that I'm not just making stuff up for you. 74 00:04:49,840 --> 00:04:53,410 If what we learned was correct, technically. 75 00:04:54,480 --> 00:05:00,570 We can skip this process, right, I mean, if we know the address of Google, can we just, you know. 76 00:05:01,610 --> 00:05:07,370 Go into this directly and just instead of putting Google dot com, just put in this in our search bar 77 00:05:07,370 --> 00:05:10,050 and it automatically goes to the Google servers. 78 00:05:10,700 --> 00:05:12,050 Well, let's try it out. 79 00:05:12,200 --> 00:05:13,850 Let's let's open up Google here. 80 00:05:14,600 --> 00:05:16,160 And what a pretty picture. 81 00:05:16,310 --> 00:05:16,640 All right. 82 00:05:16,790 --> 00:05:18,560 So we go to Google Dotcom. 83 00:05:20,120 --> 00:05:26,510 Nothing crazy here, and that's great, but what if I instead of that, I put in the IP address, so 84 00:05:26,720 --> 00:05:29,650 one seventy two, there's no way I could remember this address. 85 00:05:29,900 --> 00:05:31,670 I've done this before and I press enter. 86 00:05:32,720 --> 00:05:34,340 That Google icon. 87 00:05:35,240 --> 00:05:36,200 So as you can see. 88 00:05:38,120 --> 00:05:38,870 I'm not lying. 89 00:05:39,460 --> 00:05:45,250 What's happening, the IP address gets sent to the Google servers, Google servers send us a few files 90 00:05:45,250 --> 00:05:48,340 so that we can finally load Google back. 91 00:05:48,340 --> 00:05:50,720 Com in the next section, we're going to do something fun. 92 00:05:50,740 --> 00:05:56,980 We're going to break a bit of Google and toy around with the website again to show you how cool all 93 00:05:56,980 --> 00:05:58,030 of this technology is. 94 00:05:58,320 --> 00:06:00,100 See in the next one, Bhabhi.