Threaded View

  1. #1
    Ext JS Premium Member
    Join Date
    Mar 2007
    Location
    Germany
    Posts
    682
    Answers
    6
    Vote Rating
    15
    Dumbledore will become famous soon enough

      0  

    Default Answered: Ext.ux.MsgBus necessary in Ext4.1!?

    Answered: Ext.ux.MsgBus necessary in Ext4.1!?


    Hi,

    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?


    Bye, Dumbledore

  2. 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.

Thread Participants: 1