Title: Multiple ApplicationFacade? Post by: bodbod on December 31, 2007, 09:16:18 I've been having lots of fun with PureMVC, many thanks for a job done so well. Within a day I managed to get a basic application working and am very excited about how things are beginning to "click". However I'm struggling with one concept, and please forgive my ignorance if I have missed the point and the solution is obvious (I do try and RTFM but my OOP language isn't fluent yet!).
ApplicationFacade is a Singleton. So how do I get 2 of my (not so wonderful) applications "going on" concurrently? (e.g. 2 calculators) So far I'm thinking I need my Proxies and Mediators to be composites and then I should shift everything down a node or two? Thanks for any advice. Title: Re: Multiple ApplicationFacade? Post by: puremvc on January 01, 2008, 08:06:25 Hi bodbod,
Is this an AIR app and you are wanting 2 NativeWindows to be open at once? If so, you don't need multiple facades, just multiple mediators - one per window. -=Cliff> Title: Re: Multiple ApplicationFacade? Post by: bodbod on January 01, 2008, 05:13:04 Thanks Cliff.
Sorry I should have said - I'm working within the Flash Player runtime environment. Would the same advice apply here? I'm probably getting myself in a muddle and will study the HelloFlash example in more detail :) |