Suppose you use an xml file to store configuration values for your app. And a lot of the URL's used to access data are part of that configuration. What is the recommended way to apply that configuration to a PureMVC based app? Right now I am loading the configuration xml file using a proxy ( a startup proxy using the startup manager utility to be more specific). Other proxies and delegates are the actors that will need the urls from the configuration. So I have proxies accessing the configuration proxy. Delegates don't have access to the Facade (and thus can't access the configuration proxy) so I was thinking the proxy might pass the url to the delegate. I would like to hear other approaches to this problem.
|