The Way of JavaScript Cultivation
Tags
Summary
Editor's review
Who it's for
A good fit for
- Intermediate developers with a grasp of basic JavaScript syntax who want to systematically deepen their understanding of the language's core principles
- Front-end engineers who encounter design pattern, code organization, or performance issues in projects and are looking for best practices and solutions
- Tech leads or architects who want to improve team development efficiency from a front-end engineering perspective (such as build, testing, and collaboration)
- Developers with some experience but a fragmented knowledge base who want to rebuild a complete understanding of JavaScript and modern front-end development
Not a good fit for
- Absolute beginners with no programming background who want to learn JavaScript from scratch
- Readers who only need a quick reference for a specific API or an introductory framework guide and are looking for a lookup manual
Reading tips
- Reading in chapter order is recommended, with particular attention to the "Cultivation Summary" and "Reflection Questions" at the end of each chapter, which help consolidate and deepen understanding
- When reading the engineering practice content in Part II, it is best to pair it with a personal or work project for comparison and practice, putting the book's patterns into application
- The book is information-dense, so there is no need to finish it in one sitting. A combination of close reading and skimming works well: focus on weaker areas first, then read through to build connections
About the publisher
Posts & Telecom Press is known for its strengths in science and technology, computing, and information and communications titles, and has extended its publishing into photography, art, software learning, and inspirational growth, giving it a fairly diverse range. Its catalog includes computing and communications works such as Refactoring and Patterns (Revised Edition) and Huawei Switch Learning Guide (Second Edition), alongside bilingual collector's editions such as The Little Prince (Chinese-English-French illustrated collector's edition), The Great Gatsby, and Three Days to See. Beijing Ten Years: 1980-1990 and Ghost Blade: WLOP Personal Illustration Collection reflect its presence in photography and art. Its authors include Antoine de Saint-Exupéry, Helen Keller, Joshua Kerievsky, Wang Da, Zhang Zhaozeng, and WLOP.
Contents
- 版权信息
- 内容提要
- 序言
- 第1章 JavaScript入门
- 1.1 JavaScript概述
- 1.2 JavaScript代码的调试方法
- 1.3 第一个JavaScript实例
- 1.4 标识符、关键字和保留字
- 1.5 直接量
- 1.6 变量
- 1.7 数据类型
- 1.8 表达式和运算符
- 1.9 语句
- 1.10 在网页中嵌入JavaScript代码
- 练习题
- 第2章 Array及JSON
- 2.1 Array数组及其在图片切换中的应用
- 2.2 JSON
- 练习题
- 第3章 使用JavaScript操作属性及元素内容
- 3.1 使用JavaScript操作元素属性及样式属性
- 3.2 使用classList属性操作类属性
- 3.3 使用cssText属性设置或修改元素行内样式
- 3.4 使用getComputedStyle()和currentStyle获取样式
- 3.5 使用innerHTML属性访问或设置元素内容
- 3.6 自定义属性及其在图片切换中的应用
- 练习题
- 第4章 JavaScript函数
- 4.1 函数定义
- 4.2 return语句详解
- 4.3 函数调用
- 4.4 arguments实参集合对象
- 4.5 使用函数封装图片切换代码及函数传参实例
- 4.6 闭包
- 4.7 this指向及this的应用
- 4.8 内置函数
- 练习题
- 第5章 定时器、Math对象及Date对象
- 5.1 定时器
- 5.2 Math对象
- 5.3 Date对象的创建及其常用方法
- 5.4 使用定时器、Date对象和Math对象实现倒计时效果
- 练习题
- 第6章 字符串
- 6.1 字符串概述
- 6.2 操作字符:charAt()、charCodeAt()和fromCharCode()
- 6.3 字符搜索方法:indexOf()和lastIndexOf()
- 6.4 截取字符串方法:substring()、substr()和slice()
- 6.5 分割字符串方法:split()
- 6.6 字符串大小写转换及字符串的比较
- 练习题
- 第7章 使用HTML DOM对象操作HTML文档
- 7.1 HTML DOM概述
- 7.2 节点类型
- 7.3 使用HTML DOM访问HTML文档
- 7.4 使用DOM创建、插入、修改和删除节点
- 7.5 使用HTML DOM克隆节点
- 7.6 使用HTML DOM操作表单
- 7.7 使用HTML DOM操作表格
- 练习题
- 第8章 BOM对象
- 8.1 BOM结构
- 8.2 window对象
- 8.3 navigator对象
- 8.4 location对象
- 8.5 history对象
- 8.6 screen对象
- 练习题
- 第9章 事件处理
- 9.1 事件处理概述
- 9.2 事件处理程序的绑定
- 9.3 事件对象
- 9.4 事件流
- 9.5 绑定事件的取消
- 9.6 事件默认行为的取消
- 9.7 使用oncontextmenu事件自定义上下文菜单
- 9.8 焦点事件
- 9.9 键盘事件
- 9.10 鼠标拖曳事件
- 9.11 鼠标滚轮事件
- 练习题
- 第10章 使用正则表达式进行模式匹配
- 10.1 模式匹配的引出:找出字符串中的所有数字
- 10.2 正则表达式的定义
- 10.3 使用RegExp对象进行模式匹配
- 10.4 使用string对象的模式匹配方法进行匹配
- 练习题
- 第11章 JavaScript面向对象及组件开发
- 11.1 JavaScript面向对象编程概述
- 11.2 JavaScript对象的创建
- 11.3 对象属性和方法的访问方式
- 11.4 原型链
- 11.5 使用面向对象方式编写选项卡
- 11.6 包装对象
- 11.7 toString()和valueOf()
- 11.8 JavaScript对象的继承
- 11.9 JavaScript组件开发
- 练习题
- 第12章 Ajax编程
- 12.1 XMLHttpRequest对象
- 12.2 使用Ajax实现瀑布流布局
- 12.3 使用Ajax开发留言本
- 12.4 使用JSONP解决Ajax跨域问题
- 练习题
- 第13章 JavaScript项目实战——云盘
- 13.1 项目结构
- 13.2 数据结构
- 13.3 视图渲染
- 13.4 三大区域视图切换
- 13.5 新建文件夹
- 13.6 文件夹的右键菜单
- 13.7 文件夹的选中及批量操作
- 练习题
FAQ
How does this book differ from Professional JavaScript for Web Developers (the "Red Book")?
Are the technology stack and examples in the book outdated?
Does this book help with learning frameworks like Vue/React?
Related on WeRead
Comments
Find this book
This site is an index: you start “Search all sources” in your browser, and the entries it lists all point to third-party sites; please judge their availability yourself.
About the author
Nie Changhong is a Chinese author in the field of computer technology and front-end development. Publicly available information about her is limited, and details of her personal life remain unclear. Judging from the four works held in the library, her writing focuses on front-end development and programming design, covering the JavaScript language as well as the combined use of HTML, CSS, and JavaScript. Her representative works include JavaScript Cultivation Path and HTML+CSS+JavaScript Web Front-End Development Technology, along with Front-End HTML+CSS Cultivation Path (Video Synchronization + Live Streaming). These titles suggest that she attends to foundational Web front-end technologies and hands-on training, emphasizing the integration of language knowledge, page structure, and style design. Her works are often classified under programming design and computer science, and are suitable for readers who wish to study front-end development systematically.
Liu Wei is an author whose works span a wide range of fields, though limited public information is available about his personal background, including his dates of birth and death, nationality, and education. Judging from the 59 works included in the collection, his writing interests cover culture, social sciences, foreign literature, management, politics, and finance. Among his representative works, Twelve Lectures on Chinese Civilization and The Way of Vessels: A History of Chinese Tea Ware Civilization reflect his attention to traditional culture and the beauty of objects, while A Peking University Professor Talks with College Students: Liu Wei on Economics and Life shows his attempt to discuss life through an economic lens. The Politics of Ordinary People's Discourse: A Perspective on Peasants' Political Psychology in Transitional China and the China Economic Growth Report 2017 indicate his engagement with political psychology and macroeconomic research. He has also translated or written foreign literary works such as Murder in the Dark and All This, as well as books on sales. Overall, his writing is broad in scope and balances scholarship with readability.