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: config object  (Read 7225 times)
freelife
Newbie
*
Posts: 1


View Profile Email
« on: January 05, 2009, 06:10:42 »

Hi
Im trying to build a PUREMVC application in flash, The application, should have some 'hardcoded' values in a object, which can be updated through flashVars and used i the application
My question is : Is this config object a value object  ?  how can I access the object through the application?

Thanks
Peter
Logged
puremvc
Global Moderator
Hero Member
*****
Posts: 2871



View Profile WWW Email
« Reply #1 on: January 05, 2009, 06:34:21 »

A value object is a good place for such data. In the model preparation phase of startup you should get the data create the VO and register a proxy to hold it. Then whenever you need that data subsequently, retrieve the proxy and get the VO.
 
-=Cliff>
Logged
Pages: [1]
Print