Spec: Rereading Dolphin book and MVP
Hi In MVP the presenter has direct access to the Model and (of course it means that the Model API is fixed) but I wonder if this would not help us simplify Spec. Model <---- presenter <----> View What do you think? Stef
In MVP the presenter has direct access to the Model and (of course it means that the Model API is fixed)
Why would that be true? You can plug the necessary behavior of how the model can be accessed, so no need to fix the Model's API. After all the actual model will vary from user the user, so the API can't be fixed. On Sat, May 14, 2016 at 8:39 PM, stepharo <stepharo@free.fr> wrote:
Hi
In MVP the presenter has direct access to the Model and (of course it means that the Model API is fixed) but I wonder if this would not
help us simplify Spec.
Model <---- presenter <----> View
What do you think?
Stef
In MVP the presenter has direct access to the Model and (of course it means that the Model API is fixed)
I did not mean that Model :) I meant the relationship with View. Stef
Why would that be true? You can plug the necessary behavior of how the model can be accessed, so no need to fix the Model's API. After all the actual model will vary from user the user, so the API can't be fixed.
On Sat, May 14, 2016 at 8:39 PM, stepharo <stepharo@free.fr <mailto:stepharo@free.fr>> wrote:
Hi
In MVP the presenter has direct access to the Model and (of course it means that the Model API is fixed) but I wonder if this would not
help us simplify Spec.
Model <---- presenter <----> View
What do you think?
Stef
participants (2)
-
Peter Uhnák -
stepharo