In this chapter you examined the concepts of frameworks, micro-architectures, and design patterns.
Two types of frameworks were examined, application and architectural. Application frameworks (Flex) provide classes with a high level of granular functionality and leave it up to the developer to decide how to assemble an application, while architectural frameworks (Cairngorm) provide a defined structure that an application is built around, but generally do not add functionality to it.
The concept of a micro-architecture was defined as a set of design patterns that have proven to work well together. Micro-architecture is a more accurate term than framework for what the Cairngorm framework is.
The basic concept of design patterns was examined. Design patterns are not specific implementations of code, but rather general descriptions of how recurring problems can be solved. Design patterns can be generally categorized into three types:
Creational patterns are concerned with the process of creating other objects; structural patterns are concerned with the composition of classes and objects; and behavioral patterns are concerned with the way in which objects interact and distribute responsibility.
You examined the specific design patterns that make up the Cairngorm micro-architecture. These are:
Model View Controller
The MVC design pattern is more of a set of guidelines that dictate how the code of an application ...