PureMVC Architects Lounge

Announcements and General Discussion => Architecture => Topic started by: mycroft on November 19, 2007, 02:00:00



Title: Emulate a Session?
Post by: mycroft on November 19, 2007, 02:00:00
Hi,

Where is the best place to keep 'session' based variables with PureMVC? Some examples would be a User model. Is ApplicationFacade a good place?

Thanks.


Title: Re: Emulate a Session?
Post by: puremvc on November 19, 2007, 02:31:25
That would best be kept in a Proxy, registered with the Model and available readily to any actor in the system using the retrieveProxy of the ApplicationFacade.

-=Cliff>


Title: Re: Emulate a Session?
Post by: mycroft on November 19, 2007, 02:51:14
Wow you are quick! :) Thanks Cliff!