1
00:00:05,580 --> 00:00:13,830
In this session, we are going to be learning paths, crossing the Laravel, ending the most basic Laravel

2
00:00:13,830 --> 00:00:24,240
roots, except you were in a closure and providing a very simple and expressive method of defining the

3
00:00:24,240 --> 00:00:24,710
roads.

4
00:00:24,880 --> 00:00:34,670
As you can see by efforts after creating your lovely projects, after creating your last projects,

5
00:00:35,100 --> 00:00:43,690
you will see you're going to have your dysfunction and your work and the disclosure in which we got

6
00:00:43,710 --> 00:00:48,810
from this function, which returns the welcome that bladers speech.

7
00:00:49,960 --> 00:00:57,680
We'll see how to create a Elavil file and, well, creating a if we're going to see more.

8
00:00:57,700 --> 00:01:03,790
We've got to find out more about this and maybe Forte's can see here we have the default route files,

9
00:01:04,480 --> 00:01:14,950
alternative routes and phone needs in your routes, files and then which are located in the root directory

10
00:01:15,130 --> 00:01:20,430
in the regular C and where the routes file is located.

11
00:01:20,740 --> 00:01:27,990
And we have a directory and fortunate in our projects and which is named going states after.

12
00:01:28,390 --> 00:01:35,370
And then these files are automatically lauded by the by the frame rate while creating a project.

13
00:01:35,590 --> 00:01:42,730
This route from this route file are automatically lauded by the Frederickton, the directory routes

14
00:01:42,730 --> 00:01:52,810
directory and the directory is routes and then the route slash web page before the fund's route there

15
00:01:53,320 --> 00:01:56,820
that are for your web interface.

16
00:01:57,100 --> 00:02:05,680
And this is the difference where this is the default route file that you're going to be using during

17
00:02:05,680 --> 00:02:06,550
all this course.

18
00:02:06,580 --> 00:02:12,240
Reason why you can see here we have the route slash web DOT, PSP, this file web.

19
00:02:12,280 --> 00:02:18,520
Does PSP file different routes that are for your Web interface?

20
00:02:18,670 --> 00:02:21,970
And so we are going to see more about this.

21
00:02:23,610 --> 00:02:33,060
Talk about let us talk about cybersquatting here has Kansi and they and after opening our project here,

22
00:02:33,060 --> 00:02:35,300
you can see here busked Lester's project.

23
00:02:35,310 --> 00:02:40,500
Here we have an Arabesques residence here in our visual codes.

24
00:02:40,920 --> 00:02:45,900
And you can see we have everything, all folders and files in our lovely projects.

25
00:02:46,380 --> 00:02:55,680
And then you're going to look here we are, look for the roads, folders, and you can see and instead

26
00:02:55,680 --> 00:03:00,030
of your projects, you want to front a folder which is naming roads here.

27
00:03:00,210 --> 00:03:07,170
And if you click on this folder, you're going to find several files for flaws in your routes files.

28
00:03:07,890 --> 00:03:14,430
But the default routes, files and the defaults, the words file that we are going to be using during

29
00:03:14,430 --> 00:03:17,410
this course is the Web, those web.

30
00:03:18,420 --> 00:03:26,160
This is the default rouzbeh file, which is using four, which is use it for the Web interface.

31
00:03:26,460 --> 00:03:33,280
And if you click on these web logins, you're going to funds or have arranged routes.

32
00:03:33,390 --> 00:03:35,820
You're already phoneys routes here.

33
00:03:35,820 --> 00:03:41,010
As you can see, we have our roots here and here.

34
00:03:41,070 --> 00:03:48,630
You can see here we have routes that conjugates get is the type of information we are going to hinder.

35
00:03:48,990 --> 00:03:54,990
If you want, for example, to view something and we are going to be using the gate function, as you

36
00:03:54,990 --> 00:03:55,500
can see.

37
00:03:55,740 --> 00:03:58,230
And here here we have the U.S., right.

38
00:03:58,830 --> 00:04:00,420
And we Innistrad, sure.

39
00:04:00,420 --> 00:04:11,120
We have a function in which we turn this page welcome and you can see what means written for you.

