Futurescale, Inc. PureMVC Home

The PureMVC Framework Code at the Speed of Thought


Welcome, Guest. Please login or register.
March 30, 2017, 03:47:03 AM
Home Help Search Login Register
News: ATTENTION: Spambots must die! Humans must visit http://contact.futurescale.com to request forum access.
Pages: [1]
Print
Author Topic: One Facade and two subFacades?  (Read 2213 times)
ABloch
Newbie
*
Posts: 7


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

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
« Reply #1 on: June 03, 2012, 01:23:17 PM »

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 PM »

Thanks a lot!
Logged
Pages: [1]
Print
Jump to: