PureMVC Architects Lounge

Announcements and General Discussion => Fabrication => Topic started by: bigTimeOperator on January 15, 2010, 12:47:33



Title: registerCommand in fabrication
Post by: bigTimeOperator on January 15, 2010, 12:47:33
Hey, I am looking at fabrication for the first time. I have a simple project setup and most of this is making sense to me so far. There's one bit of confusion I have. In puremvc I often register commands to respond to notifications in the ApplicationFacade:

:
override protected function initializeController () : void {
super.initializeController();
registerCommand( WHATEVER, WhateverCommand );
}

Since there's no visible facade, how does this work in Fabrication?

Thanks


Title: Re: registerCommand in fabrication
Post by: bigTimeOperator on January 15, 2010, 12:55:44
Oh hey, I figured it out. You can registerCommands in commands.. such as the startupCommand.