Ext JS Premium Member
Answered: Ext.ux.MsgBus necessary in Ext4.1!?
in a older Ext3 application i use the great Ext.ux.MsgBus plugin from Saki http://www.sencha.com/forum/showthread.php?80829.
Is this for Ext4.1 also necessary or have 4.1 internal alternatives to replace this?
Posted by sdt6585
There is the Ext.app.EventBus that is a private class included in the Ext.app.Application instance. I think that is where it stores the component query selectors from the Application.control configuration parameter when you create an application. I don't know if it's enough to fully implement the mediator pattern since the control queries only accept components and will not allow you to attach events to classes that you have implemented the Observable class/mixin in, but it might server your needs. I imagine something like the MsgBus will still be necessary if that is the pattern you follow when writing complex apps.