Book Description
JavaScript lies at the heart of almost every modern web application, from social apps to the newest browser-based games. Though simple for beginners to pick up and play with, JavaScript is a flexible, complex language that you can use to build full-scale applications.
Eloquent JavaScript, 2nd Edition dives deep into the JavaScript language to show you how to write beautiful, effective code. Author Marijn Haverbeke immerses you in example code from the start, while exercises and full-chapter projects give you hands-on experience with writing your own programs. As you build projects such as an artificial life simulation, a simple programming language, and a paint program, you’ll learn:
- The essential elements of programming, including syntax, control, and data
- How to organize and clarify your code with object-oriented and functional programming techniques
- How to script the browser and make basic web applications
- How to use the DOM effectively to interact with browsers
- How to harness Node.js to build servers and utilities
This edition is thoroughly revised and modernized to reflect the current state of JavaScript and web browsers, with brand-new material, such as a chapter on code performance in JavaÂScript, and expanded coverage of recursion and closures. All source code is available online in an interactive sandbox, where you can edit the code, run it, and see its output instantly.
Isn’t it time you became fluent in the language of the Web?
Table of Contents
Part I: Language
Chapter 1: Values, Types, and Operators
Chapter 2: Program Structure
Chapter 3: Functions
Chapter 4: Data Structures: Objects and Arrays
Chapter 5: Higher-Order Functions
Chapter 6: The Secret Life of Objects
Chapter 7: Electronic Life
Chapter 8: Bugs and Error Handling
Chapter 9: Regular Expressions
Chapter 10: Modules
Chapter 11: Project: A Programming Language
Part II: Browser
Chapter 12: JavaScript and the Browser
Chapter 13: The Document Object Model
Chapter 14: Handling Events
Chapter 15: Project: A Platform Game
Chapter 16: Drawing on Canvas
Chapter 17: HTTP
Chapter 18: Forms and Form Fields
Chapter 19: Project: A Paint Program
Part III: Beyond
Chapter 20: Node.js
Chapter 21: Project: Skill-Sharing Website
Chapter 22: JavaScript and Performance
中文:
书名:Eloquent JavaScript: A Modern Introduction to Programming, 2nd Edition
从社交应用到最新的基于浏览器的游戏,几乎所有现代网络应用的核心都是JavaScript。虽然对于初学者来说学习和操作起来很简单,但JavaScript是一种灵活、复杂的语言,您可以使用它来构建完整的应用程序。
雄辩的JavaScript,第2版 深入研究JAVASCRIPT语言,向您展示如何编写漂亮有效的代码。作者Marijn Hiverbeke从一开始就让您沉浸在示例代码中,而练习和完整的章节项目则让您体验到编写自己的程序的实践经验。当你构建人工生命模拟、简单的编程语言和绘画程序等项目时,你会学到:
- 编程的基本元素,包括语法、控制和数据
- 如何使用面向对象和函数式编程技术组织和澄清代码
- 如何编写浏览器脚本并制作基本的Web应用程序
- 如何有效地使用DOM与浏览器进行交互
- 如何利用Node.js构建服务器和实用程序
这个版本经过了彻底的修订和现代化,以反映当前的JavaScript和Web浏览器的状态,使用了全新的材料,例如关于Java脚本中的代码性能的一章,并扩展了递归和闭包的覆盖范围。所有源代码都可以在互动沙盒中在线获得,在那里你可以编辑代码,运行它,并立即看到它的输出。
难道不是时候让你精通网络语言了吗?
Table of Contents
Part I: Language
Chapter 1: Values, Types, and Operators
Chapter 2: Program Structure
第三章:职能
第4章:数据结构:对象和数组
第5章:高阶函数
Chapter 6: The Secret Life of Objects
第七章:电子生活
第8章:错误和错误处理
第9章:正则表达式
第十章:模块
Chapter 11: Project: A Programming Language
Part II: Browser
Chapter 12: JavaScript and the Browser
Chapter 13: The Document Object Model
第14章:处理事件
Chapter 15: Project: A Platform Game
Chapter 16: Drawing on Canvas
Chapter 17: HTTP
第18章:表单和表单域
Chapter 19: Project: A Paint Program
Part III: Beyond
第20章:Node.js
Chapter 21: Project: Skill-Sharing Website
Chapter 22: JavaScript and Performance
评论前必须登录!
注册