PureMVC Architects Lounge

Announcements and General Discussion => Fabrication => Topic started by: Darshan Sawardekar on January 09, 2009, 03:47:56



Title: Fabrication 0.6
Post by: Darshan Sawardekar 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


Title: Re: Fabrication 0.6
Post by: Jason MacDonald on January 09, 2009, 07:01:45
Great work, Darshan! Are the module groups included in this release?


Title: Re: Fabrication 0.6
Post by: Darshan Sawardekar on January 09, 2009, 08:11:53
I forgot about that. Yes modules groups are also in.

peace,
darshan