PureMVC Architects Lounge

Announcements and General Discussion => Getting Started => Topic started by: freelife on January 05, 2009, 06:10:42



Title: config object
Post by: freelife 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


Title: Re: config object
Post by: puremvc 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>