JavaScript: Visual QuickStart Guide, 9th Edition cover

JavaScript: Visual QuickStart Guide, 9th Edition

Rating 2.9
Word count
709K words
Chapters
22
Series
Turing Programmer Series · Web Development
ISBN
9787115385222

Tags

Summary

This is the Chinese edition of the ninth edition of JavaScript: Visual QuickStart Guide, a long-bestselling introductory JavaScript tutorial. The original book has been continuously revised since the 1990s and has sold more than a million copies worldwide. Organized around a "task-driven + step-by-step illustrated" approach, the book begins with concepts such as "what JavaScript is and why it is not Java," then guides readers through the language basics—variables and operators, functions and loops, arrays and strings, event handling—and applies that knowledge to specific webpage effects: image rollovers, looping ad banners and slideshows, pop-up windows and frame control, form validation, regular expressions, cookies and state memory, adding/removing/replacing DOM nodes, and practical examples such as dynamic dates, countdowns, and collapsible menus. The ninth edition has been fully rewritten: all sample code follows W3C HTML5 standards and is compatible with IE 9 and later, Firefox, Safari, Chrome, Opera, and other modern browsers and mobile devices; several new chapters cover using the jQuery framework to quickly add interactivity to pages (including jQuery UI effects, table sorting, autocomplete, and drag-and-drop), and a dedicated chapter explains mobile scripting with touch events, screen orientation, and device geolocation, along with a chapter introducing lightweight extensions such as bookmarklets. The appendices provide the evolution of JavaScript versions, a reserved-word list, a CSS reference, and further learning resources. The book has 18 chapters and about 700,000 words; it is suitable as a first JavaScript book for complete beginners studying on their own, and as an introductory textbook for university web development courses.

Editor's review

这是一本「老派但极好用」的入门书。它的优点不在深度,而在路径清晰:每一小节都是一个可以立刻在浏览器里跑起来的小任务,从「把脚本放在哪里」到「做一个能折叠的菜单」,读者始终看得见成果,不容易在语法细节里迷路。分步说明配上代码与截图对照的版式,让它同时具备教程与速查手册两种用途——学的时候顺着读,做项目时按目录翻。 第9版的分量在于覆盖面:语言基础、DOM、事件、正则表达式、cookie、Ajax、jQuery、移动端脚本、bookmarklet,一个初学者在真实小项目里会碰到的东西基本都露过面。需要提醒的是,它的技术栈停留在 jQuery 时代的思路,ES6 之后的模块化、类、异步/await、前端框架等内容并不涉及;豆瓣评分 5.8 也说明它在「深度」上不算高分。因此更合适的定位是:用它把「JavaScript 如何在浏览器里干活」这件事打通,再转向现代教程补齐语言新特性。配套示例代码可在图灵社区获取,边读边敲效果最好。

Who it's for

A good fit for

  • 完全没有编程基础、想从零学会用 JavaScript 给网页加交互的读者
  • 会写 HTML/CSS,但不知道脚本该写在哪里、怎么调试的前端初学者
  • 需要一本可当速查手册用的案头书,随手翻查 DOM、表单、cookie 用法的读者
  • 高校 Web 开发、网页设计课程的学生与授课教师,可作为入门教材

Not a good fit for

  • 已有相当经验、想深入 ES6+ 语法、模块化或框架原理的开发者
  • 想系统学习现代前端工程化(构建工具、TypeScript、React/Vue)的读者
  • 希望直接学 Node.js 后端开发或算法、数据结构进阶内容的人

Reading tips

  1. 先备好浏览器和编辑器,从第1~3章开始边读边敲,务必让每个示例都真正跑起来
  2. 把第4~12章当作「效果配方库」,遇到需要的页面效果时按目录直接查对应小节
  3. 读完第13~16章后,回头用 jQuery 重写自己前面写过的一个小例子,体会库带来的简化
  4. 注意本书技术栈偏早,学完基础后应补充 ES6+ 与现代前端框架的教程,别把 jQuery 写法当成唯一答案

About the publisher

Posts & Telecom Press China · Founded in 1953

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. Chapter 1 Getting to Know JavaScript
  2. Chapter 2 Getting Started
  3. Chapter 3 Your First Web Application
  4. Chapter 4 Working with Images
  5. Chapter 5 Windows and Frames
  6. Chapter 6 Form Handling
  7. Chapter 7 Forms and Regular Expressions
  8. Chapter 8 Handling Events
  9. Chapter 9 JavaScript and Cookies
  10. Chapter 10 Objects and the DOM
  11. Chapter 11 Building Dynamic Pages
  12. Chapter 12 JavaScript Application Examples
  13. Chapter 13 Introduction to Ajax
  14. Chapter 14 Toolkits, Frameworks, and Libraries
  15. Chapter 15 Designing Pages with jQuery
  16. Chapter 16 jQuery-Based Applications
  17. Chapter 17 Scripting for Mobile Devices
  18. Chapter 18 Bookmarklets
  19. Appendix A JavaScript Version Evolution and References
  20. Appendix B JavaScript Reserved Words
  21. Appendix C CSS Reference
  22. Appendix D Other Learning Resources

FAQ

这本书适合零基础的人直接读吗?
适合。它从「JavaScript 是什么」讲起,假设读者只懂基本的 HTML,不需要编程经验。不过书中不系统讲解 HTML/CSS 语法,完全没接触过网页的最好先花几天熟悉标签和样式,否则示例里的结构看不懂。
第9版和市面上讲 ES6 的新书有什么区别?
第9版沿用 jQuery 时代的写法,重点是「用脚本操作浏览器里的页面」:DOM、事件、表单、cookie、Ajax。它几乎不涉及 ES6 的类、箭头函数、Promise、async/await 和模块化,也不讲前端框架。适合打基础,但不适合作为唯一一本 JavaScript 书。
书中的示例代码过时吗,还能跑吗?
第9版示例按 W3C HTML5 标准编写,支持 IE 9 以上及 Firefox、Safari、Chrome、Opera 等现代浏览器,基本逻辑在今天的浏览器里仍可运行。但涉及旧式浏览器兼容写法和 jQuery 早期版本的部分,建议对照当前官方文档调整。
需要配套的 HTML 和 CSS 基础吗?
需要一点。书中会用到 div、span、class、id 以及样式切换,第1章有一节专门讲「编写对 JavaScript 友好的 HTML」,附录 C 还给了 CSS 参考,但都是以复习为主。完全没有 HTML 基础的读者,读起来会有些吃力。
配套源码在哪里获取?
原书提供配套网站,收录书中全部脚本示例、相关文件与常见问题解答;中文版可在图灵社区(ituring.com.cn)该书页面查看资源与勘误信息。建议下载后对照章节逐段运行,而不是只看不练。

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