JavaScript: The Definitive Guide (6th Edition) cover

JavaScript: The Definitive Guide (6th Edition)

No rating yet
Word count
277 words
Chapters
27
Series
O'Reilly Best-Selling Books Series
ISBN
9787111376613

Tags

Summary

JavaScript: The Definitive Guide is an enduring O'Reilly classic on JavaScript, known among developers as the "Rhino Book." This Chinese edition is translated from the sixth edition of the original work by the Taobao front-end team and was published by China Machine Press in 2012. The book serves both as a tutorial and as a reference manual: it systematically explains the JavaScript language itself while also fully covering the JavaScript APIs implemented by web browsers. The sixth edition is fully aligned with HTML5 and ECMAScript 5, with many chapters rewritten and new chapters added on the jQuery library, server-side JavaScript, and graphics and multimedia programming. The content is roughly divided into four parts: Part I covers the core of the language, including lexical structure, types, values, and variables, expressions and operators, statements, objects, arrays, functions, classes and modules, regular expressions, subsets and extensions, and server-side JavaScript; Part II covers client-side JavaScript, including the Window object, scripting documents and CSS, event handling, scripting HTTP, jQuery, client-side storage, multimedia and graphics programming, and HTML5 APIs; Parts III and IV are the JavaScript core reference and client-side reference, listing language and browser API usage entry by entry for easy consultation. Note that the product corresponding to this entry is labeled a "notes edition," meaning a secondhand or compiled version containing a reader's notes, underlining, or annotations; the body content is identical to the official publication. The sixth edition was completed in the ES5 era and does not cover ES6 and later syntax, so readers should consult it alongside current specifications and practice.

Editor's review

在JavaScript的书架上,如果只能留一本厚书,很多人的答案就是这本“犀牛书”。它的价值在于把“学”和“查”放在同一本书里:前两部分像一本讲透原理的教程,从词法、类型、对象、函数一路讲到事件、DOM、HTTP、存储与图形;后两部分则是按字母顺序排布的核心参考与客户端参考,写代码卡住时翻两页就能找到精确答案。 第六版的分量尤其足:全书对接HTML5与ECMAScript 5,大量章节重写,并补入jQuery、服务器端JavaScript、图形与多媒体、HTML5 API等内容,中文版由淘宝前端团队翻译,术语和行文贴近国内开发者的实际语感。 需要提醒的是,第六版定稿于ES5年代,没有ES6的类语法糖、模块、Promise等新特性;它更适合作为“语言与浏览器API的底层地图”,而不是最新语法的速查表。若你手里的版本是“笔记版”,说明带有前人的笔记划线,这反而是自学的加分项:重点已被标出,坑点也被人踩过。推荐把它放在手边常年翻阅,而不是从头到尾通读一遍。

Who it's for

A good fit for

  • 已掌握HTML/CSS基础、想系统吃透JavaScript语言本身的初中级前端开发者
  • 习惯边查边写的工程师,需要一本可靠的浏览器API与语言细节参考书
  • 计算机专业学生或转行学习者,希望用一本体系完整的教材打底
  • 带新人的技术负责人,可作为团队共读与代码审查的对照标准

Not a good fit for

  • 只想要一晚上速成、解决单个框架问题的零基础读者,千页体量容易劝退
  • 主要使用ES6+、TypeScript与React/Vue现代技术栈,却不愿自行补齐新旧语法差异的读者
  • 把本书当作最新语法速查手册的人,第六版不覆盖ES6及以后特性

Reading tips

  1. 把前两部分当教材精读,每读完一章就在浏览器控制台动手复现示例,避免只看不练
  2. 后两部分参考内容不要通读,按需检索;可先用便签标出核心参考与客户端参考的入口页
  3. 阅读时同时对照MDN文档,遇到ES6及之后的新语法以现行规范为准,并记录书中的过时点
  4. 若使用“笔记版”,先浏览他人划线处判断重点,但要独立验证其正确性,不要全盘照抄结论

About the publisher

China Machine Press China · Founded in 1950

