1. #1
    Sencha User
    Join Date
    Mar 2011
    Posts
    81
    Vote Rating
    0
    sarah_77 is on a distinguished road

      0  

    Default MVC structure and views in index page

    MVC structure and views in index page


    Hi! I'd like to know the best way for don't load all views in my index.html page.

    Is there a solution in ST2 for manage this problem??
    If I've 10 views, do I've to load all 10 view in index.html page?

    Thanks

  2. #2
    Sencha - Sencha Touch Dev Team rdougan's Avatar
    Join Date
    Oct 2008
    Posts
    1,158
    Vote Rating
    6
    rdougan will become famous soon enough

      0  

    Default


    If you mean loading the files, that is not an issue. You should use our SDK Tools to build a compressed version of your application.

    If you mean having all the views rendered at the same time (for example, 10 views in a card layout), then perhaps you could dynamically add them using the Ext.Container.add method.
    Sencha Inc.
    Robert Dougan - @rdougan
    Sencha Touch 2 and Ext JS 4 Core Team Member, SASS/Theming Wizard.

  3. #3
    Sencha User
    Join Date
    Mar 2011
    Posts
    81
    Vote Rating
    0
    sarah_77 is on a distinguished road

      0  

    Default


    I mean this, suppose that my app has 20 views (list pages, details pages, about page .... etc)

    In ST1 I've to include all these view in index.html; I think that this make app slow because all pages are loaded in index.html

    In ST2 is it the same?

    Thanks

Thread Participants: 1

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..."