Posted 13 July 2012 - 06:49 AM
I'm developing a WinForm's application based on MVP design pattern. I'd like to use DTO objects, instead of the business objects, for these purposes:
1) Sending only required data to the presentation layer;
2) Implementing INotifyPropertyChanged interface for the instant UI updates;
3) For passing data between layers in an efficient way.
As I see all three layers must have access to these objects. Should I place these objects in the separate layer which will be referenced by all other layers?
Any advice on MVP would be so appreciated. Actually this is my first real life application based on this design pattern and contains a way more options and questions for me than any of the examples on the web.
Thanks in advance,