1. #1
    Sencha User
    Join Date
    May 2010
    Posts
    13
    Vote Rating
    0
    cbox is on a distinguished road

      0  

    Question Many js files in export

    Many js files in export


    Hi,

    I'm using ext designer to speed up the visual part the development and it is a very nice tool to work with.

    When i export from ext designer i get many js files and i was wondering which is the best way to handle all these files.

    Should i manually group my UI's into some single files or is it just fine to have all these js includes?
    If i group them into single files, then ext designer is not able to export directly to the project anymore but if i don't do it i can end up with 100+ js files to include.

    I hope you understand my question.

  2. #2
    Sencha - Desktop Packager Dev Team jarrednicholls's Avatar
    Join Date
    Mar 2007
    Location
    Frederick, MD
    Posts
    1,747
    Vote Rating
    7
    jarrednicholls will become famous soon enough jarrednicholls will become famous soon enough

      0  

    Default


    Sure I understand your question. What we at Sencha do in our own projects is we have all of our JS files independent just as the Designer generates. We use a tool that we built called JSBuilder to compile and compress the files together into a single output file, and that's what we use in "production", but in "development" we have the files loaded independently. See the JSBuilder page for more information and download: http://www.sencha.com/products/jsbuilder/

    So, for your development cycle, you can have the files independent (even if there are 100+, who cares!) and thus re-exportable from the Designer. Then when you go to production, definitely compress them into one file and load just the one file.

    Hope that helps.

  3. #3
    Sencha User
    Join Date
    May 2010
    Posts
    13
    Vote Rating
    0
    cbox is on a distinguished road

      0  

    Default


    Perfect.. Thank you!!

Similar Threads

  1. How do I use the JSON Export
    By Northie in forum Ext Designer: Help & Discussion
    Replies: 8
    Last Post: 27 May 2010, 7:10 PM
  2. Replies: 3
    Last Post: 10 May 2010, 9:10 AM
  3. Replies: 1
    Last Post: 22 Dec 2009, 12:06 AM

Thread Participants: 1