Hello, friend.
Welcome back.
You know, previous video, we successfully complete our this category, all that crude application
that is right now, we can know how to read all the data from the database.
And how can visibility in your face, how can you did this?
How can you update this data that means a category data and also how intellect it right.
So far to the left here, I have also competed as a soft dialect, so I hope you enjoyed it very much.
So, friend, if you will understand about these school applications.
Now, this will be very easy to you because right now I want to create another menu for the brand and
for the brand here.
I want to use some of the images.
OK.
So how can insert the name before here?
I only inside one of the text.
That is one of the name.
So now for the brand, I want to discuss about that in some of the input field and also the images and
for the images.
Everything I will show you with the live example, like how can insert that image is how can update
these images, how can that be made?
And for the Delek, this image, how when you actually deflected, how can the liquid form to the store?
That means your main folder, that is from your project, which will be deflected if you update and
immediately replace your old image.
How can do that work?
I assure you and also I will discuss about how can we added that multiple files at a time.
That means multiple images.
If you want to upload multiple as a two or five images at a time, how can we update that means how
can upload that multiple images.
I will show you that things with a live example and also with using that Laravel of the package as the
intervention package.
How can we do this intervention package?
How can we save your images?
So as I told you, friend, emails deleted everything one by one.
I will show you.
So let's do that work for doing this.
First of all, here, I want to add on the menu.
So that is our menu.
I have already discussed about the things with you right now here.
We don't need this any better tools, everything.
I will be needed.
And here that is our dashboard and the navigation right into the navigation.
Here you can see that is our all categories right now.
And to do that, another category, that means another menu.
And I just name it as a brand name.
It is a brand.
And for the brand I want to do to create one of the you that the drought for this one.
So I will do that later.
Right now, if you say.
Well, if you refresh it.
Yeah, I mean, we started as a band, so for the band, some of the fine will be needed.
Will we have to do we have to create the model for the brand?
We have to create one of the magnificent five because we have to keep it on the table.
Right.
So for creating this table, we need that migration's file and also we need one of the controller.
So first of all, I want to create all the things like if you go to your project music directly here,
I know I have already done as a server or somebody is now running, so I want to create another one,
namely the ACMD, CMT.
And here I first of all, I want to create as a pop artist, then I think you already know about it
because a model.
So that is a make model.
And then also I name it as a band.
OK, that means you should be created on the model name as a band and also at the time and the creator
of the Magnusson file.
OK, that is the band migration defined.
So now if you enter now, it's not created under the model as a brand model and also it's created on
the migration file.
So if you go to a project and if you go to our migration set, that is actually our database migration
and that is our migration file.
You can see there is a new migration file is added as events.
And also I have created another one as our model into the model.
You can see there's a clearing out of the model as a model that is a brand model.
Perfect.
And now we also want to create another controller.
So here so here I want to do want to create another one.
So to create another controller.
So you're going to create that controller as a PSP artisan and make controller.
And I want to create the brand controller and name it as a brand controller and name it as a band controller.
So if you want to create the controller, I think you already know that is a PSP Ardizzone make controller
and then brand controller.
Now if you click, enter.
Now you can see a controller created successful that that is your controller and that is our controller.
Right.
So here that is that file will be needed as one of the migration file on the brand model file.
Another is that our controller?
Perfect.
So now I want to do want to add on the link.
I want to add on the building that we saw nuclear as a brand.
Then it shall be load one of the page.
Right.
So here in the navigation that is on the road, I want to create the cloud and I just name it is all
brand name.
It is all brand.
So now we have to do we have to create this out.
Right.
We have to create this out in our way about.
So before adding better here, I want to add some of the note that will be for Brand Routt.
That will be the brand out.
So into the brand out.
If you want to use it better, I copy it.
I copy and paste it if you want to use it.
First of all, you have to we have to load your brand.
Right.
That means your controller.
So now I'm going to load our controller.
I have get on the controller as a brand controller.
So that is our brand controller.
So not only do we abroad I want to add this.
OK, so that is in our app is TDP controller folder.
I think you already remember this, that the app is TDP comptrollers, and here I have created the band
controller right in Laravel eight, you have to actually float that ISTEP.
So here I load it.
And also I want to do that is our name here.
And I want to add our controller name as a brand controller with a brand controller.
I named this around.
I named this toad as a new Sylves all brand.
So now I copy it here.
I name it is all brand.
Right.
And also a name that our name xtravaganza, all that that will be our until and with the brand controller.
I want to create one of the mattock so salvias as all brand that will be has all been perfect.
So now we have to do, we have to create this method, we have to create this method in our band controller.
So now go to our brand controller, that is our brand controller.
So here.
So no one to do and to create one of the functions that is of the method of the public and then function
and then our method name I name it is all brand.
Right.
The all brand here.
Sorry, here I want to do I want to return it.
That's not returned and on The View.
So the return view here I want to do on the PA seat where I didn't get any paste.
Right.
So before I have created the admin folder as a category so better like going to the admin folder, I
want to create another new folder and I name it as a brand, so name it as a brand folder and the brand
folder I want to create of the new file and I just name it as the index in the US already.
Not this demo blade blade not PSP.
Right.
So here I have created as a band and the ad mean there is a brand folder and that is our index.
So now to do I want to add this link.
So here is the video to we load this piece into the admin and then the brand and then the index.
Perfect.
I hope you very well understand about it.
So here I simply return of the case and make that here you add that semicolon.
So now we have to do we have to design out this index page that we our being brand and index.
So now go to our view.
So that is our view.
So here I mean, that is our brand better right now for our category index.
OK, from a category in this, I copy everything so into the category index.
That means that it actually does this look right now and we should take this look, I copied it and
now we will be.
So here I want to copy and here I want to save it into the index that means in our brand index.
So I passed it.
So here there is a trash.
Trash will be not needed.
You can see first hand how much helpful to add some of the comment so you can see the real trash.
We don't need this trash.
I remove it.
I totally remove it from this area also.
Now that will be as all brand, OK?
That will be as all brand and then Sextus classes will be needed.
That will be all brand I copied.
That will be is all brand and for the all brand here I want to do on the display.
So the name display, that brand name should be on the display, the brand name brand Dimmeys Brand
Images.
And also if you want to display the idea that you can displayed and then the action.
OK, so right now I didn't get any data because I didn't get an immigration file also.
So that will be our base.
OK, that means that will be our all brand base.
So now we have to do we have to actually migration.
We have to create one of the migration file that was on the table as a Barnstaple.
I have already given on the migration file that is our brand.
Right.
So for the brands, I want to do want to add some of the field.
So here I it better I for the band I want take as an idea.
I want to take one of the filename, I want to take one of the field and will be as a brand brand under
its good name.
And also so we have this gene that this is type and also I make it as this gene is gene type will be
for our brand image.
So there is a to feel will be enough and name it as a brand and rescore image.
OK, sorry.
So that will be the brand image.
Perfect.
So there is a tuffield I want to take as want to be as a brand name and there will be as a brand image
I tend so now I want to do this evil and now if we have to be artificially migrated.
So here I want to do and to be artists and Maguid.
So if you do something like that, then it should be clear that this ban table.
Now if you go.
And here I refresh it and go to our main database and you can see the design of the table is created
as a band and the band said, I have added to this field.
One is a band name.
Another is the band.
So here we successfully created our table.
And now we have to do we have to add to this field in our model.
That means we have to actually make it perfect.
So we did the same things in the category model.
You can see that the predicted field.
So now I copy it and now go to our disposition.
That means that is our model.
That is a band model.
So here I want to make it as a protected product to have this field our full name as a brand name.
So now I make it as a band name will be protected.
Another one is a brand image.
So no, I make it as a brand image.
So make it as a protected for our model because say well is perfect.
So here, make this you add it.
So that is our database is also successfully created.
That is our model.
They have updated the brand model navigation.
We don't need this.
That is all out.
So I have already created this out and then that index space.
So the index is here.
First of all, I want to do on display all the data that's necessary to display this data.
First of all, we have to be able to get this data from our database.
Right.
That means right now our brand is empty.
But right now I want to look at all the data.
So if you want to get this data, we have to get it without this all brand.
Right.
So he had that, like, written on the page.
So I think you already remember it.
I have already discussed about that things for the category to be just like that same show you like.
Here I take one of the variables as a brand, name it as a band and then our model, brand model.
So that is our brand model.
So make sure you add this band model.
So because of all here, we have to add it.
So I have already created one of the models in the band.
So here we have to use it.
So I need me to use and use our first of all, that is our app and then backslash.
And after that, they're the models, right?
For the models folder, we have created our brand.
So I want to add this brand.
OK, so I had this band, so no, I don't actually use it.
So that is our band brand.
And with this band, I want to go on to get all the latest.
The latest you can see that we have already I have already discussed about that with you.
So also, if you want to add that, you can add that Bazinet, I have already discussed about the things
we do, the basic need and the data on the display.
Five data right now, they have no data.
But when we add some of the data that we get this all data, so we thought this model with our brand
model, I get all that all this data and then I get it and then our five that are perfect.
And so I get all the data and data and take the things with this variable.
And now we have to we have to pass it in our TS index.
Right.
That had been brand folder index based.
So if you want to parse it, what exactly you have to do, we have to compact it simply.
So now I simply compact it.
So here I simply pass it.
So now we can actually access all the Taliban data, in particular this index based.
So now that is a bands.
I pass it from here.
If you go to our index, simply the index.
I have already copy everything from our category.
Right.
So this is the same process because the for loop that means the forest.
So here we have to do the same.
I make it as a band I and it will be as a band.
As a band.
Then it's better I make it as a band.
OK, so now with this band I want to display our filename with this band.
I want to display our images.
So for the images I want to do, I want to make it as right now as empty used to be as one of the image
stack.
And let me is the images SM I want to add these maze, that image stick.
Right.
So here will be some of the images and the band.
I want to display our freedom.
Our filename is a brand name, so no one to copy it and it should be as a brand names with this I displayed
and that the character is the first item.
So here should be just like the same with the brand, not the brand.
And then the first item, the categories categories will be visible, the brand and the category at
the theater that you can see that is being designated by default.
So that will be added to that.
So with this band, I want to access our D we had up and wanted to be.
Now that is somebody else's to be displayed with our brand.
As a category that seems to be just like the same before here.
I have boots on the condition which I have already discussed about the things we do, and then that
is the water.
So you are little.
I will get this later.
OK, I will see you later right now.
And we're going to make it as an empty.
Better to make it as empty rather than you can say I did, which I added as a band with this band and
use that band idea that will be as a band idea, be here.
You have to be on the wall as a band, like a band, and then band select band dialect so that we have
to see what else we have to do.
We have to create some of the method for this one.
So with this band, we can actually access it and then the categories so that we are outside of this
for loop.
So when you outside for from here, we see it as a band.
Right.
So now we have to we have to use it.
So I think this part is so much, so much easier to you because I have already discussed about that
things with you.
Right.
So perfect.
And then there is the ADD category that will be in that category to the ADD band that will be the add
band.
And for this band here, I want to do want to add some of the field, not the Englefield here to add
a little of this field.
So one to be as a brand name, like a brand name, and then that the file will be as a text file.
And then our name, our full name will be our name.
It is a brand name brand underscored name.
This actually is the same as our name, but you can actually change it right now, actually make it
as a Samms.
If you only want to make it as a band, then you can use it.
OK, I hope this concept or should be pretty much clear to you.
So now here there is a name.
If you want to add some of the modification, you can add the qualification with this band name.
So that is one group that I it.
And I also want to take another one for our e mails.
So here I put it.
OK, so this will be as a file type because here I want to add one of the e mails.
It's be the file type and our filename.
My name, it is a brand band, underscore emails.
So that will be as a brand Dimmeys And then there is our notification will be as a band image.
Perfect, so that there are two of these visible at categories to busy and brand that will be as ad
brand, right?
Perfect.
So that is our portion.
So now let's check this out, if everything OK, it should be on the table and now if you go here to
freshet.
No, go to our brand, yes, yes, you can see it's not perfectly loaded, our brand so far right now,
I don't have any data for the brand.
You can see I have actual totally empty.
So for on display as an empty and you can see into the add brand resorption for the input feel.
So here I want to have some of the images that a brand name and also from here I want to add some of
the brand images.
So that will be as a brand image, not the brand name.
So here into the index, into the index, this part using our.
This position, you can see the band name and there is also to be able to make it as he makes the piece,
that will be the brand image, right.
So now if you can save all now if you refresh it.
Yeah, obviously, the A brand is suffering here.
We successfully complete forget all that data that we have and if they have any data in our database,
then we get all the data from our latest data.
And I take the things with this variable and also I pass it in our index base.
That means here I have already added that for loop.
That means into the for loop area it should be visible.
So right now I don't have any data into the database right now or database is totally empty.
So I want to do I want to add this back that I want to add on the brand name from here and the tools
of the images and how we can add this brand with the images.
In our next video, I will show that things with a live example.
So thanks for watching and I'll see you in the next video.