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: Pipes Architecture question  (Read 6474 times)
davidTikva
Jr. Member
**
Posts: 12


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



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