Timeline for Clean OOP way of mapping an object to its presenter
Current License: CC BY-SA 3.0
3 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jun 5, 2017 at 11:41 | comment | added | Freshblood | You can define representer as optional parameter as well. | |
| May 27, 2017 at 20:30 | comment | added | lishaak | Well first, the piece has to know the presentation layer is there and that it requires images. What if some presentation layer does not require images? Second, the piece has to be instantiated by the UI layer, since a piece cannot exist without a presenter. Imagine that the game runs on a server where there is no UI needed. Then you cannot instantiate a piece because you do not have UI. | |
| May 25, 2017 at 22:57 | history | answered | Freshblood | CC BY-SA 3.0 |