In addition to science and technology and professional publishing, the books in our catalog from China Machine Press also reflect a sustained focus on psychology, computing, management, finance and economics, and social sciences. In psychology, the catalog includes works by C. G. Jung and introductions to analytical psychology, as well as applied topics such as stress and health, and addiction and healing. In computing, it features Structure and Interpretation of Computer Programs (JavaScript Edition). Management and finance titles include Administrative Behavior (4th Edition), The Price of Inequality (Collector's Edition), and This Time Is Different: Eight Centuries of Financial Folly (Commemorative Edition). In the philosophy and history of science, there is The Worldview: The Third Edition. Relevant authors include C. G. Jung, William McGuire, Sonu Shamdasani, and Gabor Maté. Public information is limited; the above summarizes the publisher's profile based solely on the books in our catalog.

Contents

  1. Preface
  2. Chapter 1 Introduction to JavaScript (1.1 Core JavaScript, 1.2 Client-Side JavaScript)
  3. Part I Core JavaScript
  4. Chapter 2 Lexical Structure (Character Set, Comments, Literals, Identifiers and Reserved Words, Optional Semicolons)
  5. Chapter 3 Types, Values, and Variables (Numbers, Text, Boolean Values, null and undefined, The Global Object, Wrapper Objects, Immutable Primitive Values and Mutable Object References, Type Conversions, Variable Declaration, Variable Scope)
  6. Chapter 4 Expressions and Operators (Primary Expressions, Object and Array Initializers, Function Definition Expressions, Property Access Expressions, Invocation Expressions, Object Creation Expressions, Operator Overview, Arithmetic Expressions, Relational Expressions, Logical Expressions, Assignment Expressions, Expression Evaluation, Miscellaneous Operators)
  7. Chapter 5 Statements (Expression Statements, Compound and Empty Statements, Declaration Statements, Conditionals, Loops, Jumps, etc.)
  8. Chapter 6 Objects
  9. Chapter 7 Arrays
  10. Chapter 8 Functions
  11. Chapter 9 Classes and Modules
  12. Chapter 10 Pattern Matching with Regular Expressions
  13. Chapter 11 JavaScript Subsets and Extensions
  14. Chapter 12 Server-Side JavaScript
  15. Part II Client-Side JavaScript
  16. Chapter 13 JavaScript in Web Browsers
  17. Chapter 14 The Window Object
  18. Chapter 15 Scripting Documents
  19. Chapter 16 Scripting CSS
  20. Chapter 17 Handling Events
  21. Chapter 18 Scripting HTTP
  22. Chapter 19 The jQuery Library
  23. Chapter 20 Client-Side Storage
  24. Chapter 21 Scripted Media and Graphics
  25. Chapter 22 HTML5 APIs
  26. Part III Core JavaScript Reference
  27. Part IV Client-Side JavaScript Reference

FAQ

“笔记版”是指另一本不同的书吗?
不是。它仍是David Flanagan著、淘宝前端团队译、机械工业出版社2012年出版的《JavaScript权威指南(第6版)》(ISBN 9787111376613),“笔记版”一般指带有读者笔记、划线或批注的二手或整理版本,正文内容与原书一致。
第六版还值得现在读吗?
值得,但要摆正定位。它把语言核心与浏览器API讲得极扎实,是理解JavaScript底层的好底本;不过成书于ES5时代,未涵盖ES6的类、模块、Promise等特性,学习时需搭配MDN等现行资料补齐新语法。
零基础可以直接读这本吗?
可以直接读,但要有耐心。第1至第5章从词法、类型、语句讲起,对新手相对友好;建议边读边在浏览器里敲例子,配合一个简单的DOM小项目,边学边用,不要指望一遍读完。
书中的jQuery和HTML5内容现在还有用吗?
作为理解思路仍有参考价值。第19章的jQuery章节能帮助理解选择器、链式调用与DOM封装的思路;第21、22章的图形与HTML5 API章节涉及Canvas等仍在使用的接口。但具体API细节请以最新浏览器文档为准。

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.

More by the same author

Top rated in the same category