PDA

View Full Version : Usage of ext-core ?



danleepw
15 Nov 2007, 7:35 PM
Hi all,

the documentation said that we have to include "ext-all.js" in the html file. How about ext-core .js ? do we need this file and what is its function ?

tryanDLS
15 Nov 2007, 7:42 PM
Ext-core is combined with the various adapter source files to create the compressed files in the adapter folders. It is not included on it's own.

danleepw
15 Nov 2007, 7:53 PM
Hi Tim,

Thanks for your reply. However I still don't understand the usage of the ext-core.js. We don't need to include it. So which file will use the ext-core.js ? Do you mind to give me some example s?

BernardChhun
15 Nov 2007, 8:12 PM
I mainly use the ext core file for the following:


DomQuery
Templates
Managing events on DOM nodes
making a simple XHR call
using effects on DOM nodes

tryanDLS
15 Nov 2007, 8:16 PM
Actually I said that wrong. ext-core is combined into ext-all. It's the combination of the files in source\core which are some of the major core classes. If you want to know more about them, refer to the API doc. Each of the core classes is covered.