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 any overhear. Is this correct?
Asked
Active
Viewed 956 times
1
-
Are you using Winforms, WPF or ASP.NET? – Daniel Hilgarth Sep 29 '11 at 07:30
-
the application will be developed using winforms – logeeks Sep 29 '11 at 07:32
-
4look here http://stackoverflow.com/questions/217752/in-mvp-where-to-write-validations – mironych Sep 29 '11 at 08:17