Timeline for Should the View pass data inserted from user to Controller or should the Controller get data from View's fields? (MVC Pattern)
Current License: CC BY-SA 4.0
3 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Apr 15, 2020 at 0:49 | comment | added | Kain0_0 | Again context matters here. A Mouse Movement event would crucially need to know which mouse, and the mouse co-ordinates of from and to locations (seen as they change frequently). It certainly isn't important to pass along the colour of the control to understand the event, therefor this would be better looked up from the controller. On the otherhand a colour change event would be sent with the colours (from and to), but lack details such as mouse and mouse co-ordinates, if required the controller would need to request these. | |
| Apr 14, 2020 at 9:04 | comment | added | Diablo3000 | So which sequence diagram makes more sense to you? | |
| Apr 14, 2020 at 8:07 | history | answered | Kain0_0 | CC BY-SA 4.0 |