Deep Learning ExtJS4.2 (1), deep learning extjs4.2

Source: Internet
Author: User

Deep Learning ExtJS4.2 (1), deep learning extjs4.2

I have been in contact with ExtJS4.2 for some time. I think it is still a good JS library, although it is a little larger. Now I want to review and learn about the APIS provided on the official website based on my own cognition.

First, let's talk about the Dynamic Loading Function in ExtJS4.2. Because the one-time introduction of the 1.4MB ext-all.js file in the HTML file is a little too big (I'm afraid this is why General small WEB programs do not use it ), therefore, consider using the Dynamic Loading function. Let's test this function and debug it with FireBug. First, let's take a look at my code.

You can see ext-all-debug.js and ext-debug.js in the directory on the right. I reference the ext-debug.js here, which is not all of the EXT core components, but this file can guide us to get the required EXT class. My app. js code is as follows:

It can be seen that when JS parsing here, first will go to the ext-debug.js to read Ext. define the application class, and then go to src/app/Application. js then reads more specific information about this class. However, this dynamic loading mode is not very good either,

Let's take a look at FIREBUG. The result is the best proof. We can see that although we only load one Application, it is associated with so many things .. Okay, let's just reference the ext-all.js in the future.


Which of the following can share the Extjs42 Chinese API?

It seems that there is no API document in CHM format.

It is best to check the official website's API, which has been upgraded to 5.0:
Docs.sencha.com/extjs/5.0.0/
Docs.sencha.com/extjs/4.2.2/
Docs.sencha.com/extjs/4.2.1/

There is a Chinese API webpage:
Extjs-doc-cn.github.io/ext4api/


Hello, please send me a copy (for more information, see Extjs411 (ExtJS component, ExtJS support for Ajax, ExtJS layout ).

Sorry, I don't have this resource here. You can search for it from the Internet, as if it was for money.
 

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.