You should be using the Supervising Controller pattern with Ext JS 4
Published on 11/18/2011
You should be using the Supervising Controller pattern with Ext JS 4. Here’s why:
- pure MVC is wrong, as the controller is not allowed to communicate with the view.
- Passive View is wrong, as you can then not take advantage of data binding (think stores in comboboxes and grids)
- it is easily testable
- Martin Fowler recommends it
- Microsoft recommends it in their Application Architecture guides