1. #1
    Sencha User
    Join Date
    Dec 2007
    Posts
    167
    Vote Rating
    0
    hello2008 is on a distinguished road

      0  

    Default Unanswered: Ext.Loader, examples?

    Unanswered: Ext.Loader, examples?


    looks like Ext.Loader is added into ExtCore when ext 3.3.0 beta is out, but nothing mentioned about this new feature? I need several examples to get familiar with this function.

  2. #2
    Sencha User 44gatti's Avatar
    Join Date
    Jul 2009
    Location
    Somew(h)ere in Rome
    Posts
    26
    Vote Rating
    0
    44gatti is on a distinguished road

      0  

    Thumbs up Ext.Loader..

    Ext.Loader..


    It seems a beta feature for now.
    I use Lab.js. (nonblocking JavaScript loading library)
    http://labjs.com/documentation.php
    try this!

    Examples:
    PHP Code:
    //import script
    <script type="text/javascript" src="js/path/LAB.js"></script>
    //1:
    $LAB.script("js/path/1.js").wait(this.yourcallback.createDelegate(this));

    //2:
    $LAB.setOptions({AlwaysPreserveOrder:true,BasePath:"js/path/"})
                            .script("1.js","2.js","3.js") //parallel loading, not preserve order
                            .script("4.js") //wait for 1,2,3 loading completion then load 4 
                            .script("5.js") //wait for 1,2,3.js 4.js completion thsn load 5
                            .script("6.js","7.js")//wait .. completion and parallel loading of 6,7
                            .wait(yourcallback);
    ... 
    I Hope this helps.

  3. #3
    Sencha User
    Join Date
    Dec 2007
    Posts
    167
    Vote Rating
    0
    hello2008 is on a distinguished road

      0  

    Default


    @44gatti
    thanks, LABjs is so cool, I will look into it

  4. #4
    Sencha User 44gatti's Avatar
    Join Date
    Jul 2009
    Location
    Somew(h)ere in Rome
    Posts
    26
    Vote Rating
    0
    44gatti is on a distinguished road

      0  

    Default


    thanks to Kyle Simpson (author) and Nikolas Zakas (YUI) books ..

  5. #5
    Sencha User ashaihullin's Avatar
    Join Date
    Jan 2010
    Location
    Kyrgyzstan, Bishkek
    Posts
    67
    Vote Rating
    0
    ashaihullin is on a distinguished road

      0  

    Default


    yep, LAB works fine...

  6. #6
    Sencha User 44gatti's Avatar
    Join Date
    Jul 2009
    Location
    Somew(h)ere in Rome
    Posts
    26
    Vote Rating
    0
    44gatti is on a distinguished road

      0  

    Default


    Only a simple note, in many cases debugging dinamically loaded files with Lab.js it's not the same as debugging static loaded files.
    I suggest to wrap the loading statements in a try /catch block to catch exceptions.

  7. #7
    Sencha User
    Join Date
    Dec 2007
    Posts
    167
    Vote Rating
    0
    hello2008 is on a distinguished road

      0  

    Default


    thanks for your helpful note

  8. #8
    Sencha User 44gatti's Avatar
    Join Date
    Jul 2009
    Location
    Somew(h)ere in Rome
    Posts
    26
    Vote Rating
    0
    44gatti is on a distinguished road

      0  

    Default Load CSS and JS with Dominoes

    Load CSS and JS with Dominoes


    Kyle Simpson (alias Getify) suggests me Dominoes for load JS and CSS.
    http://code.google.com/p/javascript-dominoes/
    It has been specifically tested with:
    • Internet Explorer 8
    • Firefox 3.5
    • Safari 4
    • Chrome 3
    • Opera 9
    I'll take a look!

    Other libraries-->
    http://github.com/rgrove/lazyload/
    http://developer.yahoo.com/yui/get/

  9. #9
    Sencha User
    Join Date
    Dec 2007
    Posts
    167
    Vote Rating
    0
    hello2008 is on a distinguished road

      0  

    Default


    cool, thanks for your links, you always give us good resources

Similar Threads

  1. Ext.Loader
    By faktum in forum Ext 3.x: Help & Discussion
    Replies: 2
    Last Post: 17 Aug 2010, 1:37 AM
  2. [CLOSED] Ext.Loader (3.2.1)
    By bmatasar in forum Ext 3.x: Bugs
    Replies: 1
    Last Post: 4 Jun 2010, 9:55 AM

Thread Participants: 2

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..." hd porno faketaxi