Hello. In this video I will start to see what is the things we can do in the view object how what is the configuration what which we can do is a view object actually is rather three main things you should do during view object configuration. First one is the list of value, we have to define list of values for all attributes which need a list of value. Second thing is, is the query you have to review the query if we need to change any query, because by default, it will select the star from the table. So, if it gives me any query, you can do it. Third thing is the relation between the view and creating view link to make a master detail.
So, let's now try to make the links between view and after that we can work with a list of values. So, let's now See what is the link between view for example, and if you want to see here the teacher on the classes or you can have here student classes, student result All this can have a relation between ha ha for example, if you want to see the result for students, so, students will be master and student results will be detailed. So, you will find here as a student foreign key so, we can create a link between student two will be master and once you select a student you will get that student result during the old years. Same was a teacher and teacher classes if you're as a teacher and you want to know which classes this teacher is working on. So, the teacher will be master and teacher classes will be as detailed same as students student class if you want to know which should clauses student is belong to it.
So you can create a link between student and student student class so let's now try to start working with one by one for between student and student result we need to create a view link you can create new here and press view link here I will can name it like student think result. Next, here you will get a list of views because the link is a relation between view objects. So I have a student here as a master student ID and I will show the student results student foreign key as a detail. So just press negus negus negus niggaz tickets to finish. Okay. This is as the first link in this is up to you if you want to watch this think in a different package, not in the view.
It is up to you if you want to be links and if you are in the same package it is up to you as well. This is how it works depending on what you want to do. We okay between teacher and teacher classes. So, this new view link teacher Ling glasses next, so I select the teacher view teacher ID, teacher, closest teacher foreign key key, Nick is Nick is Nick is nickers nickers finish. In case you want to refactor or remove this link in a different package, you just can right click and you have refactor and you can move it to another package in case if you want After you create need to move it. Okay, so the next To one weekend student and to the class or the opposite the class was student Colossus that you will know each class how many student inside this class so we can create a link between class link you didn't okay so here I have a class room number and I can have your student class classroom foreign key.
Okay. Of course if you need after we start working is the view layer and we see we need some other link we will come back again here and make some modification is a multi layer, but we just need as much as we can to finish the old configuration in the view layer. Okay, so now we make a link between the student teacher and the class classes to know which teacher work on which class, we make a student and the result to get all result related to student we create a link between class and student to get all the students related to this specific class. I think now we can stop for creating links now, till we start developing their web pages and depending on the requirement, we can come back again and create another URL links. So this is really how to create a view link.
So next video, we can start walking through his list of value. So see you next video.