The Extjs framework is a framework that has been online since 2007, although it is very bloated compared with the current framework. However, it can still play a good effect on the internal reference system of the enterprise. Now I am exposed to Extjs, so I am going to write an introductory framework to briefly introduce Extjs.
The system I am using now is Extjs4.2, other latest systems have not changed much, so I can follow my tutorial.
First try the order of our first environment configuration:
(1) download extjs
(2) create file
(3) to achieve simple Hellow world function.
1 下载Extjs
下载地址:http://extjs.org.cn/download
There are various versions available for download, select the version
Extjs 5 beta download link that suits your needs : http://cdn.sencha.com/ext/beta/ext-5.0.0.736.zip
Extjs 4.2. 1 Download link: http://cdn.sencha.com/ext/gpl/ext-4.2.1-gpl.zip
Extjs 4.0.7 Download link: http://cdn.sencha.io/ext-4.0.7- gpl.zip
Extjs 3.4.0 download link: http://cdn.sencha.com/ext/gpl/ext-3.4.1.1-gpl.zip
Extjs 2.3.0 download link: http://dev.sencha.com/ deploy / ext-2.3.0.zip
There are also commonly used versions here, I downloaded the Extjs 4.2.1 download link: http://cdn.sencha.com/ext/gpl/ext-4.2.1-gpl.zip.
1.1 Address
EXT发布包结构(来自黄灯桥)
adapter目录:放置的是EXT的核心代码和底层库,包括JQuery、Prototype和YUI的适配器;
build目录:放置的是EXT压缩后的代码,经过压缩的代码,体积更小,加载更快;
docs目录:是EXT的文档,其实最主要和最重要的是EXT的API,EXT离不开它;
examples目录:官方的演示示例,是初学者学习EXT的最佳途径之一;
resources目录:是EXT要用到的图片文件和样式文件,EXT绚丽的外观全部由这个目录中的文件所控制;
source目录:是EXT的源码文件,也就是相对build目录而言,未经过压缩的代码;
CHANGES.html文件:版本修正的列表文件;
ext-all.js文件:EXT的核心库,是必须引入的;
ext-all-debug.js文件:是ext-all.js的调试版,在调试时需要使用到调试版;
ext-core.js文件:EXT的核心库,是必须引入的;
ext-core-debug.js文件:是ext-core.js的调试版;
INCLUDE_ORDER.txt文件:说明了在页面上引入底层库的Java Script文件的顺序;
LICENSE.txt文件:是EXT的使用许可文件。