Week 5.2 Flashcards

1
Q

MVC Pattern input processes and output processes

A

Input -> Process -> Output
Controller -> Model -> View

Model:
Encapsulates core application data and functionality

View:
Obtains data rom the model and presents it to the user

Controller:
Recieves and translates input to request on the model or the view.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is Active Model?

A

Active Model:

allows the model to inform the view and controller components of any required changes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is Passive Model?

A

Passive Model:
the object used are completely unaware of being part of a larger application

The controller informs the view when the result of a process within the model requires the view to be updated.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly