Futurescale, Inc. PureMVC Home

The PureMVC Framework Code at the Speed of Thought


Welcome, Guest. Please login or register.
June 28, 2017, 10:36:54 AM
Home Help Search Login Register
News: Please DM @puremvc on Twitter to gain forum access. Spambots are why we can't have nice things.
Pages: [1]
Print
Author Topic: Managing a multicore puremvc application using mvc  (Read 3850 times)
Dechesne
Newbie
*
Posts: 2


View Profile
« on: August 08, 2013, 04:37:18 AM »

Hi all
I've recently began using the multicore version of puremvc and so far it looks great. I found it quite hard to get into mostly because the pipes paradigm didn't make a whole lot of sense to me. The first question that came to me was why are they not using an mvc approach to the managing of individual cores?

With this in mind I explored the possibility of setting up a multicore framework using a maincore with childcores. The maincore uses mediators to handle the childcores whereas the proxy of the main core keeps track of the id's of the childcores and keeps track of the global data. This data is split into smaller fragments which is supplied to the children.

whenever a child updates its proxy, notifications are being sent to the childcore mediator who in turn tells their viewcomponent to send the appropriate signals to their respective owners (facades). In turn whenever the child needs to receive data their owners (facades) have data injected by their respective mediator (the one from the main core). For every new child that is made the main core would create a new mediator with a unique id.

Would any1 like to share any thoughts on this approach?
Thanks!
elvin
Logged
openoli
Full Member
***
Posts: 44


View Profile
« Reply #1 on: August 15, 2013, 02:26:10 AM »

Hi,
I'm not sure if I understood what you wrote but it sounds like your're searching for other ways for inter-core communication?
If so, please take a look at my post above.
Olaf
Logged
Dechesne
Newbie
*
Posts: 2


View Profile
« Reply #2 on: August 15, 2013, 07:15:51 AM »

Hi Olaf thanks for your reply. I can't find the specific post you are referring to but yeah I was looking for an alternate way of making cores speak to each other.

My solution does indeed incorporate interfaces but also places an MVC core on top of the child cores.
In my solution there would always be a central MVC hub on top of the child cores to delegate any inter-core communication should there be any need.
Logged
openoli
Full Member
***
Posts: 44


View Profile
« Reply #3 on: August 15, 2013, 08:24:25 AM »

I mean this post:
http://forums.puremvc.org/index.php?topic=2093.0
Logged
Pages: [1]
Print
Jump to: