3 Replies Latest reply: May 30, 2011 6:06 AM by POD-ReBeL RSS

    Communication between modules using cairngorm

    RedBall23 Community Member

      Hi all,


      I'm looking for the best practice of communication between modules using cairngorm.

      I read the document which offers three ways (http://livedocs.adobe.com/flex/3/html/help.html?content=modular_7.html):

      1. Using query string

      2. Using interfaces   

      3. Accessing through parent


      However, I am using componentized approach (http://sourceforge.net/adobe/cairngorm/wiki/ApplyingthePresentationModel-ComponentizedvsHi erarchical/)

      for the presentation model. Meaning I want to use presentor to handle all data passing between modules, and have a presentor which is a part of a module to handle the data passing in the different views of the module.


      I am getting a bit confused with the structure when building the app. The main application component is being injected with all the modules and the application presentor.


      Do you have a suggestion of a correct structure?


      Thanks alot!