40
00:04:11,400 --> 00:04:19,020
And here we have will come the view function, as you can see here, refers to the views folder, because

41
00:04:19,020 --> 00:04:25,530
if you remember, we were talking about the modules, you control it in interview concepts.

42
00:04:25,560 --> 00:04:31,980
Rich talking about the words we are going to display to view frisee, important, our browser, the

43
00:04:31,980 --> 00:04:33,940
graphical representation.

44
00:04:34,170 --> 00:04:35,190
This is the view.

45
00:04:35,580 --> 00:04:42,060
And this view function refers to a certain views folder which is in our projects.

46
00:04:42,270 --> 00:04:47,160
And if you click on the resources here, just click on the resources

47
00:04:50,370 --> 00:04:51,060
or use.

48
00:04:52,710 --> 00:04:55,590
And if you click on the resources here, you're going to funds.

49
00:04:55,590 --> 00:04:57,420
We have a view Stoler here.

50
00:04:57,630 --> 00:05:04,290
And if you click on Views folder, you're going to phones, a program you're going to fund.

51
00:05:04,290 --> 00:05:05,220
In such year.

52
00:05:05,220 --> 00:05:06,990
We have welcomed that bladers.

53
00:05:08,070 --> 00:05:18,270
And that means if you put slash as you were and there you are going to return an individual Thawra,

54
00:05:18,510 --> 00:05:20,910
the file name, it's welcome.

55
00:05:21,150 --> 00:05:24,180
And as you can see here, we have welcomed those bladers.

56
00:05:24,210 --> 00:05:28,200
BHP was creating, for example, Ilari file.

57
00:05:28,560 --> 00:05:30,930
You had, first of all, to put the name of your file.

58
00:05:31,170 --> 00:05:33,480
And after that, we want to put the extension.

59
00:05:33,780 --> 00:05:38,000
And that extension of Ilari file is DOT, lots of hits.

60
00:05:38,520 --> 00:05:43,560
And if I want, for example, to return speeds, I have to come here, my roots.

61
00:05:43,560 --> 00:05:50,820
I'm going to customize my Eurail, what I'm going to put in my brother and the set of dysfunction.

62
00:05:50,820 --> 00:05:54,360
I'm going to return the page that I want to review it.

63
00:05:54,360 --> 00:05:56,250
My brother's on my brother.

64
00:05:56,580 --> 00:06:00,450
As you can see, we have written you need to work.

65
00:06:00,780 --> 00:06:03,080
That's the reason why you can see.

66
00:06:03,080 --> 00:06:03,990
Welcome here.

67
00:06:03,990 --> 00:06:12,960
And if we click on Welcome Those Babies PSP, we're going to fund them all our information all estimate

68
00:06:13,320 --> 00:06:14,520
that we have here.

69
00:06:14,760 --> 00:06:23,760
And if I make some modifications here, if I dec here and I say, for example, Laravel no is just there,

70
00:06:23,760 --> 00:06:25,680
for example, Arafeh one one one.

71
00:06:25,920 --> 00:06:31,740
And if I make and reload a page, you can see I'm going to get this modification here.

72
00:06:31,740 --> 00:06:33,410
My page is updated.

73
00:06:33,690 --> 00:06:35,790
Recent work we have here.

74
00:06:35,790 --> 00:06:36,810
This is our.

75
00:06:38,690 --> 00:06:40,520
This is our welcome.

76
00:06:41,570 --> 00:06:50,040
It's very simple and very easy, and they let us close this page and the reason why you have a Web page

77
00:06:50,230 --> 00:06:51,770
is the importance of roots.

78
00:06:51,950 --> 00:06:57,560
You're going to customize your user and instead of your function, you're going to return the page that

79
00:06:57,560 --> 00:06:59,060
you want to view on your Perez.

80
00:06:59,060 --> 00:07:00,290
A very important word.

81
00:07:01,100 --> 00:07:08,690
And we do not have only to return, for example, a certain page, but we can also return a simple text.

82
00:07:09,050 --> 00:07:14,390
For example, if a comment is written here, I'm going to say, for example, I want to return, for

83
00:07:14,390 --> 00:07:15,590
example, a message.

84
00:07:15,830 --> 00:07:18,530
I'm going to say I return a welcome.

