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.
2
Q
What is Active Model?
A
Active Model:
allows the model to inform the view and controller components of any required changes
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.