1 May 2011 10:12 PM #1
Difference and Uses of ext.js files
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:
But my questions are:
- What is the difference between ext.js and ext-all.js files?
- 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.
- When should you use bootstrap.js?
- And how to use bootstrap.js ?
Can somebody give me some good info on this?
2 May 2011 3:36 AM #2
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
2 May 2011 9:13 PM #3
By makana in forum Ext.air for Adobe AIRReplies: 1Last Post: 22 Dec 2009, 12:06 AM
By vgone in forum Ext 3.x: Help & DiscussionReplies: 0Last Post: 4 Dec 2009, 1:47 AM
By Chudomir Delchev in forum Community DiscussionReplies: 13Last Post: 6 Jul 2009, 7:14 AM
By chrizmaster in forum Ext 2.x: Help & DiscussionReplies: 14Last Post: 2 Jun 2009, 3:19 AM
By JoomlaMan in forum Ext 2.x: Help & DiscussionReplies: 3Last Post: 13 Mar 2009, 7:05 AM