85
00:07:18,530 --> 00:07:20,570
For example, I'm going to say welcome.

86
00:07:23,260 --> 00:07:33,320
To clarify projects to the Laravel seven plants, its projects here, as you can see, will come to

87
00:07:33,350 --> 00:07:37,840
deliver seven six projects like this, please.

88
00:07:41,400 --> 00:07:45,120
To the Laravel project, I still need to do a lot of projects.

89
00:07:47,880 --> 00:07:56,640
Tutelary project you're going to present here, and if I make here and Larry Page basically says notice

90
00:07:56,640 --> 00:08:03,300
I'm going to get welcome to the LARIVEE project, and then you can also return, for example, your

91
00:08:03,300 --> 00:08:05,540
text with some H.M. properties.

92
00:08:05,790 --> 00:08:10,560
I want to say, for example, I'm going to return, for example, starts with the H1 type property.

93
00:08:11,160 --> 00:08:13,650
I'm going to say Frizell portrait's like this.

94
00:08:13,650 --> 00:08:20,250
And if I make here and reloaded Piech, I'm going I get welcome to the landfill project with this property

95
00:08:20,250 --> 00:08:23,120
is very simple and very clear in there.

96
00:08:23,120 --> 00:08:32,670
For example, I said, for example, break, I want to break here and make your pitch and you can see

97
00:08:32,790 --> 00:08:33,660
you can return.

98
00:08:33,680 --> 00:08:37,020
It detests, you can retain, we can return pages.

99
00:08:37,890 --> 00:08:42,900
We were all H.M.S. Property is very simple and very clear.

100
00:08:43,200 --> 00:08:45,930
And here, as you can see, this is the slash.

101
00:08:46,140 --> 00:08:53,330
That means if you put slash your alternators back here and here after the best glissandos test, this

102
00:08:53,340 --> 00:08:55,590
is our domain name only future host.

103
00:08:56,040 --> 00:09:00,910
If you put glissandos to slash, that means you're going to return.

104
00:09:00,930 --> 00:09:02,680
Welcome to the library project.

105
00:09:03,120 --> 00:09:13,890
It is the same thing if I put in the test, even if I put my glissandos slash the same thing, because

106
00:09:14,040 --> 00:09:20,130
you can see if I put slash here, I'm always redirected to the bass lessons.

107
00:09:20,130 --> 00:09:21,390
Notice the same thing.

108
00:09:21,660 --> 00:09:28,140
But if it wants, for example, to customize to a to say, for example, I don't want to have slash

109
00:09:28,140 --> 00:09:29,490
but I want to have hope.

110
00:09:30,240 --> 00:09:33,890
And if I have if I have Slashfilm then return.

111
00:09:33,900 --> 00:09:36,060
Welcome to the lava projects.

112
00:09:36,270 --> 00:09:38,460
And here I'm going to cut all this.

113
00:09:39,910 --> 00:09:42,470
I'm going to come here and I'm going to pass.

114
00:09:43,060 --> 00:09:49,780
I'm going to answer and I get the same thing because I have to say, tells it my usurer, as you can

115
00:09:49,780 --> 00:09:59,380
see here and there, if I remove if I make, for example, and if I say put just less than that test

116
00:09:59,420 --> 00:10:07,070
last year, page more fun because we didn't see customizer and we didn't see it customizer.

117
00:10:07,300 --> 00:10:10,750
These type of Europe's largest does not exist.

118
00:10:10,990 --> 00:10:20,180
And if we remove this home here and if you save and there, then you're going to reload a page and and

119
00:10:20,920 --> 00:10:25,630
make sure to have the order service here and to have the order autosave here.

120
00:10:25,840 --> 00:10:32,200
And that means if you update your codes, it will automatically update your cards.

121
00:10:33,340 --> 00:10:39,640
Otherwise you will not you're going to unilaterally shortcode control is in order to save.

122
00:10:40,030 --> 00:10:46,360
And you can see we have this something very simple and very easy, and then we're going to customize

123
00:10:46,360 --> 00:10:47,310
in order.

124
00:10:47,650 --> 00:10:51,040
You were and I'm going to cut, for example, the same rules.
