About EXT opening

Introduction to ExtJS

Ext is an Ajax framework for creating rich and colorful web application program interfaces on the client side, and is developed on the basis of Yahoo! UI. Official website: www.sencha.com

ExtJS is a JS framework used to develop front-end application program interfaces. It draws on ideas such as Swing and provides a complete set of component libraries and powerful ajax support functions. Ext can be used to develop Ajax-based Rich client applications.

ExtJS features:

use standard W3C technology;
huge component model and control library;
rich and gorgeous interface elements;
powerful and practical tool packaging; open source
GPL ; //www.sencha.com/products/extjs/download?page=a (2) Copy the Ext development package to the /WebRoot directory of the Myeclipse project Note : It is not necessary to import the entire Ext development package, which can easily cause Myeclipse to get stuck Die, because Myeclipse will automatically detect the legality of js, which will take up a lot of detection time, cpu and memory. Usually, ordinary development only needs to use the \extjs-4.1.0\resources file package and \extjs-4.1.0\ext-all.js, and the Chinese culture is required to import \extjs-4.1.0\ locale\ext-lang-zh_CN.js is enough (3) Introduce the ext library file through the <script> tag in the web page. (note the order of introduction)













<link rel="stylesheet" style="text/css" href="extjs-4.1.0/resources/css/ext-all.css"></link> // import style file <script type="text

/ javascript" src="extjs-4.1.0/ext-all.js"></script> // Introduce ext core components and drivers

<script type="text/javascript" src="ext-4.0.1/locale/ ext-lang-zh_CN.js"></script> // Chinese culture

(4) Call Ext.onReady() to initialize the component library

<script>
Ext.onReady(function(){
…///Create and use here ext control
});
</script>
Note: Since Myeclipse takes up a lot of resources, you can refer to my other blog post "Myeclipse Optimization" for simplification, otherwise the development of ExtJS will be very slow.





Guess you like

Origin blog.csdn.net/hu_xinxin/article/details/9454833