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: How to use Multicore, in what kind of project  (Read 10219 times)
nisimjoseph
Full Member
***
Posts: 22


View Profile Email
« on: March 04, 2009, 03:35:41 »

Hi,
i need some examples of when to use the MultiCore PureMVC.
i studied the code and understand it, but still i need examples for in what kind of project i should use it.

10x in advanced,
Nisim
Logged
Joel Hooks
Courseware Beta
Sr. Member
***
Posts: 146


baby steps

 - 46288188  - passport@provinsal.com  - joeltuff
View Profile WWW Email
« Reply #1 on: March 04, 2009, 09:34:25 »

The standard version is kept as the reference standard for ports and systems that don't support multicore. It is recommended to use the multicore version for all AS3 projects.
Logged

http://joelhooks.com - my ramblings about developing with actionscript and python using pureMVC and django respectively.
nisimjoseph
Full Member
***
Posts: 22


View Profile Email
« Reply #2 on: March 05, 2009, 01:24:31 »

i know that need to use it, but i need example of kind of projects that need it.
en example can help here.

10x,
Nisim
Logged
Joel Hooks
Courseware Beta
Sr. Member
***
Posts: 146


baby steps

 - 46288188  - passport@provinsal.com  - joeltuff
View Profile WWW Email
« Reply #3 on: March 05, 2009, 06:43:04 »

i know that need to use it, but i need example of kind of projects that need it.
en example can help here.

10x,
Nisim

I use it for all projects.

http://puremvc.org/content/blogsection/9/176/
http://trac.puremvc.org/PureMVC_AS3_MultiCore

There's like 12 demos and utilities available.
Logged

http://joelhooks.com - my ramblings about developing with actionscript and python using pureMVC and django respectively.
nisimjoseph
Full Member
***
Posts: 22


View Profile Email
« Reply #4 on: March 05, 2009, 01:32:48 »

10x on the answer. i will take a look on that demos.

Nisim
Logged
nisimjoseph
Full Member
***
Posts: 22


View Profile Email
« Reply #5 on: March 05, 2009, 03:59:36 »

hallo again, i had look on sites that were build with the PureMVC and no one of them is using MultiCore.

again, i need reasons and example of using it. if someone can help in this issue i will be very thankful on it.

10x,
Nisim
Logged
puremvc
Global Moderator
Hero Member
*****
Posts: 2871



View Profile WWW Email
« Reply #6 on: March 07, 2009, 07:42:03 »

The reason MultiCore is suggested for all new work is that it affords better unit testing since you can get a new facade for every test.

But as far as modular programming in general, the benefits can be huge. Imagine you're developing a game with many levels and different gameplay on each. The main app/shell can coordinate the modules and each module could have its own playfield and game logic. Or a financial application that could have many interrelated modules that work with a common dataset. A 3D modelling program might have many modules for generating or transforming geometry. The modules could be constructed into a pipeline such that changes to any module's parameters cause the resultant model coming you of the pipeline to change accordingly. Modular programming is one of the oldest ways of achieving separation of interests in code, and atop an MVC framework its pretty powerful.

Imagine you have a massive app to build and the only way to reach the finish line in time is to outsource parts of it. Without MultiCore, you'll be forced to teach 'the big picture' to everyone who works on the app because its one monolithic codebase and to work effectively, developers need to understand the whole apparatus. This really requires your documentation be up to date or plan on lots of time lost to hand holding. With MultiCore, you can spec out simple modules to be written and keep the big picture to yourself. All a module needs to know is the interfaces it needs to implement and/or make calls against and/or the message protocols it is expected to understand.

Hope this helps,
-=Cliff>
Logged
Pages: [1]
Print