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

Pages: [1]
Print
Author Topic: CrossPopulating Proxies  (Read 7380 times)
reduxdj
Jr. Member
**
Posts: 11


View Profile Email
« on: March 19, 2008, 04:49:10 »

Another newbie question, I have a proxy and it gets back a dataset.  How do I keep this dataset around so I can make another command do some business logic on my data, so my other view can use it?  What's the best practice for this?

See, what a beginner question, I am so embarrassed.

 :-\

Thanks,
patrick
Logged
immerzeel
Courseware Beta
Jr. Member
***
Posts: 14


View Profile Email
« Reply #1 on: March 19, 2008, 05:37:09 »

In short: you save the dataset in a variable of the proxy class. In the command you facade.retrieveProxy() the proxy to manipulate the data.

Download the Best Practices PDF.

http://puremvc.org/component/option,com_wrapper/Itemid,30/

It is explained better an more clearly than I could tell you..

Cheers,

Pascal
Logged
reduxdj
Jr. Member
**
Posts: 11


View Profile Email
« Reply #2 on: March 19, 2008, 09:12:43 »

Oh yeah, I read that twice.  It's a lot of jargon to digest in one or two sittings.  I am starting to get the hang of it. 

Job well done on this.

Patrick
Logged
Pages: [1]
Print