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: registerCommand in fabrication  (Read 5857 times)
bigTimeOperator
Newbie
*
Posts: 6


View Profile Email
« 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
Logged
bigTimeOperator
Newbie
*
Posts: 6


View Profile Email
« Reply #1 on: January 15, 2010, 12:55:44 »

Oh hey, I figured it out. You can registerCommands in commands.. such as the startupCommand.
Logged
Pages: [1]
Print