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

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
主站蜘蛛池模板: 汶上县| 新化县| 固阳县| 新邵县| 深州市| 大英县| 景东| 灵璧县| 榆树市| 水富县| 嵊州市| 独山县| 鄂托克旗| 平果县| 精河县| 德清县| 常德市| 庆阳市| 任丘市| 福泉市| 双桥区| 绥德县| 南澳县| 新蔡县| 招远市| 广东省| 长汀县| 三明市| 东明县| 信宜市| 莱西市| 定南县| 呼伦贝尔市| 宣汉县| 尼玛县| 东方市| 靖西县| 子洲县| 夏邑县| 贡山| 上饶县|