PDA

View Full Version : If ext can run without its own core library



liangxingyuan
18 May 2009, 9:43 PM
Moreover, what's the exactly relation ship between core library and adapter?
Do some components in core library must depend on adapter?

Thanks a lot!

liangxingyuan
19 May 2009, 12:35 AM
Who knows who knows?~~~~~

tryanDLS
19 May 2009, 8:15 AM
Please stop bumping your threads. You must use one of the adapters (preferably the Ext base one). From the 2.x include-order.txt file, which hasn't made it to the 3.0 package yet.


All adapter related files below are located in
/adapters/<lib name>/ of this zip file.

Your include order should be:

Ext Stand-alone
-------------------------------------------------------------------
ext-base.js
ext-all.js (or your choice of files)


Yahoo! UI (.12+)
-------------------------------------------------------------------
yui-utilities.js
ext-yui-adapter.js
ext-all.js (or your choice of files)


jQuery (1.1+)
-------------------------------------------------------------------
jquery.js
ext-jquery-adapter.js
ext-all.js (or your choice of files)


Prototype (1.5+) / Scriptaculous (1.7+)
-------------------------------------------------------------------
prototype.js
scriptaculous.js?load=effects (or whatever you want to load)
ext-prototype-adapter.js
ext-all.js (or your choice of files)



See the examples folders for more examples.

liangxingyuan
19 May 2009, 5:44 PM
What about my first question?
If ExtJs can run without its own core library(Ext.Core).

mjlecomte
19 May 2009, 8:34 PM
Take a look at the demos, none of them have the core library. Core is a separate build.

liangxingyuan
20 May 2009, 4:56 PM
I think this's because the Ext has build ext.core into ext-all.js file.
Meanwhile, it just provide us the separate ext-core.js to let us can use only ext.core without other features which depending on our requirement.