Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated:
1
00:00:00,360 --> 00:00:05,760
Hi there, welcome back in the annual lecture in the previous while we have initialized our development
2
00:00:05,760 --> 00:00:12,960
and environment in a desirable to continue with the initialization of our first page and installation
3
00:00:12,960 --> 00:00:14,670
of cable packages.
4
00:00:15,810 --> 00:00:16,230
All right.
5
00:00:16,350 --> 00:00:20,700
Let's start in your coding ED and let's take a look at it.
6
00:00:20,700 --> 00:00:25,620
So that's the files and the folder us that has been generated for us.
7
00:00:26,460 --> 00:00:32,130
The page you see on your screens when you open localhost eight thousand eighty is located in the SRT
8
00:00:32,130 --> 00:00:35,610
folder in the upload view is the main part.
9
00:00:36,300 --> 00:00:39,510
As you can see here, that's how the View file looks like.
10
00:00:40,650 --> 00:00:43,560
View file consists of two three parts.
11
00:00:44,220 --> 00:00:51,840
One part is a template where you can write a HTML and also you can provide your components you will
12
00:00:51,840 --> 00:00:52,650
be creating.
13
00:00:52,650 --> 00:00:56,610
Components are likely usable parts, but we'll be talking about this later.
14
00:00:57,330 --> 00:01:04,890
OK, so a template rewriting your HTML and you can also include your components, then have a script
15
00:01:04,890 --> 00:01:05,310
part.
16
00:01:05,310 --> 00:01:07,890
Is a JavaScript part of your overview?
17
00:01:07,890 --> 00:01:09,440
File the script file.
18
00:01:09,450 --> 00:01:11,310
You can interact with a template.
19
00:01:11,910 --> 00:01:13,420
OK, you can do that in exchange.
20
00:01:13,420 --> 00:01:16,830
Yes, you can access data and you can also provide data into your template.
21
00:01:17,580 --> 00:01:19,240
The style part's self-explanatory.
22
00:01:19,240 --> 00:01:20,400
You are providing the styling.
23
00:01:20,580 --> 00:01:22,470
So can any types of the styles.
24
00:01:22,710 --> 00:01:26,820
Congratulations, says SAS S6's and so on.
25
00:01:28,700 --> 00:01:34,670
OK and a comprehensive listing, your companies, for example, as a hello world, as I told, you can
26
00:01:34,670 --> 00:01:40,910
break down your template into multiple parts and parts of a template can be can be located in the different
27
00:01:41,150 --> 00:01:47,240
files in a different view, files such as Hello World, which content is locked and played here in a
28
00:01:47,240 --> 00:01:50,840
couple of stylings and you can also see here on your screen.
29
00:01:50,930 --> 00:01:52,540
That's your That's a hell.
30
00:01:52,670 --> 00:01:54,860
Hello, hello, world dot view.
31
00:01:56,750 --> 00:01:58,580
OK, they'll be removing the guys, actually.
32
00:01:59,030 --> 00:02:05,540
You'll be creating are older of our space age, so what we're going to do the best way will just simply
33
00:02:05,540 --> 00:02:08,270
remove the components folder will create our own later.
34
00:02:09,320 --> 00:02:11,150
We will have a components folder deleted.
35
00:02:12,960 --> 00:02:18,810
All right, and also our auditorium of upload view and a hell of art from here and from a conference
36
00:02:18,810 --> 00:02:19,590
Hello world here.
37
00:02:20,550 --> 00:02:23,820
Bill to go step by step and also this important hello world here.
38
00:02:25,490 --> 00:02:32,270
Many will go now to ablative, you should see only this image of your local beaches located in the Assets
39
00:02:32,270 --> 00:02:35,960
Folder and assets folder you can find here, and that's the logo that will be displayed.
40
00:02:37,820 --> 00:02:40,790
It's now go here and look and see if we can see only local.
41
00:02:41,990 --> 00:02:43,790
And if you are also going to delete this.
42
00:02:44,060 --> 00:02:45,560
OK, so let's read also the logo.
43
00:02:45,560 --> 00:02:47,610
And now you have just an empty template and it cannot.
44
00:02:47,630 --> 00:02:52,950
You can't you cannot provide empty templates or just provide you some tax, for example, empty.
45
00:02:54,230 --> 00:02:56,120
And now you will have completely empty page.
46
00:02:57,340 --> 00:02:59,170
When you go back here, it's completely empty.
47
00:03:00,130 --> 00:03:05,020
OK, now let's take a look on the folders and the files we have available here also raised me and the
48
00:03:05,560 --> 00:03:10,930
other listing all of the useful comments how to run your project, what you need to do to set up the
49
00:03:10,930 --> 00:03:11,430
project.
50
00:03:12,650 --> 00:03:17,480
Becky Dodgson, police think all the dependencies that your project, depending on.
51
00:03:18,080 --> 00:03:24,260
So these dependencies and also developmental dependencies also there's always such excellent configuration
52
00:03:24,680 --> 00:03:31,130
as little as controlling the syntax of your JavaScript or of your view to your writing and will notify
53
00:03:31,130 --> 00:03:34,670
you if something is not according to some conventions.
54
00:03:35,570 --> 00:03:40,250
Although I conventions are defined here, so we are following that view three essential conventions
55
00:03:40,250 --> 00:03:42,260
and the recommended link conventions.
56
00:03:43,490 --> 00:03:47,420
OK, I'll be also changing it later because there are some rules they would like to override.
57
00:03:48,890 --> 00:03:50,360
OK, so it's a package or Jason.
58
00:03:50,600 --> 00:03:54,140
Most important here is that is listing dependencies that they need to install.
59
00:03:55,100 --> 00:04:00,110
These dependencies are installed, then you are adding npm, install a command.
60
00:04:00,600 --> 00:04:06,470
OK, so if somebody's able to get out a project with the empty node modules because the node modules
61
00:04:06,470 --> 00:04:10,370
is if it's a folder that all the dependencies are located.
62
00:04:10,940 --> 00:04:16,520
So if somebody's able to get an empty project and it would at least npm install a command like this,
63
00:04:17,060 --> 00:04:19,160
this would install all of these dependencies.
64
00:04:20,290 --> 00:04:23,470
Here, and it would place them into not modules.
65
00:04:24,830 --> 00:04:30,290
Also, as you can see here, there is a script so we can run the Iran first one and PM Iran Syria,
66
00:04:30,320 --> 00:04:33,710
which is running this script here, but you fill out a local server.
67
00:04:35,210 --> 00:04:41,120
OK, then we have here a package should that look to chase on a DVD as a more detailed file of our dependencies.
68
00:04:41,930 --> 00:04:47,660
So also dependencies that are that are listed on a package of JSON dependencies.
69
00:04:48,620 --> 00:04:53,540
But this dependence is also dependent on their own dependencies and therefore three other dependencies
70
00:04:53,540 --> 00:04:53,990
is here.
71
00:04:53,990 --> 00:04:59,180
So you can see here the full three of dependencies that is that are installed in your note modules and
72
00:04:59,180 --> 00:05:03,230
also they are veterans from each repository they are downloaded and so on.
73
00:05:03,680 --> 00:05:07,340
OK, so that was located in a package that looked like Jason.
74
00:05:09,260 --> 00:05:15,410
Then we have here, Babe Bella, that gothic dodgers, that's basically this allows you to write Voges
75
00:05:15,410 --> 00:05:21,170
file of view files and you can read the U.S. tax, which is basically the thing that's working as a
76
00:05:21,170 --> 00:05:27,410
code that's compiling your view code into the JavaScript that can be around in your browser, right?
77
00:05:27,420 --> 00:05:27,800
Because.
78
00:05:28,840 --> 00:05:31,270
Sorry, this is not a part of this lecture, but.
79
00:05:32,380 --> 00:05:34,990
The right thing is the view view called.
80
00:05:35,990 --> 00:05:36,530
OK.
81
00:05:36,560 --> 00:05:37,130
It's a view.
82
00:05:38,150 --> 00:05:38,540
OK.
83
00:05:38,780 --> 00:05:44,240
That's the files you can see here, upload for you, but your browser by naval ship files a like this
84
00:05:44,240 --> 00:05:45,020
into your browser.
85
00:05:45,020 --> 00:05:46,700
This will simply not recognize it.
86
00:05:47,160 --> 00:05:53,720
So what's happening in the background to the viewer is going into the parts into the HTML.
87
00:05:54,680 --> 00:06:00,200
OK, so that's what enter into HTML, into the JavaScript and see us and so on.
88
00:06:01,690 --> 00:06:03,550
And this is served into your browser.
89
00:06:04,600 --> 00:06:04,990
OK.
90
00:06:06,440 --> 00:06:12,110
And the Bible provides all the settings required to get this file into parts of the small JavaScript
91
00:06:12,110 --> 00:06:12,860
and CSS.
92
00:06:16,030 --> 00:06:16,430
All right.
93
00:06:16,500 --> 00:06:22,780
And that's this we don't know much about it, we are just using this one UCLA plug in Babel preset.
94
00:06:23,920 --> 00:06:28,750
Of course, you need to apply to all also different settings, depending how you want to break the record,
95
00:06:28,750 --> 00:06:30,160
but we are going to default ones.
96
00:06:31,800 --> 00:06:32,500
Get ignored.
97
00:06:32,560 --> 00:06:38,320
Just ignoring what files and folders will be not included in the repository, if you will decide to
98
00:06:38,320 --> 00:06:40,090
push your code into GitHub.
99
00:06:41,750 --> 00:06:46,340
OK, and that that's it, basically, we have only public folder listing the static files of the favicon
100
00:06:46,550 --> 00:06:54,620
and index the index HTML, which serves as the initial template in which the code I mentioned here the
101
00:06:54,920 --> 00:07:02,390
HTML JavaScript and see if this is mounted to the initial HTML image here into this if your application
102
00:07:02,390 --> 00:07:03,320
is mounted to.
103
00:07:05,360 --> 00:07:12,690
OK, if you only questions you can ask them right now, I think I will finish it up here and we'll continue
104
00:07:12,690 --> 00:07:13,800
in the next lecture.
105
00:07:13,830 --> 00:07:16,620
So just keep in mind important parts here to take it.
106
00:07:17,070 --> 00:07:19,590
Take from it is just the recreating creating the view files.
107
00:07:19,950 --> 00:07:26,010
View files consists of three parts, which is a template, something like a view script, but realistically
108
00:07:26,010 --> 00:07:27,000
original script.
109
00:07:27,090 --> 00:07:34,620
That's the dynamic part and the interactions between the template and the data through transformations
110
00:07:34,620 --> 00:07:40,560
and the style is that just as stylings of your view, you writing in a template that's going to in needed
111
00:07:40,730 --> 00:07:43,880
lecture in the next paper are first page.
112
00:07:43,900 --> 00:07:45,720
So I hope to see you there, guys use.
11217
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.