Gunjan’s Weblog

Share your knowledge in Flash and Flex

Cairngorm July 10, 2009

Filed under: Cairngorm, Flex — gunjank @ 8:08 pm
Tags: , , , ,
 

Cairngorm Plugin January 18, 2009

Filed under: Cairngorm — gunjank @ 11:16 am

Cairngorm Plugin

The Cairngorm Plugin is an Eclipse plugin that augments Flex Builder to provide tooling that improves productivity when developing Cairngorm-based RIAs.

The initial focus of the Cairngorm Plugin is on the Controller. It aims to improve productivity by removing the repetitive action of creating a new Command and associated Event and adding them to the Controller.

It provides a new class wizard for the following Cairngorm artifacts:

  • Controller – creates a new Controller
  • Command – creates a new Event and a new Command and adds them to the Controller.

The class templates used for the codegen are externalized and distributed with Cairngorm. This allows you to modify the templates to support your own code style.

To learn how to use the Cairngorm Plugin please see the Plugin Documentation.

System Requirements

The Cairngorm Plugin has been developed for Flex Builder 3. Please refer to the Flex Builder 3 system requirements.

Installation

Eclipse and Flex Builder

To install the Cairngorm Plugin you will need to have Eclipse and Flex Builder installed.

Firstly, you must install Eclipse. We recommend the Eclipse IDE for Java EE Developers package, which can be downloaded from here.

After you have Eclipse installed you must install the Flex Builder plugins, which can be downloaded from here.

If you are new to Eclipse and want to learn more please see the Eclipse “Getting Started” resources.

Cairngorm Plugin

The Cairngorm Plugin is installed from an Eclipse update site:

Cairngorm

  • Download cairngorm2_2_2beta-bin.zip.
  • Extract the ‘cairngorm2_2_2beta-bin.zip’ on your local machine to a folder of your choice.

This is a beta release to enable use of the Cairngorm Plugin. The SWC has been compiled with Flex 3, which required code changes that we have not yet focused on making backward compatible with Flex 2. It also contains a number of bug fixes (see the release notes for details). We can not guarantee that the final release of 2.2.2 will contain these bug fixes and we may decide to support backward compatibility with Flex 2. These decisions will not be made until the Cairngorm Committee has consulted with the community. At this time we do not recommend that you use this SWC in your projects. You can safely use the Cairngorm Plugin with the Cairngorm 2.2.1 SWC, which can be downloaded from here, it only requires the 2.2.2Codegen-beta distribution for the codegen templates that are packaged with Cairngorm.

 

Cairngorm- Design pattern for Adobe flex January 6, 2008

Filed under: Cairngorm — gunjank @ 6:14 pm
Tags: , , , ,

What is Cairngorm?

The Cairngorm Microarchitecture is a lightweight yet prescriptive framework for rich Internet application (RIA) development.

Cairngorm is an implementation of design patterns that the consultants at Adobe Consulting have successfully taken from enterprise software development (with technologies including J2EE and .NET) and applied rich Internet application development using Adobe Flex.

Target Applications for Cairngorm

The Cairngorm microarchitecture is intended as a framework for Enterprise RIA developers.

First and foremost, this assumes that developers are likely to be delivering their applications on the Adobe Flex platform. As an ActionScript 2 and ActionsScipt 3 technical architecture, Cairngorm has been used, and can continue to be used, for the rapid development of applications built with Flash MX and Flash Remoting. However, the implementation of the design patterns (the patterns that have been selected for the microarchitecture) and the future roadmap for Cairngorm development are firmly aligned with the feature set – advertised and anticipated – of the Adobe Flex platform, and the emerging ecosystem of tools (such as Apollo) around the Flex platform.

If you are writing a very simple application (such as a prototype application) or an application with only a single view, then you might consider a “Model 1″ solution that doesn’t strive for the same separation of model, view, and control that Cairngorm advocates.

The benefits of the Cairngorm architecture are realized when developing complex RIA applications with multiple use-cases and views, with a team of developers, and with a multi-disciplinary development team that includes designers as well as creative and technical developers.

Source–

http://labs.adobe.com/wiki/index.php/Cairngorm

 

Cairngorm- Docs January 6, 2008

Filed under: Cairngorm — gunjank @ 5:48 pm
Tags: , , , , , ,

Cairngorm 2.2.1 Release Notes

What is Cairngorm

The Cairngorm Microarchitecture is a lightweight yet prescriptive framework for rich Internet application (RIA) development.

Cairngorm is an implementation of design patterns that the consultants at Adobe Consulting have successfully taken from enterprise software development (with technologies including J2EE and .NET) and applied rich Internet application development using Adobe Flex.

Cairngorm can be downloaded in binary and source forms from http://www.adobe.com/go/cairngorm. Documentation can also be downloaded from the same location.

If you wish to use Cairngorm with LiveCycle Data Services (eg, mx.data.DataService) then you should also download Cairngorm Enterprise, available at the same location. LiveCycle Data Services has a dependency on fds.swc, which does is not shipped with the standard Flex Framework, so any dependencies have been externalised to Cairngorm Enterprise.

Changes between Cairngorm 2.2.1 and Cairngorm 2.2

  • Changed ServiceLocator to reflect moving of classes to LiveCycle Data Services (fds.swc)

Building Cairngorm

The downloadable Cairngorm 2.2.1 source zip is a ready-to-use FlexBuilder project structure. To build Cairngorm, extract the zip to a known location and import it into your FlexBuilder workspace.

The source zip also contains an Ant script to Compile, generate Cairngorm.swc, generate ASDoc and package everything, but you may have to change it (or build.properties) to match your environment.

Using Cairngorm

To use the compiled Cairngorm in your Flex 2 application, copy Cairngorm.swc from the \bin to a location on your actionscript classpath.

Source –

http://labs.adobe.com/wiki/index.php/Cairngorm:Cairngorm2.2.1:Release_Notes

http://www.cairngormdocs.org/

http://cairngormdocs.org/blog/?p=18