0 Replies Latest reply on Aug 31, 2011 12:55 AM by masuland

    Understanding the practical implications of the Cairngorm 3 Navigation Library

    masuland Level 1

      Hi there again,

       

      Based on the discussion from yesterday:

       

      http://forums.adobe.com/thread/897088?tstart=0

       

      ... I forgot to mention that I have difficulties to find practical use cases for the Navigation Library. What does the Navigation Library solve when it will be used in the development architecture? Nothing explicit seems to be mentioned about it in your documentation:

       

      http://sourceforge.net/adobe/cairngorm/wiki/HowToUseCairngormNavigation/

       

      When speaking in theory I also have the concern that the Navigation Library is breaking the separation of concern between the Presentation Layer and the Domain Layer (when using the Domain Driven Design language):

       

      http://sourceforge.net/adobe/cairngorm/wiki/UnderstandingCairngorm/

       

      ... or the separation of concern between the View Layer and the Data Layer (when using my language):

       

      http://code.google.com/p/masuland/wiki/NanoarchitectureMVCb

       

      Practically speaking again, I usually store the application state (or the waypoints/landmarks of the application) in the Application Model ... see:

       

           public class AppModel
           {          
                //---------------
                // States
                //---------------
                
                [Publish(scope='appModel', objectId='loginBoxState')]
                public var loginBoxState:String;
                
                [Publish(scope='appModel', objectId='appStackState')]
                public var appStackState:String;
                
                [Publish(scope='appModel', objectId='settingsBoxState')]
                public var settingsBoxState:String;
           }
      
      
      

       

      For more information please check out these two versions:

      http://code.google.com/p/masuland/wiki/LoginExample#Flex_4_(Halo)_with_MVCbCtl_PInj

      http://code.google.com/p/masuland/wiki/LoginExample#Flex_4_(Halo)_with_MVCbCtl_PInjDdd

       

      ... of my Login Example:

      http://code.google.com/p/masuland/wiki/LoginExample

       

       

      I hope you can help me clarify this!

       

      Thank you,

      masu