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: Fabrication 0.6  (Read 6058 times)
Darshan Sawardekar
Sr. Member
****
Posts: 85


View Profile Email
« on: January 09, 2009, 03:47:56 »

Hi All,

I have release Fabrication 0.6[1] with some of the features that I mentioned over the last few days on this forum. The Interceptors[2] feature I showed to make Fabrication work well with the StateMachine utility is in this release. 0.6 also adds one important feature, Reactions.

Reactions is a way to indicate interest in a component event and listen for that event in the same step. This is very similar to the respondTo convention used with Reflexive Notification interests. With Reactions to listen to the Click of MyComponent, you just declare a method like,

:
public function reactToMyComponentClick(event:MouseEvent):void {

}

You can also use trapMyComponentClick for capture phase reactions. You can find more details about it here[3].

peace,
darshan

[1] : http://code.google.com/p/fabrication/downloads/list
[2] : http://code.google.com/p/fabrication/wiki/Interceptors
[3] : http://code.google.com/p/fabrication/wiki/Reactions
Logged
Jason MacDonald
Sr. Member
****
Posts: 243


View Profile Email
« Reply #1 on: January 09, 2009, 07:01:45 »

Great work, Darshan! Are the module groups included in this release?
Logged
Darshan Sawardekar
Sr. Member
****
Posts: 85


View Profile Email
« Reply #2 on: January 09, 2009, 08:11:53 »

I forgot about that. Yes modules groups are also in.

peace,
darshan
Logged
Pages: [1]
Print