• 读《Ext.JS.4.First.Look》随笔


      Ext JS 4是最大的改革已经取得了Ext框架。这些变化包括一个新类系统,引入一个新的平台,许多API变化和改进,和新组件,如新图表和新画组件。Ext JS 4是更快,更稳定,易于使用。(注意:Ext JS 3和4 Ext JS兼容性)

      ┣ 在Ext JS 4中,每一个类都放在包和命名空间,基于它功能。例如,PagingToolbar、工具栏、垫片和其他工具栏-相关类现在分成新的工具栏包。--API文档只允许搜索类

      ┣ 对于开发和测试,推荐使用ext.js,因为它将只使用所需的Ext JS代码来运行该应用程序,但是,我们不能忘记src文件夹添加到应用程序extjs目录。对于投入生产上线,我们可以使用ext-all.js文件,因为它已经包含整个Ext JS框架和具有良好的性能。

      ┣ There is also a file named bootstrap.js; instead of importing ext-all.js into your HTML page, you can import bootstrap.js. The only thing that

    this file does is import ext-all.js or ext-all-debug.js, depending on the environment you are using. It will load ext-all-debug.js in the following cases:

        • Current hostname is localhost.

        • Current hostname is an IP(v4) address.
        • Current protocol is a file.
        •Otherwise, bootstrap will load the ext-all.js file.

      ┣ The new Ext JS 4 class system   ┄ 类的定义和创建

                          ┄ 混入模式Mixins

                        ┄ 自动加载getters and setters(Automatic getters and setters

                        ┄ Dynamic class loading

                        ┄ Statics

    走在一起是缘分,在一起走是幸福; 在一起走是缘分,走在一起是幸福
  • 相关阅读:
    学习lua(一) 认识了解lua
    Lua For Windows 环境配置及使sciTE支持中文,使用editplus作为编辑工具
    Lua代码实例()
    Lau实例代码(二)
    (转)Nios II的Boot过程分析(I)
    Altera和Xilinx的参考设计资源
    (转)如何在FPGA设计环境中加时序约束
    (转)FPGA时序约束的几种方法
    (转)Nios ii设备管理分析
    (转)Nios II的Boot过程分析(II)
  • 原文地址:https://www.cnblogs.com/tarena/p/3738348.html
Copyright © 2020-2023  润新知