Extjs learning notes (1) Basic knowledge _ extjs

Source: Internet
Author: User
I believe that many people have a big idea about client-side programming using js. In fact, there are already many excellent js libraries that can greatly simplify the workload of js programming, jquery and extjs are two excellent js libraries. I have used jquery frequently in projects. This time I mainly learned how to use extjs, but the existing tutorials are basically for 2.0, and the background language is rarely used. net platform C #, so I plan to use C # In the background for version 3.0, record my learning process, and hope to discuss and make progress together with like-minded friends.
Extjs official website is http://www.extjs.com, the current highest version is 3.0.2, but only 3.0.0 without any download restrictions, you can click here to download version 3.0. The downloaded package contains the compressed extjs library, the library used for debugging, and readable source code, documents, and examples. Before you start, take a look at the examples in the examples folder and have a perceptual knowledge of extjs, let's start extjs's learning journey together.
First clarify the files we need to reference, including adpter/ext/ext-base-debug.js, ext-all-debug.js and the entire resource folder, of course, in most cases, we also need ext-lang-zh_CN.js for Chinese localization, the file is in the src/locale directory. Because it is a learning phase, we use the debug version. In actual projects, we need to use the compressed version for release to reduce the file size. Next, we start our first Hello world Program with a consistent tradition in the programming world.
Create a new one, change the file name to hello.htm, open it in a text editor, and write the following code:

Hello.htm

The Code is as follows:





Extjs hello world dialog

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.