Introducing the Composite UI Application Block
The Composite UI Application Block (CAB) is a new UI application framework from the Patterns and Practices group that was released just this week. Similar to Web Parts for building ASP.NET web pages, CAB allows you to create pluggable modules for WinForms applications. Here are some of the highlights of the CAB:
- Built from the ground up using version 2.0 of the .NET Framework. That means it takes full advantage of the latest features of .NET 2.0, including generics. In addition, it provides a migration path to future technologies such as Avalon and XAML.
- A pluggable architecture built on design patterns. It makes full use of Dependency Injection, Lightweight containers (Component Model) and Services.
- The ObjectBuilder will be the foundation for dependency injection in future version of the Enterprise Library.
- A Declarative eventing model called the EventBroker for communicating between modules.
- Workflow integration.
The Composite UI Application Block is a great tool to learn how to build complex UI's out of simpler plugin modules.