Hybrid View

  1. #1
    Ext JS Premium Member
    Join Date
    Mar 2011
    Posts
    30
    Vote Rating
    0
    pstapley is on a distinguished road

      0  

    Default Design Question

    Design Question


    I am fairly new to Ext JS, I have been messing around with it for a few months off and on and I have a design question. I have a viewport, the north panel is plain HTML, just a banner with the company logo. The west panel contains some links, basically a navigation bar. The center panel is where all the action will happen, grids, forms etc. Am I thinking correctly that when I load that app I will load all the center panels with only one of them visible? Then when a user clicks on a link in the west panel I will hide the currently visible panel and show the appropriate hidden panel? I appreciate the assistance, I am second guessing myself and I am not sure this is the best way.

  2. #2
    Sencha User MiamiCoder's Avatar
    Join Date
    Mar 2009
    Location
    Miami, FL
    Posts
    140
    Vote Rating
    2
    MiamiCoder is on a distinguished road

      0  

    Default


    There are many approaches that you can take and it is difficult to be specific without knowing your application in detail. In general, at first you want to load just the components that are needed for the app to start, and dynamically load the rest of the components as they are needed.

  3. #3
    Ext JS Premium Member
    Join Date
    Apr 2010
    Location
    Montréal, Canada
    Posts
    218
    Vote Rating
    5
    Christiand is on a distinguished road

      0  

    Default


    For our app, I use a card layout and load only the 1st item (default load). When user click on something to change the center view, I look into my card layout if the view exist. If true i set the card active otherwise I create the new view and add it to the card layout then set it active.

  4. #4
    Sencha User
    Join Date
    Feb 2011
    Posts
    28
    Vote Rating
    0
    optiplex is on a distinguished road

      0  

    Default


    good. i appreciate your helpful post and say thanks.
    The Game is Over

Similar Threads

  1. Design question
    By chrizmaster in forum Sencha Touch 1.x: Discussion
    Replies: 7
    Last Post: 29 Mar 2011, 6:38 PM
  2. Design Question
    By gp40 in forum Sencha Touch 1.x: Discussion
    Replies: 0
    Last Post: 12 Jan 2011, 6:38 PM
  3. OOP Design Question
    By brookd in forum Ext 2.x: Help & Discussion
    Replies: 0
    Last Post: 27 Nov 2007, 7:55 AM
  4. Ext DragDrop design question
    By sjivan in forum Community Discussion
    Replies: 0
    Last Post: 18 Sep 2007, 5:24 PM
  5. Ext Application design question
    By JorisA in forum Ext 1.x: Help & Discussion
    Replies: 15
    Last Post: 21 May 2007, 4:53 PM

Thread Participants: 3

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar