Model-View-Presenter

Topics: CAB & Smart Client Software Factory
Feb 7, 2006 at 7:05 AM
originally posted by: jgreek

Greetings:

We are designing a .net 2.0 application that will contain both smart client and web-based interfaces. We naturally need to enforce rigid decoupling of presentation, business, and data access logic. Please help me to answer the following questions:

- Does the Composite UI Application block apply the model-view-presenter pattern as defined by Martin Fowler, or does the CUI block have a separate definition of the pattern?

- Does the CUI block make it intuitive to keep smart part and web part components parallel?

Thanks, JG
Feb 7, 2006 at 12:38 PM
originally posted by: DarrelMiller

From what I have seen the CAB does not enforce any pattern on architecture of the view itself other than it needs to be a usercontrol rather than a form. The MVP/MVC pattern is just the one recommend by the docs and demonstrated by the samples. IF you wanted to build monolithic self contained UI's where the usercontrol reads data direct from the database, CAB will allow that.