Title: Multiple Cores/Modules sharing the Stage Post by: Bonfa on October 14, 2009, 12:31:28 It looks like a problem for a dynamically loaded module to render its View components on the stage. If I understand it correctly "export UI" via pipes to the main app is not good enough for the modules that have a really rich UI with dozens views, transitions etc.
Are there any in-depth discussions of what we can do if the module is actually a full-featured UI intensive application, and main application of the multi-core is kind of a "portal" that hosts and integrates several independent modules loaded at run-time on user's demand? Are there any plans of extending PureMVC Multicore framework to facilitate for multiple modules sharing a single stage? Title: Re: Multiple Cores/Modules sharing the Stage Post by: puremvc on October 15, 2009, 09:36:54 There is no need for extension of PureMVC for this. What you've seen with the exporting of ui components from a module to be added to a view hierarchy is only one way of doing it. You could always pass a reference of an object, (the app, the stage, a canvas on the main app, whatever) to the module with the intent of saying 'add your components to this'.
-=Cliff> |