I believe you have learned the charm of ExtJs. How can you apply ExtJS? To use ExtJS, you must first obtain the ExtJS library file. The ExtJS library file can be downloaded from the ExtJS official website.
Adapter: maps the third-party underlying libraries (including the underlying libraries provided by Ext) to the underlying libraries supported by Ext.
Build: All the compressed ext Source Code (which is classified and stored ).
Docs: API help documentation.
Exmaples: provides small instances made using ExtJs technology.
Resources: Ext UI resource file directory, where CSS and image files are stored.
Source: all source code without compression Ext (which is classified for storage) complies with the Lesser GNU (LGPL) Open source protocol.
Ext-all.js: Compressed Ext all source code.
Ext-all-debug.js: Uncompressed Ext all source code (for debugging ).
Ext-core.js: the core components of the compressed Ext, including all classes under sources/core.
Ext-core-debug.js: core Components Without compressing Ext, including all classes under sources/core.
After obtaining the ExtJS library file, you can apply extjs to the page. The Application of extjs needs to introduce extjs style and extjs library file in the page, the style file is resources/css/ext-all.css, extjs js library file mainly contains two, adapter/ext/ext-base.js and ext-all.js, where ext-base.js represents the framework base library, ext-all.js is the core library of extjs. Adapter represents the adapter, that is, there can be a variety of adapters, so you can change adapter/ext/ext-base.js to adapter/jquery/ext-jquery-adapter.js, or adapter/prototype/ext-prototype-adapter. js and so on.
Therefore, pages that use the ExtJS framework generally include the following:
After the ExtJS library file and page content are loaded, ExtJS will execute Ext. the functions specified in onReady can be used. Generally, each user's ExtJS application is from Ext. from onReady, the code for using the ExtJS application is roughly as follows: