1. #1
    Sencha User bkraut's Avatar
    Join Date
    Nov 2007
    Location
    Maribor, Slovenia
    Posts
    402
    Vote Rating
    1
    bkraut is on a distinguished road

      0  

    Default Large web applications

    Large web applications


    I'm wandering if anyone has experience how to minimize the load time in very large applications build with extjs? How all js are incuded (are they included on demand or all at the same time? Load time?)

    Bojan

  2. #2
    Ext User
    Join Date
    Jul 2007
    Location
    Florida
    Posts
    9,996
    Vote Rating
    6
    mjlecomte will become famous soon enough mjlecomte will become famous soon enough

      0  

    Default


    With google search you might try terms: minify, concatenate

  3. #3
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Notts/Redwood City
    Posts
    30,544
    Vote Rating
    64
    Animal is a jewel in the rough Animal is a jewel in the rough Animal is a jewel in the rough

      0  

    Default


    and gzip

  4. #4
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,246
    Vote Rating
    97
    Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of

      0  

    Default


    Also read Tutorial:Building Ext From Source (covers everything except gzip).

  5. #5
    Sencha User bkraut's Avatar
    Join Date
    Nov 2007
    Location
    Maribor, Slovenia
    Posts
    402
    Vote Rating
    1
    bkraut is on a distinguished road

      0  

    Default


    Ok. I know all of this. I found also a pearl script that builds all js that are used into a single js.

    Also know how to build my own ext.js. My application uses a lot of functionality of standard ext classes. But I'd like to know how to use extjs when you build a system with 5000 predefined classes. How to load them? Even if this is one file and minified it is big.

    Is there an option to load classes dynamically - maybe with help of a central class register and Jaxer?

  6. #6
    Ext User
    Join Date
    Jul 2007
    Location
    Florida
    Posts
    9,996
    Vote Rating
    6
    mjlecomte will become famous soon enough mjlecomte will become famous soon enough

      0  

    Default


    Well, if you know all that, maybe be more specific so someone can help you more specifically.

    Maybe you want Ext.ux.Plugin.RemoteComponent

  7. #7
    Ext User
    Join Date
    Jul 2007
    Posts
    3,128
    Vote Rating
    0
    devnull has a little shameless behaviour in the past

      0  

    Default


    There are also starting to be some experimental steps taken towards implementing an automated on-demand library loading system. JScout is one, I know I have seen at least one other discussed.

  8. #8
    Ext User
    Join Date
    Jul 2007
    Location
    Florida
    Posts
    9,996
    Vote Rating
    6
    mjlecomte will become famous soon enough mjlecomte will become famous soon enough

      0  

    Default


    Oh, reminds me, I think Doug had some plans to implement something also. Search his extensions?

  9. #9
    Sencha User bkraut's Avatar
    Join Date
    Nov 2007
    Location
    Maribor, Slovenia
    Posts
    402
    Vote Rating
    1
    bkraut is on a distinguished road

      0  

    Default


    Great. RemoteComponent fits just perfect.
    Thanks for mentioning.