whalethewise
15 Aug 2011, 12:43 PM
Hi
I am very new with ExtJS and my question is about App structure recommended when using ExtJS 4.
I have header with menu that switches between different modules (pretty much constant).
Footer with some info (constant).
And middle part where modules are executed.
Each module is quite complicated thing and my question is what would be the best way to dynamically load/unload module from the middle
I was thinking to create viewport with border layout and add Header to north and Footer to south. But I am stuck on what to do when I select module. Will it be better to reload new page with the same structure, recreate the same Header and Footer and load new MainModule class or may be there is a better way to unload Components from 'center', destroy classes and load new chunk?
Thanks
I am very new with ExtJS and my question is about App structure recommended when using ExtJS 4.
I have header with menu that switches between different modules (pretty much constant).
Footer with some info (constant).
And middle part where modules are executed.
Each module is quite complicated thing and my question is what would be the best way to dynamically load/unload module from the middle
I was thinking to create viewport with border layout and add Header to north and Footer to south. But I am stuck on what to do when I select module. Will it be better to reload new page with the same structure, recreate the same Header and Footer and load new MainModule class or may be there is a better way to unload Components from 'center', destroy classes and load new chunk?
Thanks