Afrikaans
Akan
Albanian
Amharic
Arabic
Armenian
Azerbaijani
Basque
Belarusian
Bemba
Bengali
Bihari
Bosnian
Breton
Bulgarian
Cambodian
Catalan
Cebuano
Cherokee
Chichewa
Chinese (Simplified)
Chinese (Traditional)
Corsican
Croatian
Czech
Danish
Dutch
English
Esperanto
Estonian
Ewe
Faroese
Filipino
Finnish
Frisian
Ga
Galician
Georgian
German
Greek
Guarani
Gujarati
Haitian Creole
Hausa
Hawaiian
Hebrew
Hindi
Hmong
Hungarian
Icelandic
Igbo
Indonesian
Interlingua
Irish
Italian
Japanese
Javanese
Kannada
Kazakh
Kinyarwanda
Kirundi
Kongo
Korean
Krio (Sierra Leone)
Kurdish
Kurdish (Soranรฎ)
Kyrgyz
Laothian
Latin
Latvian
Lingala
Lithuanian
Lozi
Luganda
Luo
Luxembourgish
Macedonian
Malagasy
Malay
Malayalam
Maltese
Maori
Marathi
Mauritian Creole
Moldavian
Mongolian
Myanmar (Burmese)
Montenegrin
Nepali
Nigerian Pidgin
Northern Sotho
Norwegian
Norwegian (Nynorsk)
Occitan
Oriya
Oromo
Pashto
Persian
Polish
Portuguese (Brazil)
Portuguese (Portugal)
Punjabi
Quechua
Romanian
Romansh
Runyakitara
Russian
Samoan
Scots Gaelic
Serbian
Serbo-Croatian
Sesotho
Setswana
Seychellois Creole
Shona
Sindhi
Sinhalese
Slovak
Slovenian
Somali
Spanish
Spanish (Latin American)
Sundanese
Swahili
Swedish
Tajik
Tamil
Tatar
Telugu
Thai
Tigrinya
Tonga
Tshiluba
Tumbuka
Turkish
Turkmen
Twi
Uighur
Ukrainian
Urdu
Uzbek
Vietnamese
Welsh
Wolof
Xhosa
Yiddish
Yoruba
Zulu
OK, in the course of Lavallade EP database, Doyel, this is part nine inside this video, we will
discuss all about her group and now prefix in Laravel.
In the last we do, we have seen some concept of Middleville inside that video.
Also, we had discussed all about group Mitchellville.
So how to create a group of Routt already we had discussed inside last video.
So if I go back to slide, so let's add that we have an application inside that application.
We have several types of admin panels and inside those admin panels we have a set of different different
types of crowds.
So, for example, let's say we have an admin panel and these are furious few rounds of DOT admin panel.
And he'll also be have the second admin panel that is focused on more.
And inside this custom module, we have fuel roads.
So as you can see here, inside these are here we have admin forwards, class, admin, forwards, class
and admin forwards class.
It means we have three rows in which the prefixes we have called admin forward class.
These roads indicates that these are the roots of admin module.
And also we can see that the same controller has been used while calling all these roads.
So is this the better way to clear all the roads which have a common prefix?
No, it's not.
We can use the prefix concept so that we can create a group in which we will specify the prefix like
admin force and inside callback function.
We will specify all the roads, what we are seeing here, not inside this Costco model.
Also, we can see that we have a prefix, something called customer for its last customer for class
and customer for class.
Inside each of the road, we're using the same controller called customer controller.
So Forte's also will create a group inside that group.
We will specify a prefix called Customer First Class.
And inside that callback function, we will use all of these roads.
So after going with these roads, when we open our application into the browser, so for this admin
roles, how can we open into browser SCDP here we have one two seven zero DOT one.
This is for the localhost eight thousand port.
Here we have eight thousand poured, and after that we should have the admin prefix ANNA-LIISA for the
first out, that is, create hype and use her copy and paste this not as opposition to this is Kolon.
So this is the first you are what will use to operate with this functionality.
Now, if you go and copy to base two more times, this is for list users.
So if I copy paste, you added user copy and paste to you.
So as you can see that inside these walls we have the common free picks as admin for.
Now we are going to see inside the slide that what is the better way to create the prefix?
Trotz.
So if we go inside the step now, as you can see that this is structure and this is structure of roots
now modified into some we like here we have a root prefix is the method inside this Batard rewriting
our prefix ne got admin here we have three times and this time we have only a single time.
Now inside this we are creating a group group indicates the group of roots altered.
We had discussed inside last video.
Now inside this callback function, we have three different roads as we can see, but this time only
we are adding a prefix only for single time.
Now we can access all these roads.
What we are seeing here in the same way inside this configuration as well.
Now here for the customer roads here out prefix here we have the module name, all the prefix name,
call customer.
After that, here we have a group and inside this group rewriting our group of roads.
And in the same way we can call all the roads what actually will use the calling facility for these
roads.
So if I go back to prosecutor going say this ought to be fight --, going say that we have
a perfect smattered, simply reiterate the prefix here.
Now, next, Reid to use group.
And inside this group simply we can create a callback function.
And inside this callback function, we can create our group of roads inside that.
In the second alternative syntax simply later wrote, We will create a group and inside this group simply
we can make an array and we can tell that prefix read, write the prefix name here in the second read
to create a callback function and we can write all the roads inside that these two syntax on exactly
the same, but inside the ski's writing prefix in front of group.
But inside this case we are not using prefix method, but we are writing prefix Keywood inside this
area.
So this is all about road prefix and Laravel.
Now what is route group all did.
We had discussed that when we are creating a group in which we are grouping multiple routes into a single
block, those conditions or those situations when we create our outgroups is known as group of routes
or road groups of application.
Suheil inside last you already we had discussed that if suppose we have group of routes and when we
want to apply the Middleville simply we can write all the roads inside this callback function.
And if we want to apply any group Mitchellville simply instead of prefix lytes type Middleville.
Creating any and Hill read to pass the middle name, why we have created this area because we can protect
a group of roads by using multiple middle, because it means a group of roads or simply say a single
road can be protected from one or more than one Middleville.
So here inside this group, the middle, where we have a supply, that is first Middleville if we have
the second Middleville and we want to protect all these roads of this group by the help of this first
Middleville and second Middleville, obviously we can apply here.
So if I go back to slide, so this is all about the discussion of the second slide now in the next slide
here we are creating a group of roads.
And inside this group of routes, simply, we are applying the middle vehicle first and second on these
roads now.
This time we have another Syntex.
If we compare the syntax from what we had seen inside this report, BHP is something different.
The difference is that inside this syntax, we're using Mehterlam method, but inside the syntax, we're
using group method.
But inside this group method, we're using middleware as a key and we're passing all the metal views.
Syntax is different, but the use and consumption of all these methods will be exactly the same.
So this is, guys, how can we use her outgroup and prefixes?
And Laravel, not from the next fit, you will use the development of normal APIs so far this position
casting for watching and have agreed to.
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.