Futurescale, Inc. PureMVC Home

The PureMVC Framework Code at the Speed of Thought


Over 10 years of community discussion and knowledge are maintained here as a read-only archive.

New discussions should be taken up in issues on the appropriate projects at https://github.com/PureMVC

Pages: [1]
Print
Author Topic: Multiple Cores/Modules sharing the Stage  (Read 5772 times)
Bonfa
Newbie
*
Posts: 1


View Profile Email
« 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?
Logged
puremvc
Global Moderator
Hero Member
*****
Posts: 2871



View Profile WWW Email
« Reply #1 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>
Logged
Pages: [1]
Print