PureMVC Architects Lounge

Announcements and General Discussion => General Discussion => Topic started by: nisimjoseph on September 29, 2008, 03:22:04



Title: where to put the all data object (value objects) ?
Post by: nisimjoseph on September 29, 2008, 03:22:04
hallo,

i am new to PureMVC and i want to put together all the data in my project using this architecture.
the question is where to put all the system data? or if the puremvc support this thing, where it exist in the architecture ?

my idea is to create another object and we could get it from the IFacade interface and implement in the Facade class so i could get a ModelLocator object that all the system/UI data will be in it.

10x in advanced,
Nisim Joseph


Title: Re: where to put the all data object (value objects) ?
Post by: puremvc on September 29, 2008, 05:03:46
A quick read of the framework overview document might help you to understand how things work in PureMVC.

The framework Model class caches named Proxy instances which hold the data in your app. You can retrieve thes Proxies by name using the IFacade.retrieveProxy method.

-=Cliff>


Title: Re: where to put the all data object (value objects) ?
Post by: nisimjoseph on September 29, 2008, 05:37:30
thank you on the answer.
i can see it now.

10x