Build your own CAB Part #6 - View to Presenter Communication
Ellipse
·
2007-09-14
·
via 博客园 - Ellipse
two ways:
- Expose the event off of the IView interface: loose couple between view and presenter(the view does not know the presenter) and the view is easy to be test, ugly event handling syntax
- Let the view have a reference to the presenter. easy to develop
Ideally , you should be able to almost entirely comprhend the behavior of a screen from looking at the presenter alone.
发表于
2007-09-14 18:18
Ellipse
阅读(203)
评论(0)
收藏
举报
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。