1 00:00:01,100 --> 00:00:06,770 Running a Web application, so we've seen servers, clients, and we've talked a little bit about the 2 00:00:06,770 --> 00:00:13,670 technologies behind them, so where you may ask, where is the application? 3 00:00:14,270 --> 00:00:16,250 Where is the code? 4 00:00:17,000 --> 00:00:17,330 All right. 5 00:00:17,330 --> 00:00:22,070 So here I'm going to explain a little bit about how a Web application runs on a server. 6 00:00:22,730 --> 00:00:26,360 And, yeah, web applications run on servers. 7 00:00:27,230 --> 00:00:31,940 So now let's say that we have a completed project. 8 00:00:32,720 --> 00:00:35,210 So the code is already ready to function. 9 00:00:35,990 --> 00:00:43,490 Now to benefit from whatever the applications aims are, this code should be run by a server software. 10 00:00:45,320 --> 00:00:49,910 So on server computers, there is indeed special software called HTTP server. 11 00:00:50,500 --> 00:00:56,330 And of course, it's got all kinds of flavors such as Apache, IRS and nginx. 12 00:00:57,380 --> 00:01:04,610 All code files are then put under a special folder that belongs to the HTTP server. 13 00:01:05,360 --> 00:01:11,570 Then their software runs and processes the code and produces the associated output when a client requests 14 00:01:11,570 --> 00:01:11,720 it. 15 00:01:13,910 --> 00:01:20,750 Now, to speak in developer terms, we can explain that there are two sides for an application the front 16 00:01:20,750 --> 00:01:22,010 end and the back end. 17 00:01:23,150 --> 00:01:31,010 The front end is composed of the code that runs into the Web browser and a browser can only run HDMI 18 00:01:31,040 --> 00:01:33,860 access and JavaScript code, by the way. 19 00:01:35,340 --> 00:01:42,240 Now a server can run programming languages, databases and web frameworks on an operating system. 20 00:01:43,300 --> 00:01:51,850 So when you request a Web page from the server, the server will approve the request, then process 21 00:01:51,850 --> 00:01:59,320 the code and then produce the associated HTML file and then the server will send this file back to the 22 00:01:59,320 --> 00:02:01,840 client, which is the Web browser. 23 00:02:02,750 --> 00:02:08,630 So after the Web browser downloads all the files, it's going to combine and render them. 24 00:02:09,750 --> 00:02:13,000 And then display the page visually, as we can see. 25 00:02:13,950 --> 00:02:16,950 Now let's dive into some of the basics to understand them better.