Skip to main content
June 5, 2010
Question

Cairngorm 3 and Cairngorm 2

  • June 5, 2010
  • 1 reply
  • 1714 views

I'd like to understand the relationship between Cairngorm 3 and Cairngorm 2.  Does Cairngorm 3 contain all the codes in Cairngorm 2?  Thanks.

This topic has been closed for replies.

1 reply

Known Participant
June 6, 2010

Simple answer is no

Cg 3 is framework agnostic and will work with many different micro-architectures (Cg 2/Swiz/Parsley etc.)

Cg 3 is a set of libraries and best practises.

Cg2 is a micro-architecture, and implantation of the MVC patterns

Cg2 and Cg 3 are separate downloads

They do both work together, but they don’t have to.

I hope this clear things up. If not please say and I'll try again

Cheers

Glenn

tinylion development & design

Participating Frequently
June 15, 2010

this means that i have to use parsely (or some other micro-architecture) if i want to use cg 3.

i will use set of libraries and best practises of cg 3 but my bottom layer will be the micro-architecture which i choose.

there wont be any Commands, event, controller etc like cg 2 but instead there will be things related to the micro-architecture which we choose to use.

Participating Frequently
June 15, 2010

Most guidelines, tools and libraries in C3 aren't dependent on any other micro-architecture. Checkout the headings from the libraries page, it should tell you if it requires something else:

http://opensource.adobe.com/wiki/display/cairngorm/Cairngorm+Libraries

Depending on your need, you might still implement Commands as you might have done with the Cairngorm 2 framework. You might just use another implementation for it i.e. Parsley DynamicCommands. As with C2, we often still like to encapsulate operations in Commands, externalize services and models. The implementation of it, isn't necessarily the most important aspect. More important is to understand the motivation and use it when needed. Checkout the Insync samples and tutorials from the Guidelines page for a start.