8 Flex MVC Frameworks

This chapter discusses what we mean by an MVC framework, where the Flex framework leaves room for other frameworks, and two architectural frameworks for Flex: Cairngorm and PureMVC.

What Do We Mean by a Framework?

Rails is a framework. Flex is a framework. So why are we talking about frameworks again? For that matter, what do we mean when we say “framework”? Framework is kind of an overloaded term, to be sure, but in this instance, we mean: “A collection of utilities, classes, and patterns to help organize code and promote consistency.”

Framework classes help you follow the rules of the framework, and the patterns, when followed, help enforce the philosophy or style of the framework. The style or philosophy ...

Get Flex on Rails: Building Rich Internet Applications with Adobe Flex 3 and Rails 2 now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.