Where to register mediator in puremvc ?

Posted by Silent Warrior on Stack Overflow See other posts from Stack Overflow or by Silent Warrior
Published on 2010-03-17T18:01:20Z Indexed on 2010/03/18 14:51 UTC
Read the original article Hit count: 463

Filed under:
|
|

Currently I am working on flex using puremvc framework. Actually my question is related to where to register mediator in puremvc framework. One of my colleague is registering mediator in views(components) creationComplete method only (inside view). While my preference is send some notification from creationComplete method which could be handle by some command and command will register mediator. So which one is better approach in terms of best practice ?

© Stack Overflow or respective owner

Related posts about puremvc

Related posts about flex3