官术网_书友最值得收藏!

Chapter 2. The Core Concepts

In this chapter, you're going to learn about the class system, which was first introduced in Ext JS version 4. You are also going to learn how to load classes dynamically and how to interact with the Document Object Model (DOM) to modify the structure of the DOM tree for our convenience.

You should know that JavaScript is classless (prototype-oriented); however, we can emulate it using the prototype object and other techniques. One of the major features of Ext JS is that since version 4, all the code in the framework was developed with a class-based structure. Along with naming conventions, it's easy to learn and understand, and keep the code organized, structured, and easy to maintain.

Knowing and understanding the concept of the Object-Oriented Programming System (OOPS) is very important. This book may not be a focused guide on the concept of OOPS, but you are going to learn how we can use and implement this concept in Ext JS.

The following are the main topics in this chapter, which you need to understand well before moving on to other parts of the library:

  • The class system
  • Loading classes on demand
  • Working with the DOM
主站蜘蛛池模板: 巴马| 思南县| 泸溪县| 清丰县| 金寨县| 乳山市| 平潭县| 墨脱县| 南澳县| 闽清县| 深泽县| 华容县| 长沙县| 霍林郭勒市| 武宁县| 大丰市| 洛扎县| 长乐市| 黄梅县| 清苑县| 溧阳市| 石家庄市| 泸州市| 克拉玛依市| 瑞金市| 卓尼县| 海丰县| 方山县| 西城区| 甘洛县| 泽库县| 巨鹿县| 奈曼旗| 滨海县| 阿城市| 万山特区| 恭城| 朔州市| 长岭县| 通榆县| 佳木斯市|