extjs3.0 源代码研究 (序)

前端之家收集整理的这篇文章主要介绍了extjs3.0 源代码研究 (序)前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

1.文件加载顺序

dojo有build.txt文件表明各个文件的加载顺序,js然后自动加载css.

而extjs是完全一次性加载所有的控件的,js的加载顺序见ext-3.0-rc1/source/ext.jsb,css加载顺序为/ext-3.0-rc1/resources/resources.jsb

2.不用iframe的方法:如果用.autoLoad url:‘filepath.jsp’ filepath.jsp可以不用加载 ext-all.js.

3.CDN:

. If you needed to use a build with no grid or tree support you would just paste the following:

For those of you that need the complete library and use ext-all.js and ext-all.css we have those available as well.
 
 
 
参考:
1.http://extjs.com/learn/Manual:Intro
2.http://extjs.com/learn/Tutorials
3.http://extjs.com/learn/Manual:Resources
原文链接:https://www.f2er.com/dojo/291849.html

猜你在找的Dojo相关文章