Fast and Furious

Nice (QUICK) run through of MVP.

View - completely ignore and allow Unity to do it
Presenter - be made aware of pertinent UI elements and listener events, passing on necessary information to the model and adding UI update methods to events
Model - don’t care about any of the above except to trigger events when needed.

Can definitely see how completely moving to this model will clean up my code. This also goes someway to helping define “one job” because that has always been a massive grey area for me.

3 Likes

Yes, the rules make more sense when you have seen some examples.

1 Like

Privacy & Terms