jQuery Development Guide cover

jQuery Development Guide

Rating 3.1
Word count
265K words
Chapters
8
Series
Web Front-End Development Series
ISBN
9787302467311

Tags

Summary

jQuery Development Guide is one volume in Tsinghua University Press's "Web Front-End Development Series," edited by Che Yunyue, first edition January 2018, 158 pages. jQuery is a lightweight JavaScript library that unifies DOM manipulation, event handling, animation effects, and asynchronous data requests with concise chainable syntax, and largely smooths over the compatibility differences of early browsers. The book organizes its content around the core capabilities of this library: it first covers obtaining and including jQuery, the $ factory function, the chainable coding style, and conversion between jQuery objects and native DOM objects; then systematically sorts out basic, hierarchical, attribute, and filter selectors; next explains event binding and removal, and animation control for show/hide, opacity, and height; then goes deeper into DOM style, content, node, attribute, and traversal operations; and devotes a chapter to the ideas behind form validation, the application of regular expressions, and validation prompt effects. The data interaction section introduces the key elements of Ajax, the GET and POST methods, and asynchronous processing of XML and JSON data, with a cascading drop-down menu used as a comprehensive example. The plugin chapter explains how to extend global functions, $.fn object methods, DOM traversal methods, and parameter handling, and proposes conventions for plugin naming and sharing. The final chapter uses the "Yimei Technology" corporate site as a project case, linking five pages—homepage effects, products and solutions, product details, registration, and login—to ground the skills from the preceding chapters in a complete project. The book is driven by short cases, with each chapter providing skill training, practical cases, a summary, and assignments, making it suitable as a jQuery introductory textbook for tight course schedules or as a self-study reader.

Editor's review

市面上的jQuery书大多厚得像砖头,动辄六七百页,翻到一半热情就没了。这本《jQuery开发指南》反过来走轻薄路线:158页、8章,把从选择器到Ajax再到插件的一条主线压缩得干干净净,读起来不会迷路。作者团队的写法有很强的职业培训色彩——概念只讲够用的部分,紧接着就上代码,每章末尾固定配置技能训练、实战案例、本章总结和作业,学完就能立刻动手验证。几个具体安排挺见诚意:第5章专门给表单验证与正则表达式留了整章篇幅,这在真实项目里是最容易卡手的地方;第6章用级联下拉菜单做JSON示例,比单纯罗列API更接近实际需求;第8章以“易镁科技”企业站为完整项目,把首页特效、产品页、详情页、注册与登录五个页面串成一条线,让前面零散的知识点有了落点。要说局限也很清楚:内容体量小,jQuery UI、移动端、性能优化等延伸话题基本没有覆盖,深度上也只到入门与熟练之间。所以它更像一张效率很高的入场券,而不是可以长期摆在手边的查阅手册。如果你需要在两三周内把jQuery拿来就用,这本的性价比不错;如果你想要一本能反复翻阅的权威参考,需要另找更厚的书搭配。

Who it's for

A good fit for

  • 有JavaScript基础、想快速上手jQuery的在校学生与培训班学员
  • 需要给老项目做页面特效、表单校验的前端初级开发者
  • 课程课时有限、想找一本能用一学期讲完的jQuery教材的教师
  • 习惯边看边练、喜欢小案例驱动学习的自学读者

Not a good fit for

  • 已熟练使用jQuery、希望深入源码与性能优化的中高级开发者
  • 主要技术栈为React、Vue等现代框架、只想了解历史的读者
  • 完全没有HTML、CSS与JavaScript基础、想一步到位的零基础新手

Reading tips

  1. 先花一点时间补齐JavaScript与DOM基础,否则第1章的对象转换与第4章的DOM操作会读得很吃力。
  2. 按章节顺序读,但每章的实战案例一定亲手敲一遍,重点体会选择器与链式写法的组合。
  3. 第5章正则表达式和第6章JSON示例建议单独做笔记,这两块在实际项目中出现频率最高。
  4. 读完后用第8章的项目结构复刻一个自己的小站点,把动画、校验、Ajax请求各实现一次。
  5. 作为教材使用时,可以按每章“技能训练—实战案例—本章作业”的节奏安排两到三次课时。

