PureMVC Architects Lounge

PureMVC Manifold => Multicore Version => Topic started by: normc on April 09, 2012, 11:42:19



Title: multicore javascript
Post by: normc on April 09, 2012, 11:42:19
Greetings,
What is the suggested approach to creating a multicore app with JavaScript port?
There's no pipe utility for JavaScript, from what I see.
The 'Piping the machine' demo uses that utility:
http://joelhooks.com/2009/05/18/piping-the-machine-puremvc-multicore-with-pipes-and-the-finite-state-machine-fsm/

That's too complex for my energy level at this point, i.e., getting ramped up on these:
import org.puremvc.as3.multicore.utilities.pipes.interfaces.IPipeFitting;
import org.puremvc.as3.multicore.utilities.pipes.plumbing.Junction;
import org.puremvc.as3.multicore.utilities.pipes.plumbing.Pipe;
import org.puremvc.as3.multicore.utilities.pipes.plumbing.TeeMerge;

I just need to send an array from one module to another (one way, one time). Any suggestions on a simple way to do that?

Or any suggestions on best approach for multicore with javascript port?

Thanks,
Norm




Title: Re: multicore javascript
Post by: puremvc on April 09, 2012, 12:02:51
I plan to port pipes at some point in the near future.

You can also give the modules references to each other and implement methods on the modules that are called. We do that by interface in other languages.

There is also a simpler inter-core communication system for AS3 that might be more easily ported called LICS. http://www.dz015.com/?p=1

-=Cliff>


Title: Re: multicore javascript
Post by: normc on April 10, 2012, 06:25:48
Thanks.