Hello, friend.
Welcome back.
In a previous video, we successfully insert our album, right?
So now I want to do I want to define some of the liying for our tease, all that musician bass like
here, that is.
All right.
Now, I have the three musicians as a ghazarian, Michael Jackson and the Taylor Swift.
So right now, if you click as a cashier and it's really the key to our another piece with a specific
one of the ideas like here, if you go to our database, that means here, that is our album.
And if you go to our musician and for every musician to harps on the unique ID.
Right, that is actually the idea.
So we decided I want to load our this total bass and also into this idea here.
I have also defined another funky soul into this foreign key here, that it will be matched with our
this artist.
Right.
So with this artist, that means one is for our CASA Arian.
That is a musician, Casa Arion.
I want to get all the data with this idea, OK, so we can do this work in this video.
I want to show you.
So for doing this.
First of all, here we have to do we have to define some of the link.
So here it is.
Find this link that is in our index piece.
So now go to our index e-mail.
That means here.
So here I want to do all the fun of the Haviv and I have to do I have to finish it.
I just simply got it.
And here I finish it.
OK, now if you click the save all and now if you refresh it now you can see still getting that link.
So now I want to do if you click on the Kazarian, then automatically should be getting all that ghazarian
details.
Also, it should be getting all that Kazarian detail selected, all that album.
Right, because here I have also defined the foreign key as this idea.
That means the artist added, that is the one.
And also you can see that if I do one.
So this idea means the Kazarian.
So this was the only and related all that album.
So that is all that album list.
So here I also want to get all that our album list.
Then I want to display all the data in our aspecific another piece so we can do that work.
So for doing this, we have to do we have to start things with a specific one of the idea, like if
you go to our admin panel into the admin panel, if you go to I just refresh it.
And now, like right now they have the three musicians.
Right.
So if you open one now you see snowshoeing as it is six.
And also if you go as a ghazarian now is also showing as I do.
And that is I do want all the data is now visible.
Right.
So also here we have to do we have to define the same things.
If you go to our faster and faster, that is our albums right now to have the three album, like if
you open our test album, you can see the ridiculous ideas of three and into the three ideas that have
all that album details.
So here now we have to do the same thing.
So we have to also pass all the ideas.
So for doing this here, I have already created one of the beauties like here.
If you go to our template into the template I have already created on the pace of the album list, orchestral.
Right.
So here I want to visible it.
So if you want to visible it, then you have to do you have to define that things first of all, in
our world.
So I have already created one of the while for this.
If you go to our first application into the first application and that is are you all right?
So right now we don't need this like here there is a form that is a view album, so we don't need this
index.
I we moved through the album list will be needed as a result.
You are so into this.
You are all.
I have already defined all of the pop as the album list.
Right.
And also I define our view and then our function name as album list and I just named that part as a
album list.
So now here we have to do we have to define all of the ideas, because here we have to pass some of
the idea.
Right.
So if you want to pass all died in your path, then how can do that work for doing this?
It's pretty simple here.
You have to define all of the ideas.
So I just simply defined as in it, OK, I just simply defined as in it.
I didn't do this in it.
Whatever the name you want to define, you can define that things on here like you can define as the
only ideas are rather than if you want to define as the artist idea, if you want to, if you want to
make the things more specific, then you can use it.
So to simply define as the artist, underscore it.
OK, and also after that we have to do we have to finish it.
So I just simply finish that idea.
So that means here that will be our order and after that the real issue will be loaded onto the idea.
So now we have to do we have to define this.
We have to define this in our index.
That means here that are index based.
So that is our index.
So if you go to the template, the first application and the index and into the index here, I have
defined all of the head.
If so, here we have to define this area.
So if you want to define that, you are l I think you already know about it.
First of all, here you have to define the key.
So sorry, first of all, here we have to define the percentages and even the double percentages here
you have to define the key as you are to say, just simply defined as you are.
And then here I have to do I have to define our name so that you are our apt name as a first step.
So with this Fastweb, I want to do all display our you are sorry, what a name I have defined as album
list.
And also after that album list, I have one of the idee, so I have to defending it.
So I just simply define after that, that will be our album list.
And also after that album list we have to do we have to define our ideas.
So I just simply name it as a here.
I have defined that name.
I have defined that name as an artist.
So here if you put that as the only Idy, then you have to define also as the ID on here.
So right now I'm using that artist I.D. so I just simply copied.
And now here after that, you have to defend that artist I.D., OK?
And here I want to do I want to display our that means here right now I'm already into our 40 Sloup
and into the farthest loop.
I get all that our table data.
That means the musician tables and take the data with this our musician.
That means here, I call it in our 40 Sloup area with the musician.
Right.
So with this musician, I have already display our database table feel as a first name.
I have also defined our database every name as a last name.
So if you go to our database into the database, so that is our if you go to our musician and the musician,
you can see that is our first name field.
There is a last name and the instrument.
And now I want to do want to access our decided.
That means here also we have to define that field with this musician.
Right.
So now in our area, I just define our musician with this musician, I define our database with a name
or that of his full name as the idea of a friend.
I hope it should be very muscular to you know, I show you like here if you click and save all first
of all, I want to check it.
Everything is running.
Will now go here, refresh it again.
So now they have that or as we saw and last name album is not found.
And here that means, you know, you are well positioned, have different.
You can see I defended this.
So you will be as a column, I can write the column and then the first name column and then our album
list and then our idee and then our ID that in our database I fill them.
So here are you using that column.
So now I want to do it because I save all and now refresh it again.
Yeah, it's not perfect.
So now I want to do if you click on the outside and then it will be addicted to or you can see in our
that position showing as the album a list and then one, it is now showing that the two ideas and also
something as a society that means is appropriately getting our all that idea.
So now if you want to reject it, first of all, you have to do we have to work in our view and the
view area here, that is our album list and into the album list area.
I have already defined one of the ideas.
So I have already defined by the as the artist ideas.
So we have to also add that things in our that position that was in our request into the request.
Also we have to pass our decided.
OK, so now if you actually save it, I just to save all and now if you refresh it and now if you click
on the Kazarian.
Yes.
You can see not perfectly dedicated to our album space with a specific one of bidi.
And also now if you go to that Michael Jackson, you can see it's not perfectly redacted to our list
based upon the album list page with a specific one of the ideas and for the album list based here I
have already defined like here I have already found the H1 text.
So right now only our this text is visible, but it's all appropriately getting out.
Decided that the two ideas and that is a Taylor Swift you can see that is an album list and with the
album Lizarazo 680.
So now I want to do I want to get all that aurea specific idato.
And visible that things on here.
So now we have to work for this or for doing this in our view that this year we have to work.
So first of all, I want to do want to get all the data for doing this.
I want to take one of the variables.
I just take one of the variables as the artist info artist info.
So I just simply defined as the artist in front of the variable.
And then our model limits our model.
I want to get all the data from our musicians, so I just simply define our model name.
So our model as a musician and form the model, I go want to get all that or object, say the same object.
Right, objects to this object I want to do to get our primary all the data.
So if you want to get that primary data I have already discussed about the things we do, that is our
primary ID.
So if you want to get that primary, then you have to define as a gate matter.
Right.
So here I just simply decided to get our picture became is our primary key and our primary key here.
I have already defined our primary key in our model area.
I have defined that things with our artist.
Right.
That means this one.
So I just simply define our primary key will be as the artist ID and now we have to do we have to pass
that our artist information.
That means artist info.
We have to.
It so simple, I just simply defined the artist I am for, and here I just simply pass all that information
in our little space.
That means the album Live Space, right.
So now I just simply pass it so that we can actually with this, we can actually display all that our
details.
That means our artist details in our album Live Space Area.
So now open our album list here.
So first of all, I want to check it like here.
I want to check it with our I get all the data are not so with this artist I.D. If you click and save
all this, I just get to save all.
And now if you go here and refresh it, go to home, go to Kazarian.
Yeah.
You can see snowshoeing is that one.
I did that as a Kazarian.
And also if you go to that Michael Jackson.
So that is actually that is Michael Jackson is perfectly showing on here.
Right.
Perfect.
So I hope you can well understand about it.
So with this, we actually visible a little bit around the end to organize it.
And I want to display that our artist lives perfectly in our position.
That means you our along this busy area.
So for doing this, I want to do to take the edge for tech, OK, the edge for tech.
I name it as the artist
artist name and our artist name will be with our first name and the last name.
Right.
So I have already get all the data, I get all the data without this artist info.
So now with this artist info I want to display our database, we name our database, fill them and that
is our database fill name as a first name and the last name and the instrument which I go to every structure
that is our first name.
I just simply copied here.
I define as a first name.
And also I want to display our last name.
That means here our another field or database field.
As a last name.
I just simply copied I just simply defined the last name.
And also that is another one of the instruments I also want to displayed, which I define as a our instrument
name, OK, instrument, name and instrument name here there is only one field would be needed.
So with this artist info on the display or instrument, name our instrument field as an instrument.
So I just simply copied it.
And now here it is simply pasted.
OK friend, I hope you can well understand about it.
So now let's check this out.
If you click to save all of the check it fast.
Everything is running well.
Go to our side.
Refresh that pace.
Go to that ghazarian.
Yeah.
You can start showing us the artist name as a Kazarian and also showing us in Astroland name as a guitar.
And if you go back, go to that.
Michael Jackson is now showing his artist name as a Michael Jackson aspecific.
One of the two.
I did that and he stole my name is also showing as a dollar perfect.
That means we are appropriately getting all that our data right there.
They are so excited about it.
The name is visible and also it is visible.
So, you know, next video I want to do, I want to get a specific Seek's idea, all that album data.
OK, so all that album data right now, I think you already know about it.
So that is actually the I do want I do on the Kazarian.
And if you go here and that is our album and you can see artist name as I do want, I do want all that
album data.
I also want to get it and also want to visible that things in our album live space so we can do that
work.
In our next video, I will show you that things with a living sample.
So thanks for watching and I'll see you in the next video.