Understanding the DOM - Document Object Model

简介:
JavaScript是事实上的web编程语言,但该语言本身不包括任何用于处理输入/输出 (I/O) 的内置方法,例如图形显示和声音。相反,web浏览器提供用于访问被称为文档对象模型 (DOM) 的树结构中的HTML文档的API。JavaScript和DOM的结合使我们能够创建交互式的动态网站。许多现代框架,如React、Vue和Svelte,从开发人员那里抽象出了大部分DOM,但框架也在底层使用DOM。JavaScript库jQuery也是为了使DOM的工作更容易而创建的,但是现代的开发实践是直接使用DOM。为了成为一名熟练的web开发人员,必须深入了解DOM是什么以及如何使用它。本书的目的是提供对DOM的基本理解,并探索与DOM交互的最常见和最有用的方法的示例。
英文简介:
JavaScript is the de facto programming language of the web, but the language itself does not include any built-in method for working with input/output (I/O), such as graphics display and sound. Instead, the web browser provides an API for accessing the HTML document in a tree structure known as the Document Object Model (DOM). The combination of JavaScript and the DOM is what allows us to create interactive, dynamic websites.
Many modern frameworks, such as React, Vue, and Svelte abstract away much of the DOM from the developer, but frameworks also use the DOM under the hood. The JavaScript library jQuery was also created to make working with the DOM easier, but the modern development practice is to work with the DOM directly.
In order to be a proficient web developer, having a deep understanding of what the DOM is and how to work with it is essential. The goal of this book is to provide a base understanding of the DOM, as well as explore examples of the most common and useful methods for interacting with the DOM.
- 书名
- Understanding the DOM - Document Object Model
- 译名
- 理解 DOM - 文档对象模型
- 语言
- 英语
- 年份
- 2020
- 页数
- 126页
- 大小
- 3.33 MB
- 下载
Understanding the DOM - Document Object Model.pdf
- 密码
- 65536
最后更新:2025-04-12 23:57:37