ExtJS learning topic (I) How to Apply ExtJS (with examples) _ extjs

Source: Internet
Author: User
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:

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.