PureMVC Architects Lounge

Announcements and General Discussion => General Discussion => Topic started by: coulix on March 11, 2009, 11:22:17



Title: PopupManager, and recurring popup, design question
Post by: coulix on March 11, 2009, 11:22:17
Hi all,

I saw a topic on using a PopupManager with static methods to close and create popup given its Component CLass and MediatorClass.
In my case i have a popup that a user can call then close then call again ect.., this popup is kind of expensive to instantiate so for now i was just "hiding it" and keeping only one mediator handling the hide unhide.
But that is uncompatible with the popup manager way of doing things.

How would you handle such Popups ?

Thanks a lot

Greg


Title: Re: PopupManager, and recurring popup, design question
Post by: puremvc on March 12, 2009, 05:44:20
There's nothing wrong with that at all given your situation.

-=Cliff>