Programming Microsoft® Composite UI Application Block and Smart Client Software Factory
by David S. Platt
D. SmartParts (Views)
A SmartPart or view is a visual component of a CAB application, displayed in a workspace, usually providing a user interface to some business logic contained in a work item. The terms SmartPart and view are synonymous and used interchangeably. I've settled on the latter in this book because it's shorter and doesn't try to be cute. A view is usually based on a Windows Forms user control.
You generally use a view in conjunction with a presenter, the Model-View-Presenter design pattern you've heard so much about. The arrangement of components is shown in Figure 4-5. This organization is conceptually similar to the classic three-tier architecture used in much of distributed programming, although in this case, it is being used ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access