LO07 Model View Controller (MVC) Flashcards
1
Q
What is the Model layer responsible for?
A
Data Layer
2
Q
What Layer does the View look after?
A
The Presentation Layer
3
Q
What layer does the Controller take care of?
A
The Business Layer
4
Q
What is the main reason for using an MVC
A
For the Abstraction of functionality
5
Q
Give 5 examples of how a Data Store can be created for the Model (Data Layer)
A
- Database
- Text File
- Folder structure
- Entity Framework
- LINQ to SQL
6
Q
What is the view composed of?
A
It is composed of the Details of one or more data object
7
Q
What does CRUD stand for?
A
- Create
- Read
- Update
- Delete
8
Q
What is the controller responsible for?
A
The controller layer is responsible for handling a user request and delegating the task to the proper model and view.
9
Q
List some advantages of Web Forms.
A
*