2 Replies Latest reply on Sep 2, 2010 12:02 PM by supersonicecho

    Singletons

    supersonicecho Level 2

      What do all of you think regarding the use of singletons for data models and controllers?

       

      I like to use a dataModel singleton for, you guessed it, my data class because it just makes sense to me.

       

      Also, I think it makes sense to use the FlexGlobals.topLevelApplication singleton as a controller for the application.  Any thoughts?