Accessibility

Table of Contents

Developing Flex RIAs with Cairngorm microarchitecture – Part 4: Feature-driven development

The Service to Worker microarchitecture

This article describes the three most important patterns in a Cairngorm application, namely the Front Controller, Event Broadcaster, and Command patterns. These patterns make up the Service to Worker microarchitecture.

Rich Internet applications have grown in complexity due to the number of features required in the application. Consider the following features of the Cairngorm Store:

  • Get products from database
  • Sort products by name or price
  • Filter products according to price slider
  • Add product to shopping cart
  • Remove product from shopping cart
  • Check out an order

In this case, there are six features, requirements, use cases, or stories, depending on the methodology you follow (and terminology you use) for capturing business requirements. For a real-world rich Internet application, the total number of features can easily increase from fewer than 10 to 50 or more. In fact, the Adobe Consulting team has consulted on and developed applications that have hundreds or thousands of these features, delivered by teams of 20 to 30 developers.

As the feature list grows, so too does the scale and complexity of the rich Internet application. Cairngorm shows its true value when applied to these large-scale applications, because it helps teams simplify the inherent complexity of enterprise RIA development.