About the publisher

Tsinghua University Press China · Founded in 1980

Founded in 1980, Tsinghua University Press has 57 titles in our collection, covering popular science, medicine, health, law, philosophy and social sciences. Representative works include medical popular-science books such as Cancer Truth: Doctors Are Reading It Too and New Knowledge on Cancer by Bo Luo (Li Zhizhong), legal titles such as Sunshine Is the Best Preservative: Express Delivery of Major Global Anti-Corruption Cases, and works like Qi Ge's A Brief History of Philosophy with Big Ideas and Liu Yunhao's From the Internet to a New Industrial Revolution. Its authors include science writers, medical researchers, the Renmin University of China anti-corruption master's class and university scholars, reflecting a publishing profile that balances academic seriousness with accessible reading. As public information is limited, this profile is based only on the titles in our collection.

Contents

  1. Chapter 1 Getting Started with jQuery: Introduction to jQuery, Obtaining and Using It, Syntax Structure, Coding Style, DOM Objects and jQuery Objects
  2. Chapter 2 jQuery Selectors: Overview of Selectors, Basic, Hierarchical, and Attribute Selectors, Basic and Visibility Filter Selectors, Points to Note
  3. Chapter 3 Events and Animation in jQuery: Basic Events and Composite Events, Binding and Removing Events, Show/Hide, Opacity, and Height Animation
  4. Chapter 4 Using jQuery to Manipulate the DOM: Style Operations, Content Operations, Node and Attribute Operations, Node Traversal, CSS-DOM Operations
  5. Chapter 5 Form Validation: Basic Form Validation Techniques and Validation Prompt Effects, Regular Expressions and Their Applications, Form Selectors and Multi-line Data Validation
  6. Chapter 6 AJAX: Key Elements of AJAX and Asynchronous Connections, GET and POST Methods, Asynchronous Processing of XML Data, jQuery Use of JSON Data and Cascading Drop-Down Menu Example
  7. Chapter 7 Developing Plugins: Adding Global Functions, Adding jQuery Object Methods, Extending the $.fn Object, DOM Traversal Methods, Method Parameters, Adding Selector Expressions, Sharing Plugins
  8. Chapter 8 Project Case: Yimei Technology—Case Analysis, Project Requirements (Homepage, Products and Solutions, Product Details Page, User Registration, User Login)

FAQ

这本书适合零基础学jQuery吗?
不太适合完全零基础。书中默认读者已掌握HTML、CSS和JavaScript基本语法,第1章就直接讲$工厂函数与DOM对象、jQuery对象的转换。如果连变量、函数、事件都不熟,建议先补一段JavaScript基础再读。
全书有多少页、包含几章内容?
据清华大学出版社与百科资料,全书共158页,正文8章,另有序言、目录与版权声明。第1至7章为知识讲解,第8章为“易镁科技”企业站项目案例。
这本书讲的是哪个版本的jQuery?
书中只介绍jQuery的基本用法、选择器、事件动画、DOM、Ajax与插件编写,未在公开资料中标注具体版本号。这些核心API在各版本间变化不大,但涉及已废弃方法时建议对照官方文档确认。
书里的案例可以直接运行吗?
书中案例以HTML页面配合jQuery脚本的形式给出,需要自行下载jQuery库文件并在页面中正确引入。清华大学出版社的图书页面标明该书配套资源情况,购买后可留意是否有素材下载。
现在学jQuery还有必要吗?
对新项目而言,主流做法已转向React、Vue等框架。但大量存量项目、企业站和后台系统仍在用jQuery,它的选择器思路与DOM操作概念也是理解前端的基础,作为入门过渡仍有价值。

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