Controller , , . - Contoller. , . .
TController -. 7.1.
7.1
TController
fStudents: TStudents | |
fBooks: TBook; | |
fStudentBook: TStudentBook | , |
High Cohesion .
, (. 7.2).
7.2
TController
AddStudent (num: integer; family,name,secondname,group: string) | |
AddBook (Author,Name: string) | |
AddStudentBook | |
UpdateStudent (num: integer; family,name,secondname,group: string) | |
UpdateBook (Author,Name: string) | |
DeleteStudent | |
DeleteBook | |
DeleteStudentBook | |
StudentParams: tParams | |
BookParams: tParams | |
GroupList: TStringList | |
StudentsAfterScroll(DataSet: TDataSet) |
( 7.3).
7.3
TController
StudentDataSource: TDataSource | |
BookDataSource: TDataSource | |
StudentBookDataSource: TDataSource |
(. 7.2).
7.2 -
Borland Developer Studio . , FireBird, - . .
|
|
1) .
2) .
3) .
4) Information Expert.
5) Creator.
6) Low Coupling.
7) High Cohesion.
8) Controller.
9) ?