Results 1 to 3 of 3

Thread: Difference and Uses of ext.js files

  1. #1
    Sencha User
    Join Date
    Jul 2007
    Vote Rating

    Default Difference and Uses of ext.js files

    Hi all,

    Ext JS 4 comes with six js files that can be used to "include" extjs into your web application. Out of these files, few are self explanatory:
    • ext-all-debug.js
    • ext-all-debug-w-comments.js
    • ext-debug.js
    • bootstrap.js

    But my questions are:
    1. What is the difference between ext.js and ext-all.js files?
    2. When to use ext.js and ext-all.js? I know files with debug can be used during development for easy code reading and debugging.
    3. When should you use bootstrap.js?
    4. And how to use bootstrap.js ?

    Can somebody give me some good info on this?

  2. #2
    Sencha User's Avatar
    Join Date
    Mar 2007
    DC Area =)
    Vote Rating


    Here are your answers (I think I know all of them):

    1) ext.js is the foundation, which includes the base Ext JS (core), Observable, Loader and maybe some other things. This is good if you want to dynamically load src code.

    2) Use ext.js for dynamically loading src code, ext-all.js when you want to load the entire Ext JS library at one time. Debugging with ext-all.js is nearly impossible. This is why you want to use ext-all-debug.js Ext-debug.js is an exploded version of ext.js

    3) Bootstrap.js basically allows you to choose between ext-all.js and ext-all-debug.js with ease, as it is self aware of the path that you have loaded it and will inject one of the two ext-all JS files into the head of the document body. I believe it determines if you have ?debug in your URL head and will use ext-all-debug.js instead of ext-all.js

    4) <script type="text/javascript" src="/js/ext4/bootstrap.js"></script> That's it

  3. #3
    Sencha User
    Join Date
    Jul 2007
    Vote Rating


    Thanks for the explanations.

Similar Threads

  1. Replies: 1
    Last Post: 22 Dec 2009, 12:06 AM
  2. Difference ext 2.0 and ext 3.0
    By vgone in forum Ext 3.x: Help & Discussion
    Replies: 0
    Last Post: 4 Dec 2009, 1:47 AM
  3. Difference between Ext JS and Ext GWT
    By Chudomir Delchev in forum Community Discussion
    Replies: 13
    Last Post: 6 Jul 2009, 7:14 AM
  4. difference between and Ext.get
    By chrizmaster in forum Ext 2.x: Help & Discussion
    Replies: 14
    Last Post: 2 Jun 2009, 3:19 AM
  5. Difference between EXT JS 2.0 and GWT-Ext
    By JoomlaMan in forum Ext 2.x: Help & Discussion
    Replies: 3
    Last Post: 13 Mar 2009, 7:05 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts