CAB Developers

Composite UI Application Block (CAB)

Developers interested in Microsoft’s Composite UI Application Block (CAB) will find relevant resources here. Essentially, CAB is a type of glue for developers to use in constructing smart client applications using WinForms. At IdeaBlade, we have been developing expertise in CAB for several years, and although our DevForce product is not required for building functional and efficient CAB applications, DevForce can make CAB application development faster, easier, and more repeatable.

CAB Webinar

To get started with CAB, view our introductory Webinar: “Why CAB? A Business Manager’s Perspective on Microsoft Composite UI Application Block” featuring IdeaBlade’s Ward Bell and Cambar Solutions’ Murray Gordon. In this one-hour session, Ward and Murray cover the basic how, when and why of CAB for enterprise applications, and show some good CAB and Smart Client Software Factory (SCSF) example apps. Download here.

Cabana Sample App

The Cabana application is a simple smart client reference app with a crisp, feature-rich user experience that is easy to deploy and operate over the web. Cabana demonstrates:

  • An easy approach to the Composite UI Application Block from Microsoft ’s Patterns & Practices Group.
  • Maintainable, reusable code through UI composition.
  • Separation of Model (business logic and data access) from Presentation.
  • The Model-View-Presenter pattern.
  • Performance tuning.
  • And more.

Some parts of the code are deliberately naive. Other parts reveal architectural features and design patterns that are "over the top" for such a simple app but that become fruitful as your application grows.

To work with Cabana, follow these steps:

1. Read the installation and Release Notes and "Getting Started Guide" carefully. There are two solutions to build and they must be built in a specific order.
  a. Installation and Release notes for the code (as pdf)
  b. Installation and Release notes for the code (as html)
  c. "Getting Started Guide" for DotNet UI Controls
  d. "Getting Started Guide" for Developer Express UI Controls
2. Download a FREE copy of DevForce Classic. You can run Cabana without installing DevForce, but you need an edition of DevForce to do your own development with it.
3. Download Cabana source code and other stuff. Click below on each link to access:
  a. Cabana-for-DotNet C# source code
    b. Cabana-for-DeveloperExpress C# source code
    c. Detailed discussion of the structure of the Cabana solutions
    d. Technical reference with emphasis on Cabana architecture and class diagrams
    e. IdeaBlade Application Block License Agreement
    f. Tutorial database (only required if you have NOT installed DevForce)
Note:
This Cabana code runs best with DevForce version 3.5.3.1; check the Installation and Release Notes for compatibility with earlier versions of DevForce.

Additional CAB Resources: