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: One Facade and two subFacades?  (Read 7352 times)
ABloch
Newbie
*
Posts: 7


View Profile Email
« on: June 03, 2012, 11:13:32 »

Hi, pretty new to pureMVC, I am in the situation of developing an app in which an important part is related to the WebContext (several heberging urls are possible, which will involve different graphic preLoaders, maybe ads, sometimes a limited time of connexion, etc), and the second part is a racing game with a consequent UI.
So I am wondering if having two subFacades would be considered good or bad, the first case being in my mind a way to simplify and separate access to proxys and commands.
What do you think about it? Is there a best practice for this?
TIA,
ABloch
Logged
Tekool
Sr. Member
****
Posts: 192


View Profile WWW Email
« Reply #1 on: June 03, 2012, 01:23:17 »

Hello, the standard way of doing this in PureMVC is using PureMVC multicore and create one module with one Facade for each of your modules (core).

Have a look at  Demo - Flex / Modularity http://trac.puremvc.org/Demo_AS3_MultiCore_Flex_Modularity it implements this. This seems to exactly be what you need, even if you use PureMVC in a different langage.
Logged
ABloch
Newbie
*
Posts: 7


View Profile Email
« Reply #2 on: June 03, 2012, 03:42:07 »

Thanks a lot!
Logged
Pages: [1]
Print