MVC design pattern - who loads view initially
- by enableDeepak
This query is about MVC design pattern in general and not ASP.net MVC framework
I understand in MVC (desktop application):
1. User clicks something in view
2. this is passed on to controller to manage
3. controller makes some changes in Model
4. Model calls method on view which has the logic to refresh UI
Questions around these:
Q1) Can controller also modify View or Model only updates View?
Q2) When screen loads for the first time, there is no Model change. Then, who fetches data from model and populates view? View directly calls Model and populates itself OR controller gets data and passes to view method OR some dummy event is raised at Model which updates View?