---
id: 94
title: PureMVC & Cairngorm (1)
slug: puremvc-cairngorm-1
date: '2008-05-20T04:09:00Z'
modified: '2008-05-20T04:09:00Z'
status: publish
type: post
author: pmoelgaard
categories:
  - Adobe Flex
tags:
  - Best Practices
  - Cairngorm
  - PureMVC
excerpt: null
canonicalPath: /posts/puremvc-cairngorm-1
featuredImage: null
commentCount: 2
wordCount: 187
readingTimeMinutes: 1
hasMedia: false
hasVideos: false
url: 'https://forwardthinking.pemo.me/posts/puremvc-cairngorm-1'
---
We have recently been blessed with a couple of very skilled PureMVC oriented developers. Seeing that we have traditionally been a distinctive Cairngorm company, this was naturally an issue we needed to address... however, upon considering the options we came to the conclusion that there were no apparent reasons why our specific implementation of the Cairngorm framework could not coexist happily side-by-side with PureMVC. A number of apparent conflicts based on the various singleton's would have to be solved, but seeing that we have abandoned the singleton FrontController's and ModelLocator's in both frameworks all we had to do was to hook the PureMVC Facade and our custom Cairngorm EventBroadcaster together so our events being dispatched in one place will be delegated to the other place.  
What we eventually end up with is a Hybrid which is based on Cairngorm but 100% faciliates PureMVC-based code and it seems to work without any major issues.  
  
This is the first of what will become a number of posts I will be making about our experiences in taking a 1300+ Class large system based on Cairngorm and adding PureMVC to it.
