Hello, friend.
Welcome back.
You know, previous video, we successfully complete our this lighter parts right now, this lighter
is totally dynamic, right?
So now we can actually manage everything from our home and there is a slider.
So here right now in this video, I want to do another work in our home base.
That is also another option for the about these about options right now to do and to make it as a dynamic.
OK.
So how can make this dynamic in this video?
I will show you that things with a live example.
So for doing this, first of all, I want to do I want to create one of the database and the database
friend.
As I told you, if you all understand about my all the previous section, it should be very much easy
to you because of all here.
We need one of the database into the database.
We need some of the feel like that will be one of the title field of the short description field and
there will be a long description.
Right.
So better.
First of all, I want to create this database and also will need one of the model.
So if you want to do that work, I want to go to our POSIX right now.
Our serve is over on the PSP, especially since I was running.
And I want to do to add new one as ACMD.
So first of all, here, I want to create one of the model and also I want to create another migration
file.
So I think you already know about it as a B Ardlethan and then make model model and here, whatever
the name, actually you choose.
So right now fertigation purpose I'm choosing as about our home about.
So I named it as a form about.
OK, so that will be our model name.
And also I want to create the migration table.
So here if you want to create that migration stable then you have to do you have to add that m right.
So that is OK.
Be added some make model and the home about and then migration.
Now if you click as the enter the notes created one of the model and also created one of the migration
table.
So now let's do that work.
So now if you go to our Project Victory.
So right now we don't need this.
We move everything.
So I remove everything.
I want to make it as a clean.
OK, so that is our file.
So that will be needed.
And now I want to do I want to go to our database.
So if you go to our database and the database, there is a migration's I have created all the new migration's
table and there is a name as a home about right.
So now I want to do and do add some of the field so better I copy it and then I passed it.
So here we need, as I told a friend, we need to the title.
We need the short description and also you need the long description.
So I want to do want to add some of the field.
So first of all, it will be as a title.
OK, make it as a title.
And also I want to make it as a short description that will be the short and then underscore description
or this whatever he wants right now.
Also on the and take another one.
It's always a long description.
Long and is good description.
Right.
So there is a tree field and also that will be other stream.
This will be this, Jean.
And this will be as a this is this type of what the description Pasto I want to do and that the text
OK, then it's obviously better and also a long description.
Will we as a text.
Perfect.
So here I have created three of this field.
One is the title, the short description and the long description.
OK, so better I make it as a long enza.
OK, that will be the long description.
So no one have to do the save all and also to update our model because that's all we also needed.
So that is our model in the model.
I have also another model at the home about, so I want to go on top with it like our own to protect
it.
So copy it.
Sorry, I copy.
So I copy it and now go to our home about here I pasted.
So that will be our all that field.
So right now that is actually the tree field.
One is the title I want to add it.
So that will be as a title.
That will be as a short description.
That will be the short description and also the long description, right?
So that will be the long description.
So first of all, I don't want to make it as also the as a fillable.
So not clear to save.
All perfect.
I have to admit our model.
And also I have updated our this table.
So that is a magnificent table.
So now I have to do an texturally and save all and now I'm done to my credit.
So if you go here and now and try if you want to make it, what exactly you have to do, you have to
write down the PSP artisan and then make it right.
So be magnet.
Now, if you enter now, Karzi or migration is successfully completed, that means in our database is
not created.
One of the database if you now go our database and now if you refresh it.
Now, if there is a new one as added as a new table, as a home I bought into the home about, that
is our field name as the title, short description and the long description.
So now, first of all, I want to complete our admin position.
So from here I want to create one of the page.
And here I want to complete everything.
And then I will add this page that to our all the details in our this page.
OK, so first of all, I want to do want to add on the menu that we see the main area there has already
I have created one as a home about the home, about here.
I want to put one of the round.
So that is in our sidebar.
Right.
That was in our admin sidebar.
So now go to our admin sidebar.
So if you go to our admin folder into the admin folder, that is our body in the body here you can see
the regular sidebar.
So now open it.
So right now, we don't need this.
I want to do and actually close it.
And also we don't need this it to the Cyberia before I have created that out for the sliders right now
to do and to create another slider for our home about.
Right.
So it'll be just like that same.
So that is all around here.
I want to create the new road as a home about so that it is our home about.
So now we have to do we have to create this out.
Right.
So you have to create this out in a way route.
And that is the here.
So here after this.
After this, I take it I take it as it will be about our space or about the home, about I name it as
a home, about all that, OK, I name it as a home about all out.
So here first of all, I want to take the direct copy it.
I take one and now but I also want to create another controller.
OK.
So for our about related everything, if you want to create it with another controller you can actually
do that, work with this.
So but I want to create it.
So I want to create another controller as a PSP artist and make controller, make and then controller
and now name it as a home about or about about a controller.
OK, that will be as a remote controller.
So for now I want to create this type of one of the controller.
If you enters our controller is successfully created.
So when you create any controller, what exactly you have to do, you have to add it.
Right.
That means here that is our controller.
I have created the new controller and I name it as about controller.
So first of all, we have to do we have totally added in our way about Area C to the way brought here.
I want to add new one, a new one that will be our home and that about controller.
So now I copy it.
And here I updated our D about controller right now and we can actually use our D about controller.
So now I copy it.
And here that is our also that will be our home.
That is about controller in the remote controller.
I want to create one of the method.
So first of all, that will be our outsole here into the sidebar.
I have created that out as a home about.
So here we also have to do we have to update it.
That means that will be as a home about.
And then I also make it as a home about or whatever you want.
So make it as a home about right now.
All right.
Then you can also make it as an admin home about.
So that will be the home about.
And then I want to do that is our about controller into the about controller.
I want to create one of the method and I name it as a home about OK, name it as a home about.
So now this is the method we have to create.
You know, about controller right now, go to our about controller here.
So I name it as a public and then function and then our method name as a home about Lightford.
So that will be our method.
Since this method, what exactly we have to do into this method, we have to view the PS, right.
That means here, when you click in particular that area, it will be load one of the page.
So that supposedly will be just like that.
Same here I want to do and returned on the view base.
So I didn't create any view base.
So but I want to do a look around the view base.
OK, so there is a controller and here that is our admin part into the admin.
That is our slider.
So better I want to do I want to create another folder, OK, to the admin area and to create another
folder.
And I just create a new folder and I just name it as a form about our home.
So I named it one of the folder name as a home so that the folder area I want to create on the index
page that the index dot I bled dot PSP.
So that will be our this page.
I want to first of all load it right so you can to load it up and here we have to add it.
So that is in our um that is in our admin folder.
That means that the admin folder and then the home and then that index, so maybe does the admin and
then home and then index.
Right.
I hope you will understand about it.
So right now, our this page will be loaded in particular that area.
And also here I want to do I have already discussed about the things we do a lot of the time like here.
I want to get all the details right now.
I don't have any data, but little inserts of the data.
So I want to complete I also want to complete this part.
OK, that means here, if you want to get all the data, that you can get it.
So I take one of the variable as a home about this type of one of the variable and then our models.
I have also created one of the model.
So here I have created this model name as a model, the model that is actually our new model as a home
about right.
So I have already created these models and I want to go on to click added.
That means with this model I want to access it.
So if you want to access it, first of all, you have to have to use it.
So I want to do and use I want to use all these models that will be in our app.
So into the app and then the models.
So that is a models folder and the models folder.
I have created one of the model as a home about.
So that will be our home about Ridvan.
So make that you add it.
And now with this we can actually access it.
So now with this model.
So now with this model, I want to get all the latest data.
OK, that means all that our latest data I want to do and to get it.
So that will be as a get to get all the data perfect.
So I get all the latest data and take the things with these variables.
And now we can actually pass this data into the our this page that is index page.
Right.
So right now our data is totally empty.
So from here I get all the data and take the things with this variable.
So now I want to do the visible this data in our index page.
So if we do that work, then what exactly you have to do?
You have to make it with the compact, right.
So the compact, we can actually pass it.
So now I pass this data.
Perfect.
So here I already completed our reapportioned, so I have already discussed about the things we do now.
We have to work in our home index page.
That means that is our view.
So into the admin and that is our home in the space.
So this space will be just like our brand.
OK, I want to copy everything from our brand index.
Um, that will be better.
All right.
Then there is a slider index going to get everything like that.
Our slider index.
OK, so that is a slider in this right now.
I copy everything from here.
There is in the exact copy everything.
And now in our plate that means in our home there is an index here.
I passed it.
So now here what exactly we have to do and we have to get it right.
So that is already extended.
Our ad mean that we have been master and then that means section.
That is our home slider.
I make it as a home about OK, that is a home about.
And also here I want to add on that other button as a home add about.
So that will be as an add about here.
We have to add another out for this one and that is our success.
Message will be visible all about data.
OK, name it is all about data and then that will be our all that's serial number.
That serial number will be visible from title will be visible, it will be as a home title.
And then also there is actually the long description and the short description.
Right.
So make it as short, short description.
And also that is another one as a long description.
So no, it doesn't also make it as a long description, OK, a long description.
So that will be the long description and then that is our action.
Perfect and also considerate friend reason for is so far right now from here I get all the data and
take the things with these variables.
And I want to do on the visible lead with this for loop that is are for each home about as about OK,
namely the the home about as about.
So now with this about I want the visible all the, our feel that means our database filled with this
about the visible, the title.
That means that the title and also with this about I want to visible our description.
That will be as a short description, I copy it.
So that would be the short description here.
We don't need any images.
So right now I remove it and here I take another one, OK, I take another one, which will be as another
field or another field as a long description.
Right.
So now I have to do and also add that as a long description.
And after that there is another edit or delete button.
So if you want to do that work, that will be as a edit.
Right.
That means that we about did it and then about idy that.
That is actually our this table and this idea, right, so here it shall be or should be visible for
our eddied and a direct button.
So here we have to do we have to create one of the about that will be about it.
And then about the step up on the road we have to create for the eddied and update.
So perfect.
So that's all we have to do.
So now let's check this out.
If you not look at this table and now if you go to our side and here I refresh it.
So snowshoeing is the unexpected.
This so here that is cleared out.
That means our road trip.
Maybe I did something wrong on here is the road trip here.
You can see that one.
Another one.
So I will be that will be the single one.
Right.
So that is our home about perfect as a save all.
And now go here, please refresh.
Yeah, it's perfect.
So now if you click on the home about yes.
You can see when you successfully downloaded our serial number, home title description, long description
and the actions.
So right now I don't have any data.
Right.
We have to do we have to add some the data because of all in our database disorderliness clean.
So I want to do I want to add this data.
So that is actually on the bottom as the ad about.
So how can create this ad about base?
That means from here I want to create another create base and to create pay down to insert this data
so better.
I want to continue this process.
In our next video, I will show that things with a live example.
So thanks for watching.
I'll see you in the next video.