1 00:00:00,300 --> 00:00:03,540 Controlling things from E.S.P 30 to observer. 2 00:00:04,320 --> 00:00:11,430 Now, if things aren't clear yet, you might be asking yourself, how am I going to control things from 3 00:00:11,440 --> 00:00:15,780 Observer that merely processes and delivers what pages? 4 00:00:16,770 --> 00:00:21,300 Well, then you need to understand what's going on behind the scenes. 5 00:00:23,400 --> 00:00:23,880 Now. 6 00:00:25,660 --> 00:00:35,410 When you type are you are an old browser and hit enter the browser sends and or A.B. request, which 7 00:00:35,410 --> 00:00:38,730 is basically get request to our server. 8 00:00:39,040 --> 00:00:44,490 And in the example we previously explained, we mentioned Google servers. 9 00:00:45,280 --> 00:00:49,540 It's a job of Web server to handle this request by doing something. 10 00:00:50,380 --> 00:00:57,940 You might have figured it out by now that we are going to control things by accessing a specific URL. 11 00:00:58,900 --> 00:01:06,370 For example, suppose we enter are like one hundred ninety two point one hundred sixty eight point one 12 00:01:06,370 --> 00:01:08,020 point one led on. 13 00:01:08,020 --> 00:01:11,640 I would like to do that for you so that the idea will be more clear. 14 00:01:13,830 --> 00:01:14,580 Now, Furat. 15 00:01:15,590 --> 00:01:16,470 HTP. 16 00:01:21,750 --> 00:01:24,120 And we wrote a lot of. 17 00:01:25,010 --> 00:01:34,600 One hundred ninety two point one six eight point one point one, and then we had a slash led. 18 00:01:38,670 --> 00:01:46,950 Now, if we did enter this in the browser, the browser then sends HTP request to E.S.P 52 to handle 19 00:01:46,950 --> 00:01:47,700 this request. 20 00:01:48,300 --> 00:01:54,870 When E.S.P 32 reads the request, it knows that the user wants to turn that on from D-line. 21 00:01:56,630 --> 00:02:03,470 It turns the lid on and sends a dynamic page to applause are showing little status on. 22 00:02:04,550 --> 00:02:11,030 All of now, this part of the trial can be anything else that may change the color. 23 00:02:12,170 --> 00:02:20,150 This part can be changed with anything else, depending on the IP that you set for your USB port, and 24 00:02:20,150 --> 00:02:28,130 this line out of this world can be changed with any other thing played out on laid off or turn it on, 25 00:02:28,340 --> 00:02:29,270 turn it off. 26 00:02:29,720 --> 00:02:32,960 And this is the YouTube request that we already mentioned. 27 00:02:33,710 --> 00:02:40,010 So this is basically what we are going to write and our client, which is the Web browser, and this 28 00:02:40,010 --> 00:02:43,100 will be sent to the server, which is the ISP bar. 29 00:02:43,700 --> 00:02:50,840 And in that case, these people will have a code that will be ready to receive this, uh, your URL, 30 00:02:50,960 --> 00:02:54,450 and it will try to figure out what's written here. 31 00:02:54,530 --> 00:03:00,740 Once it's recognized that it's it has a lid on right in here, it will turn on the lid. 32 00:03:01,610 --> 00:03:09,340 Then it will send out page displaying the status of that led to your Web browser. 33 00:03:09,410 --> 00:03:19,490 So it's basically client or browser and server, then back to the client and from the client, the server 34 00:03:19,490 --> 00:03:20,020 again. 35 00:03:20,360 --> 00:03:21,980 And this law will continue. 36 00:03:22,490 --> 00:03:24,110 This is basically what we are going to do. 37 00:03:24,590 --> 00:03:32,610 We are going to write a code inside the server and that code will has a Web page code and it will has 38 00:03:32,630 --> 00:03:33,230 to button. 39 00:03:36,740 --> 00:03:37,960 Or of. 40 00:03:40,120 --> 00:03:49,150 Once you call it by name, once you write 100 thousand eight hundred sixty one one, it will take you. 41 00:03:49,450 --> 00:03:55,770 Once you have this in your browser, it will take you to this Web page that exists inside the ISP server. 42 00:03:56,230 --> 00:04:00,370 And from there, you can control these two letters on or off. 43 00:04:00,910 --> 00:04:03,160 It's as simple as that. 44 00:04:03,770 --> 00:04:07,780 The ISP is the server and your Web browser is the client. 45 00:04:08,440 --> 00:04:14,950 You will use the your client to connect to the server and give it orders to turn it on or off. 46 00:04:14,950 --> 00:04:22,430 And it will execute depending on the code inside it and will send you the whole page showing your little 47 00:04:22,450 --> 00:04:23,020 status. 48 00:04:24,240 --> 00:04:32,790 I think that now the idea is more clear and to be even more clear with the coding and the coding section, 49 00:04:33,270 --> 00:04:34,310 so stay tuned. 50 00:04:34,620 --> 00:04:35,430 See your next. 51 00:04:36,440 --> 00:04:40,850 And we are going to start calling this board to act as an observer.