JavaScript Front-End Development: A Case-Based Tutorial
Tags
Summary
Editor's review
Who it's for
A good fit for
- 高校计算机及相关专业的学生,可作为JavaScript课程的配套教材使用
- 零基础想转行Web前端、需要系统补齐语法与DOM基础的自学者
- 已会HTML/CSS,但不会用JavaScript让页面“动起来”的初学者
- 需要现成案例与配套课件来组织教学的培训班讲师和任课教师
Not a good fit for
- 已有多年开发经验、想深入工程化与框架原理的资深前端工程师
- 希望专攻ES6+新语法、模块化或Vue/React等框架的读者
- 只想要速查手册、而非按章节循序学习的读者
Reading tips
- 第1至5章是语法地基,建议边读边在浏览器控制台敲一遍示例,不要只“看代码”。
- 每章的“动手实践”案例请先自己尝试实现,再对照书中思路,这是本书最有效的学习方式。
- 学习DOM、事件、Ajax三章时可配合Chrome开发者工具,实时观察元素与网络请求变化。
- 全书过完后,用第12章的2048小游戏做一次复盘,把案例改造成自己的版本,作为入门作品。
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
- Chapter 1 Getting Started with JavaScript: 1.1 First Look at JavaScript; 1.2 Development Tools; 1.3 JavaScript Basics; Hands-On Practice: Verifying a User-Entered Password
- Chapter 2 Basic Syntax: 2.1 Variables; 2.2 Data Types; 2.3 Expressions; 2.4 Operators; 2.5 Flow Control; Hands-On Practice: Multiplication Table
- Chapter 3 Arrays: 3.1 First Look at Arrays; 3.2 Creating Arrays; 3.3 Basic Array Operations; 3.4 Common Two-Dimensional Array Operations; 3.5 Sorting Arrays; 3.6 Common Array Methods; Hands-On Practice: Three-Level Province-City Linkage
- Chapter 4 Functions: 4.1 Defining and Calling Functions; 4.2 Variable Scope; 4.3 Anonymous Functions; 4.4 Nesting and Recursion; 4.5 Closure Functions; Hands-On Practice: Web Calculator
- Chapter 5 Objects: 5.1 Overview of Object-Oriented Programming; 5.2 Custom Objects; 5.3 Constructors; 5.4 Built-in Objects; 5.5 Error Handling and Code Debugging; 5.6 Prototypes and Inheritance; Hands-On Practice: Form Generator
- Chapter 6 BOM: 6.1 What Are BOM Objects; 6.2 The window Object; 6.3 The location Object; 6.4 The history Object; 6.5 The navigator Object; 6.6 The screen Object; Hands-On Practice: Traffic Light Countdown
- Chapter 7 DOM: 7.1 Introduction to DOM Objects; 7.2 HTML Element Operations; 7.3 Document Node Operations; Hands-On Practice: Shopping Cart
- Chapter 8 Events: 8.1 Event Handling; 8.2 Event Objects; 8.3 Event Categories; Hands-On Practice: Image Magnification Effect
- Chapter 9 Regular Expressions: 9.1 Introduction to Regular Expressions; 9.2 Character Classes and Sets; 9.3 Character Quantifiers and Grouping; 9.4 Regular Expression-Related Methods; Hands-On Practice: Form Validation
- Chapter 10 Ajax: 10.1 Web Fundamentals; 10.2 Setting Up a Web Server; 10.3 Ajax Basics; 10.4 Data Interchange Formats; 10.5 Cross-Origin Requests; 10.6 Extended Techniques; Hands-On Practice: Progress-Bar File Upload
- Chapter 11 jQuery: 11.1 jQuery Basics; 11.2 Element Operations; 11.3 Document Node Operations; 11.4 Event Operations; 11.5 Animation Effects; 11.6 jQuery and Ajax; 11.7 Plugin Mechanism
- Chapter 12 Web-Based 2048 Mini-Game: 12.1 Game Feature Demonstration; 12.2 Implementation Step Analysis; 12.3 Game Feature Implementation
FAQ
这本书有第2版吗?和2018年版有什么区别?
零基础、没学过HTML/CSS能直接读吗?
书中的案例需要什么样的开发环境?
学完这本还需要再学框架吗?
配套的教学PPT和源代码从哪里获取?
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
Heima Programmer is an IT education brand and textbook-writing team under Itcast (Chuanzhi Education), initiated by Zhang Xiaoxiang. It has long focused on developing practical textbooks in areas such as Java, Python, front-end development, and big data, with many of its works published by Posts & Telecom Press. As a collectively credited author, Heima Programmer is not a single individual but a writing team centered on teaching and course development, and its works emphasize hands-on practice and project-driven learning. The library contains 26 of its titles, including representative works such as Software Testing, Modern Methods of Python Programming, Fundamentals of Microservice Architecture (Spring Boot+Spring Cloud+Docker), Java Web Programming Task Tutorial, JavaScript Front-End Development Case Tutorial, Web Design and Production Project Tutorial (HTML+CSS+JavaScript), PHP Basic Case Tutorial, and Java EE Enterprise Application Development Tutorial (Spring+Spring MVC+MyBatis). These works cover categories such as programming design, software learning, computer fundamentals, and examinations. Its writing style relies on cases and task guidance to serve IT learners at both introductory and advanced levels. Public information is limited, so no further biographical details are provided beyond the above.