O'Reilly logo

Professional Cairngorm™ by Jeremy Wischusen

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

2.9. Summary

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

  • Structural

  • Behavioral

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

  • Observer

  • Singleton

  • Command

  • Proxy

The MVC design pattern is more of a set of guidelines that dictate how the code of an application ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required