Validation in MVP pattern
I am creating a program which utilizes MVP architecture. Please tell me which is the best place to write the validation. Someone told me that the code in presenter should only contains logic to handle events raised from the GUI and format values collected from the model so that view can display values without an开发者_运维百科y overhear. Is this correct?
精彩评论