In the app that I'm building, I need to load some configuration data that is stored in a database. I'm using the cairngorm framework and have a loadConfig event that works correctly, but my question is what is the best time to call the function that executes that event in the application tag? the preInitialized event, initialize event, or the creationComplete event? I've got it set up to where once the configuration data is received from the server, the application changes state to display the main portion of the application.
Call it at initialize, but make the app visible property false, and in the data result handler set app visible to true.