Title: One Facade and two subFacades? Post by: ABloch 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 Title: Re: One Facade and two subFacades? Post by: Tekool 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. Title: Re: One Facade and two subFacades? Post by: ABloch on June 03, 2012, 03:42:07 Thanks a lot!
|