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: multicore javascript  (Read 5693 times)
normc
Newbie
*
Posts: 5


View Profile Email
« 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


« Last Edit: April 09, 2012, 12:00:57 by normc » Logged
puremvc
Global Moderator
Hero Member
*****
Posts: 2871



View Profile WWW Email
« Reply #1 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>
Logged
normc
Newbie
*
Posts: 5


View Profile Email
« Reply #2 on: April 10, 2012, 06:25:48 »

Thanks.
Logged
Pages: [1]
Print