0 Replies Latest reply on Mar 31, 2010 5:29 AM by yderidde

    [svn:cairngorm3:] 15157: Simplifying the design of the module lib by:

    yderidde

      Revision: 15157

      Revision: 15157

      Author:   yderidde@adobe.com

      Date:     2010-03-31 05:29:35 -0700 (Wed, 31 Mar 2010)

      Log Message:

      ***********

      Simplifying the design of the module lib by:

      - Refactoring the existing mechanism to support the inter-communication between modules thru a unique identifier.

      - Ability to communicate between multiple instances of the same module.

      - Removed the LazyLoader which was a temporary workaround.

      - Adding a new Metadata which must be used within messages that are inter-communication API messages (to communicate between modules).

      - Adding a message pool which basically keep all messages that need to be redirected to a module which is not yet instantiated until the module is available and ready to accept the messages.

      - Redo from scratch the ModuleTest application to show the new behaviors.

      - Refactored the InSync sample to use the new Module lib.

       

      Modified Paths:

      **************

          cairngorm3/trunk/libraries/Module/.actionScriptProperties

          cairngorm3/trunk/libraries/Module/.flexLibProperties

          cairngorm3/trunk/libraries/Module/src/com/adobe/cairngorm/module/ModuleInfo.as

          cairngorm3/trunk/libraries/Module/src/com/adobe/cairngorm/module/ModuleMessageInterceptor .as

          cairngorm3/trunk/libraries/Module/src/com/adobe/cairngorm/module/ParsleyFlexModuleFactory .as

          cairngorm3/trunk/libraries/Module/src/com/adobe/cairngorm/module/ParsleyModuleDescriptor. as

          cairngorm3/trunk/libraries/Module/src/com/adobe/cairngorm/module/ParsleyModuleInfo.as

          cairngorm3/trunk/libraries/Module/src/com/adobe/cairngorm/module/ViewLoader.as

          cairngorm3/trunk/libraries/ModuleTest/.actionScriptProperties

          cairngorm3/trunk/libraries/ModuleTest/.flexProperties

          cairngorm3/trunk/libraries/ModuleTest/src/example/MyViewLoader.mxml

          cairngorm3/trunk/samples/insync/insync-modularExtended-api/.actionScriptProperties

          cairngorm3/trunk/samples/insync/insync-modularExtended-api/.flexLibProperties

          cairngorm3/trunk/samples/insync/insync-modularExtended-api/src/insync/messaging/ComposeMe ssageEvent.as

          cairngorm3/trunk/samples/insync/insync-modularExtended-contacts/src/insync/contacts/prese ntation/ContactFormPM.as

          cairngorm3/trunk/samples/insync/insync-modularExtended-messaging/src/ComposeMessageModule .mxml

          cairngorm3/trunk/samples/insync/insync-modularExtended-messaging/src/ComposeMessageModule Rig.mxml

          cairngorm3/trunk/samples/insync/insync-modularExtended-messaging/src/insync/messaging/pre sentation/ComposeMessagePM.as

          cairngorm3/trunk/samples/insync/insync-modularExtended-shell/src/InsyncModularExtendedShe ll.mxml

          cairngorm3/trunk/samples/insync/insync-modularExtended-shell/src/insync/InsyncContext.mxm l

          cairngorm3/trunk/samples/insync/insync-modularExtended-shell/src/insync/presentation/Cont entViewStack.mxml

       

      Added Paths:

      ***********

          cairngorm3/trunk/libraries/Module/src/com/adobe/cairngorm/CairngormModuleLib.as

          cairngorm3/trunk/libraries/Module/src/com/adobe/cairngorm/module/IParsleyModule.as

          cairngorm3/trunk/libraries/Module/src/com/adobe/cairngorm/module/ModuleIdMetadata.as

          cairngorm3/trunk/libraries/Module/src/com/adobe/cairngorm/module/ModuleMessageDispatcher. as

          cairngorm3/trunk/libraries/Module/src/com/adobe/cairngorm/module/ParsleyModuleReadyMessag e.as

          cairngorm3/trunk/libraries/ModuleTest/src/CairngormModuleLibSample.mxml

          cairngorm3/trunk/libraries/ModuleTest/src/CairngormModuleLibSampleContext.mxml

          cairngorm3/trunk/libraries/ModuleTest/src/example/ModulePod.mxml

          cairngorm3/trunk/libraries/ModuleTest/src/example/api/

          cairngorm3/trunk/libraries/ModuleTest/src/example/api/PingMessage.as

          cairngorm3/trunk/libraries/ModuleTest/src/example/moduleA/

          cairngorm3/trunk/libraries/ModuleTest/src/example/moduleA/ModuleA.mxml

          cairngorm3/trunk/libraries/ModuleTest/src/example/moduleA/ModuleAContext.mxml

          cairngorm3/trunk/libraries/ModuleTest/src/example/moduleA/ModuleAPM.as

          cairngorm3/trunk/libraries/ModuleTest/src/example/moduleB/

          cairngorm3/trunk/libraries/ModuleTest/src/example/moduleB/ModuleB.mxml

          cairngorm3/trunk/libraries/ModuleTest/src/example/moduleB/ModuleBContext.mxml

          cairngorm3/trunk/libraries/ModuleTest/src/example/moduleB/ModuleBPM.as

          cairngorm3/trunk/samples/insync/insync-modularExtended-api/src/insync/application/

          cairngorm3/trunk/samples/insync/insync-modularExtended-api/src/insync/application/Content Destination.as

       

      Removed Paths:

      *************

          cairngorm3/trunk/libraries/Module/src/com/adobe/cairngorm/module/LazyLoader.as

          cairngorm3/trunk/libraries/Module/src/com/adobe/cairngorm/module/ModuleDescriptor.as

          cairngorm3/trunk/libraries/Module/src/com/adobe/cairngorm/module/StyledModuleDescriptor.a s

          cairngorm3/trunk/libraries/Module/src/com/adobe/cairngorm/module/StyledModuleInfo.as

          cairngorm3/trunk/libraries/ModuleTest/src/CairngormModules.mxml

          cairngorm3/trunk/libraries/ModuleTest/src/CairngormModules2.mxml

          cairngorm3/trunk/libraries/ModuleTest/src/example/ExampleContext.mxml

          cairngorm3/trunk/libraries/ModuleTest/src/example/ModuleA.mxml

          cairngorm3/trunk/libraries/ModuleTest/src/example/ModuleB.mxml

          cairngorm3/trunk/libraries/ModuleTest/src/example/parsley/

          cairngorm3/trunk/samples/insync/insync-modularExtended-shell/src/insync/application/Conte ntDestination.as