Question
A place for the Presentation Model pattern?
Following another discussion, I was wondering if the Presentation Model pattern, recently promoted by various AC members, should have a place in cairngorm's future implementation, and how.
It has been said that this pattern is not directly part of cairngorm scope. I agree with this, however, I wonder if some sort of "guidance" could be implemented. For instance, the CairngormEvent class could have a property representing the PM that dispatched it. One could imagine an IPresentationModel interface (should it be empty), to help doing so. Or an AbstractPresentationModel implementing common behavior, such as handleFirstShow?
Please note that I'm not trying to advocate any practice here. I may be completely wrong, as I may have misunderstood Paul Williams and Borre Wessel's articles and slides.
What do you think?
It has been said that this pattern is not directly part of cairngorm scope. I agree with this, however, I wonder if some sort of "guidance" could be implemented. For instance, the CairngormEvent class could have a property representing the PM that dispatched it. One could imagine an IPresentationModel interface (should it be empty), to help doing so. Or an AbstractPresentationModel implementing common behavior, such as handleFirstShow?
Please note that I'm not trying to advocate any practice here. I may be completely wrong, as I may have misunderstood Paul Williams and Borre Wessel's articles and slides.
What do you think?
