nealbrandi
19 Feb 2012, 11:22 AM
I'm building a relatively complex client MVC application with multiple primary pages. The wire frames define an Apple (http://www.apple.com) like menu that enables navigation to each primary page in the app and features 2 specialty views: search and user state (login or identity and logout).
I believe the majority of the navigation behavior is realized in Ext JS 4 as a Tab Panel. My initial thought is to extend Tab Panel to allow specification of my own custom tab bar or tool bar and buttons. I'd need to build custom themes for each part (i.e. x.navigation-button as a sass template). This structure would enable me to override the styles to account for positional variations like border-radius for the first and last components. After reading a lot of documentation and forum postings I have the following questions:
Is my intuition correct, is a Tab Panel extension is the correct approach or should I build totally new component? Or this there a better approach?
For the bar component, which is preferred, a Tool Bar or aTab Bar and why?
Can a custom theme be defined for a Tab Bar?
Any advice and / or pointers to articles, tutorials or reference code is great appreciated. Thanks.
I believe the majority of the navigation behavior is realized in Ext JS 4 as a Tab Panel. My initial thought is to extend Tab Panel to allow specification of my own custom tab bar or tool bar and buttons. I'd need to build custom themes for each part (i.e. x.navigation-button as a sass template). This structure would enable me to override the styles to account for positional variations like border-radius for the first and last components. After reading a lot of documentation and forum postings I have the following questions:
Is my intuition correct, is a Tab Panel extension is the correct approach or should I build totally new component? Or this there a better approach?
For the bar component, which is preferred, a Tool Bar or aTab Bar and why?
Can a custom theme be defined for a Tab Bar?
Any advice and / or pointers to articles, tutorials or reference code is great appreciated. Thanks.