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: Modules and PUREMVC  (Read 3625 times)
Lord
Newbie
*
Posts: 4


View Profile Email
« on: March 19, 2009, 09:42:13 »

hi all,

i'm new of pureMVC and it's really hard to understand it.. ???

first, is there a good tutorial to start?

second, i need to implement an inter modules communication.
i've read this post http://forums.puremvc.org/index.php?topic=49.15 and i downloaded the code provided by "rock"..
in the sample i found TestMessageController class that listens for notifications...so i would modify this class to change data within a module...for example a module sends a notification (note and body)...then an other module takes the body and changes his views..(e.g. data provided into a datagrid).
how to rich this goal?

finally, if modules are unloaded is there a right way to follow?

thanks a lot ;)

Regards Lorenzo

« Last Edit: March 19, 2009, 09:46:16 by Lord » Logged
myIP
Jr. Member
**
Posts: 11


View Profile Email
« Reply #1 on: March 19, 2009, 12:47:00 »

To answer your first question, I started by following ¾ the way through Dave Keen's tutorial (@ www.actionscriptdeveloper.co.uk ) using PureMVC with XIFF.  I didn't no anything about this framework (PureMVC) and library (XIFF), however it allowed me to throw clay on the potter's wheel and make something from it.

After using Cairngorm for 6 months on a project, I can now say that I believe PureMVC is better to work with.  PureMVC doesn't have that tight-coupling between the Model and View which exists in Cairngorm, which ended up being a problem on that 6 month project.
Logged
Lord
Newbie
*
Posts: 4


View Profile Email
« Reply #2 on: March 20, 2009, 02:19:34 »

Hi myIP,

thanks a lot for the reply...

can you help me in the second question?

Regards Lorenzo
Logged
puremvc
Global Moderator
Hero Member
*****
Posts: 2871



View Profile WWW Email
« Reply #3 on: March 20, 2009, 06:05:08 »

Hi, rather than scouring the net looking for examples, to get started with, simply go to the code section of this site, click ActionScript3, then you see all the AS3 Standard Version demos and utils. If you're planning to use modules, choose MultiCore from the top of that menu and you'll see the MultiCore framework demos and utils.

As far as how to understand the framework, I'd start with the standard version, and read the documentation, particularly the Framework Overview and Best Practices documents found under the 'Docs' section of the site.

Those docs describe the Standard version. The MultiCore version is virtually the same, with a few exceptions noted in the MultiCore Release Notes page.

As for unloading modules and best practices there, check out Simon Bailey's blog, he's got a fantastic tutorial and demo covering the subject. In fact I believe I've linked to it from the MultiCore menu under tutorials.

-=Cliff>
Logged
Pages: [1]
Print