Futurescale, Inc. PureMVC Home

The PureMVC Framework Code at the Speed of Thought


Over 10 years of community discussion and knowledge are maintained here as a read-only archive.

New discussions should be taken up in issues on the appropriate projects at https://github.com/PureMVC

Show Posts

| * |

  Show Posts
Pages: [1]
1  Announcements and General Discussion / Architecture / Local and remote proxies on: April 26, 2008, 09:56:57
Hi all,

I'm currently rebuilding a bit of a messy app using PureMVC (which I find intriguing). My question is about proxies -- this is an AIR app that reads in two XML files for most of the model. The XMLs are stored locally and initialized from there, but the user may download the XMLs remotely. Currently, I have that set up as a remote and local Proxy for each XML file. The remote Proxy is queried for new information and downloads the XML, after which it sets the local Proxies data object (my throw in some data manipulation in there). Only the local Proxy's model is shown in the views. What do you think of doing it this way? Is there a better way of doing it?
Pages: [1]