Timeline for How to structure libraries/solution for Onion Architecture with Model View Presenter pattern?
Current License: CC BY-SA 4.0
2 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jan 6, 2024 at 22:19 | comment | added | stigzler | Great response. Thanks. Deffo food for thought + helpful. To check I understand: if I have Presenter in Interface Layer and the actual UserView in the Framework Layer, then I would just create IUserView in the Interface Layer and then instantiate the UserPresenter via new UserPresenter(UserView) from the Framework layer? Defining projects as functions rather than layers is a bit baffling though, and I'd worry I'd break the Onion 'inward' referencing rules. Just wonder whether it'd be easier to fall into circular referencing and also reference the 'wrong way' via this approach. Will reflect | |
| Jan 6, 2024 at 21:38 | history | answered | Ewan | CC BY-SA 4.0 |