| I've obviously been doing some googling on best practices etc as far as
| presentation layer goes and have come across the MVP pattern (and MVC
| naturally) and have now got enough of an understanding (I think) to
| implement it in my app, the question is - should I?
Have you read my article son MVP in Delphi ? They are on my website
www.carterconsulting.org.uk
I have proted this implementation to C# and have found it perfectly
suitable, but I have certainly been able to simplify the framework due to
the facilities, generics and metadata provided by .NET 2.0.
| I've read a few contrary views on the subject (both for and against)
| and just wondered what others were doing - I know there's naturally
| more effort involved in implementing MVP but is it something that, in
| some instances, is done for the sake of it (i.e. pattern overload!) or
| does it really have that much benefit that it's worth it?
Once the initial framework is designed, there is very little extra effort in
using it in anger.
The key use for MVP is to remove *all* logic code from your forms. I use the
concept of the Interactor as a wrapper class around the .NET Binding class.
This allows me to write event handlers in the Interactor instead of the
usual place in the form class.
Joanna

Signature
Joanna Carter [TeamB]
Consultant Software Engineer
Pritcham - 20 Jul 2006 21:12 GMT
Hi
Thanks for that Joanna - I must admit that I was kind of edging towards
implementing MVP but just wanted a sense check to make sure I wasn't
just implementing a pattern for the sake of it
Martin
> | I've obviously been doing some googling on best practices etc as far as
> | presentation layer goes and have come across the MVP pattern (and MVC
[quoted text clipped - 23 lines]
>
> Joanna