I would like to know what would be considered best practice for the following situation. I am going back and forth with allowing my views to send notifications using the puremvc framework or to have the views dispatch events to a mediator that has a registered event listener.
I know that by allowing my views to send a notification I am tying my views to pureMvc. With that said, is it worse then having the mediators register event listeners to views? Could there be performance or any garbage collection issues when using flex events and event listeners in the mediator.
Personally I'd rather not rely on flex events and just let the view send a notification. Of course this also means each view has a hook to the appfacade singleton so that i can actually send a notification.
Your thoughts??