1. #1
    Sencha User
    Join Date
    Jul 2007
    Posts
    50
    Vote Rating
    0
    olakara is on a distinguished road

      0  

    Default Difference and Uses of ext.js files

    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?
    Thanks and Regards,
    Abdel Olakara.
    [ blog : http://technopaper.blogspot.com ]

  2. #2
    Sencha - Community Support Team jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    Frederick MD, NYC, DC
    Posts
    16,337
    Vote Rating
    75
    jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all

      0  

    Default


    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
    Posts
    50
    Vote Rating
    0
    olakara is on a distinguished road

      0  

    Default


    Thanks for the explanations.
    Thanks and Regards,
    Abdel Olakara.
    [ blog : http://technopaper.blogspot.com ]

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 Ext.fly 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

Thread Participants: 1

Tags for this Thread

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar