PureMVC Architects Lounge

Announcements and General Discussion => Architecture => Topic started by: davidTikva on January 20, 2011, 09:59:18



Title: Pipes Architecture question
Post by: davidTikva on January 20, 2011, 09:59:18
Hey guys,
I want to know what is the best practice about pipes.
in my app I got:
1) shell (ofcourse)
2) server module which must be loaded first (and never be removed)
3) other modules

now, if I load a module. should it communicate with the server module through the shell module
or I should connect them together directly (like "p2p") and the shell only manage the first connection between them?

In my opinion, the second option is better
what do you think?


Title: Re: Pipes Architecture question
Post by: puremvc on January 21, 2011, 06:55:02
Usually, I like to have the shell be the plumber, but then let the modules communicate amongst themselves.

If you haven't already, check out this slide from the presentation on MultiCore where I describe various module communication architectures.

http://puremvc.tv/#P002/T235

-=Cliff>