This document is from the authorized Flex curriculum written by learn the basics of building Flex applications using the Cairngorm framework. Cairngorm is based on Model View Controller (MVC) framework, specifically designed to facilitate complex state and data synchronization. These explain the Cairngorm Architecture, which is our preferred way to structure Flex applications. Below the introductory material can be found more detailed.

Author: Shajind Kilkree
Country: Bulgaria
Language: English (Spanish)
Genre: Personal Growth
Published (Last): 19 January 2010
Pages: 233
PDF File Size: 19.85 Mb
ePub File Size: 4.35 Mb
ISBN: 729-7-76880-909-7
Downloads: 99413
Price: Free* [*Free Regsitration Required]
Uploader: Fenrizil

The business folder is for delegates and service components. The View portion contains visual components required by your application, value objects, and Cairngorm-specific event classes used for communication with the Model and Controller tiers.

Agile Enterprise Application Development with Flex by Tony Hillerson

Cqirngorm doing so, Flex automatically converts an server-side object returned through remoting or data service interaction to its corresponding ActionScript object. Then high reusability and ease of use supporting system have been developed.

It extends the Cairngorm FrontController class and maps the dispatched events to its corresponding commands. IResponder; private var service: In recent years, the Flex technology has been widely used.

To find out more, including how to control cookies, see here: Fill in your details below or click an icon to log in: Suppose you have 10 [Bindable] String variables in the ModelLocator. A collaboration of recognized design patterns, Cairngorm exemplifies and encourages best-practices for RIA development advocated by Adobe Consulting, encourages best-practice leverage of the underlying Flex framework, while making it easier for medium to large teams of software engineers deliver medium to large scale, mission-critical Rich Internet Applications.


Views dispatch events handled by the controller. The method execute must have an argument—the instance of the CairngormEvent object that may or may not encapsulate some application data for example, some value object that is not used in our scenario.

Email Required, but never shown. This model locator stores the data and the state of this application—in particular, the variable employeeListDPwhich is the place where the list of employees is being stored. It contains no methods or logic and acts as a pure data container. Get unlimited access to caifngorm, live online training, learning paths, books, tutorials, and more.

By using this site, you agree to the Terms of Use and Privacy Policy. All articles with dead external links Articles with dead external links from December Articles with permanently dead external links Pages using Infobox software with unknown parameters.

Cairngorm – Agile Enterprise Application Development with Flex [Book]

The event object may include additional data if required by the developer. The free, open source framework was originally implemented in the ActionScript 3 language for use with Adobe FlexFlash and AIRand it has since been ported to nearly all the major web development platforms. It was open sourced in the summer of Caurngorm up using Facebook.

The IResponder interface, which is also implemented by the Command class, includes franework and onFault methods to handle responses returned from the invoked remote service.

Cairngorm has been around longer than any other Flex framework. You are commenting using your Facebook account. The execute method can update the central Model, as well as invoke a Service class which typically involves communication with a remote server. Sorry, your blog cannot share posts by email. Notify me of new comments via email. By using our site, you acknowledge that you have read and understand our Cookie PolicyPrivacy Policyand our Terms of Service.


Contains UI controls for user interaction and displays the state of the models data. Each command must implement the Cairngorm ICommand interface and its execute function. Command When a View component fires an cairngor, FrontController finds the Command class that was registered with this event and calls its method execute. Fill in your details below or click an icon to log in: Start Free Trial Framewokr credit card required. The improved version of the Cairngorm framework is more suitable for Web application development and maintenance.

If your project will start growing, the ModelLocator may not scale well. Post as a guest Name.

Introducing Cairngorm

Enter your email address to subscribe to this blog and receive notifications of new posts by email. Obviously it is a mapping house of event and command. The first step of using Cairngorm should be creating the backbone of frame work. The class LoadEmployeesEvent package com.