In this session, we are going to be learning paths, crossing the Laravel, ending the most basic Laravel
roots, except you were in a closure and providing a very simple and expressive method of defining the
roads.
As you can see by efforts after creating your lovely projects, after creating your last projects,
you will see you're going to have your dysfunction and your work and the disclosure in which we got
from this function, which returns the welcome that bladers speech.
We'll see how to create a Elavil file and, well, creating a if we're going to see more.
We've got to find out more about this and maybe Forte's can see here we have the default route files,
alternative routes and phone needs in your routes, files and then which are located in the root directory
in the regular C and where the routes file is located.
And we have a directory and fortunate in our projects and which is named going states after.
And then these files are automatically lauded by the by the frame rate while creating a project.
This route from this route file are automatically lauded by the Frederickton, the directory routes
directory and the directory is routes and then the route slash web page before the fund's route there
that are for your web interface.
And this is the difference where this is the default route file that you're going to be using during
all this course.
Reason why you can see here we have the route slash web DOT, PSP, this file web.
Does PSP file different routes that are for your Web interface?
And so we are going to see more about this.
Talk about let us talk about cybersquatting here has Kansi and they and after opening our project here,
you can see here busked Lester's project.
Here we have an Arabesques residence here in our visual codes.
And you can see we have everything, all folders and files in our lovely projects.
And then you're going to look here we are, look for the roads, folders, and you can see and instead
of your projects, you want to front a folder which is naming roads here.
And if you click on this folder, you're going to find several files for flaws in your routes files.
But the default routes, files and the defaults, the words file that we are going to be using during
this course is the Web, those web.
This is the default rouzbeh file, which is using four, which is use it for the Web interface.
And if you click on these web logins, you're going to funds or have arranged routes.
You're already phoneys routes here.
As you can see, we have our roots here and here.
You can see here we have routes that conjugates get is the type of information we are going to hinder.
If you want, for example, to view something and we are going to be using the gate function, as you
can see.
And here here we have the U.S., right.
And we Innistrad, sure.
We have a function in which we turn this page welcome and you can see what means written for you.
And here we have will come the view function, as you can see here, refers to the views folder, because
if you remember, we were talking about the modules, you control it in interview concepts.
Rich talking about the words we are going to display to view frisee, important, our browser, the
graphical representation.
This is the view.
And this view function refers to a certain views folder which is in our projects.
And if you click on the resources here, just click on the resources
or use.
And if you click on the resources here, you're going to funds.
We have a view Stoler here.
And if you click on Views folder, you're going to phones, a program you're going to fund.
In such year.
We have welcomed that bladers.
And that means if you put slash as you were and there you are going to return an individual Thawra,
the file name, it's welcome.
And as you can see here, we have welcomed those bladers.
BHP was creating, for example, Ilari file.
You had, first of all, to put the name of your file.
And after that, we want to put the extension.
And that extension of Ilari file is DOT, lots of hits.
And if I want, for example, to return speeds, I have to come here, my roots.
I'm going to customize my Eurail, what I'm going to put in my brother and the set of dysfunction.
I'm going to return the page that I want to review it.
My brother's on my brother.
As you can see, we have written you need to work.
That's the reason why you can see.
Welcome here.
And if we click on Welcome Those Babies PSP, we're going to fund them all our information all estimate
that we have here.
And if I make some modifications here, if I dec here and I say, for example, Laravel no is just there,
for example, Arafeh one one one.
And if I make and reload a page, you can see I'm going to get this modification here.
My page is updated.
Recent work we have here.
This is our.
This is our welcome.
It's very simple and very easy, and they let us close this page and the reason why you have a Web page
is the importance of roots.
You're going to customize your user and instead of your function, you're going to return the page that
you want to view on your Perez.
A very important word.
And we do not have only to return, for example, a certain page, but we can also return a simple text.
For example, if a comment is written here, I'm going to say, for example, I want to return, for
example, a message.
I'm going to say I return a welcome.
For example, I'm going to say welcome.
To clarify projects to the Laravel seven plants, its projects here, as you can see, will come to
deliver seven six projects like this, please.
To the Laravel project, I still need to do a lot of projects.
Tutelary project you're going to present here, and if I make here and Larry Page basically says notice
I'm going to get welcome to the LARIVEE project, and then you can also return, for example, your
text with some H.M. properties.
I want to say, for example, I'm going to return, for example, starts with the H1 type property.
I'm going to say Frizell portrait's like this.
And if I make here and reloaded Piech, I'm going I get welcome to the landfill project with this property
is very simple and very clear in there.
For example, I said, for example, break, I want to break here and make your pitch and you can see
you can return.
It detests, you can retain, we can return pages.
We were all H.M.S. Property is very simple and very clear.
And here, as you can see, this is the slash.
That means if you put slash your alternators back here and here after the best glissandos test, this
is our domain name only future host.
If you put glissandos to slash, that means you're going to return.
Welcome to the library project.
It is the same thing if I put in the test, even if I put my glissandos slash the same thing, because
you can see if I put slash here, I'm always redirected to the bass lessons.
Notice the same thing.
But if it wants, for example, to customize to a to say, for example, I don't want to have slash
but I want to have hope.
And if I have if I have Slashfilm then return.
Welcome to the lava projects.
And here I'm going to cut all this.
I'm going to come here and I'm going to pass.
I'm going to answer and I get the same thing because I have to say, tells it my usurer, as you can
see here and there, if I remove if I make, for example, and if I say put just less than that test
last year, page more fun because we didn't see customizer and we didn't see it customizer.
These type of Europe's largest does not exist.
And if we remove this home here and if you save and there, then you're going to reload a page and and
make sure to have the order service here and to have the order autosave here.
And that means if you update your codes, it will automatically update your cards.
Otherwise you will not you're going to unilaterally shortcode control is in order to save.
And you can see we have this something very simple and very easy, and then we're going to customize
in order.
You were and I'm going to cut, for example, the same rules.