Head First JavaScript

Michael Morrison

出版时间

2007-12-30

ISBN

9780596527747

评分

★★★★★
书籍介绍
这是一本把编程讲得像读小说一样顺滑的入门书。它不追求面面俱到——近600页里干货其实不多,却把面向对象、DOM操作讲得具体清楚,第8章DOM被读者专门点名“很赞”。全书1到7章铺基础语法,再借对象与实例把OOP落地,适合已经会HTML和CSS、想跨入动态网页编程、又几乎零编程基础的初学者。它的最大卖点是阅读体验:节奏轻、不劝退,有人三天草草翻完,有人断断续实看“明白个大概”就急着上实战。但正因如此,它更像一扇把你从“复制粘贴”推向“自己写交互页面”的入门门,而非系统深入的技术手册;有编程基础的人读来或许只是“纯娱乐”。如果你要的是轻松上手、建立信心,它会是很好的起点。
作者简介
Michael Morrison is a writer, developer, toy inventor, and author of a variety of books covering topics such as Java, Web scripting, game development, and mobile devices. Some of Micheal's notable writing projects include JavaScript Bible, 6th Edition (Wiley, 2006),Teach Yourself HTML and CSS in 24 Hours, 7th Edition (Sams Publishing, 2005), Beginning Mobile Phone Game Programming (Sams Publishing, 2004) and Java Unleashed (Sams Publishing, 1997). Michael is the intructor of several Web-based courses, including DigitalThink's Introduction to Java 2 series, JavaBeans for Programmers series, and Win32 Programming series (www.digitalthink.com). In addition to his primary profession as a writer and technical consultant, Michael is the founder of Stalefish Labs (www.stalefishlabs.com), an entertainment company specializing in games, toys, and interactive media. When not glued to his computer, skateboarding, playing hockey, or watching movies with his wife, Masheed, Michael enjoys hanging out by his koi pond.
AI导读
核心看点
  • Head First系列风格,图文并茂,适合零基础入门。
  • 涵盖变量、函数、DOM操作及AJAX等核心JS知识。
  • 讲解面向对象编程概念,帮助理解对象与实例。
读者共识
  • 公认的最佳JS入门书之一,趣味性强易坚持。
  • 内容虽浅但基础扎实,适合快速建立编程思维。
  • 读完需补充进阶书籍,无法直接成为JS专家。
精彩摘录
  • "while loops let you repeat code while a certain condition is true."
  • "The trick to solving big problems is to break them down into smaller, more manageable problems. And if those problems are still too big, then break them down again."
  • "事件(event)告诉我们有些值得注意的东西发生了,如网页的载入(onload)或按钮的点击(onclick),事件是一种标记,表示我们可以用javascript代码响应事件。 函数是一段执行常见任务,且可重复利用的程序代码。"
  • "prompt:()用于显示可提示用户进行输入的对话框。 变量var,常量const,格式 var 变量名 = 初始值; (常量名一般习惯全大写)"
用户评论
几个小时吧 挺简单的
真是……简单得过头了
讲的太浅,废话太多,没看完。
别的书我都看不懂。。。
like all hf books, smooth like a fiction book
关于函数指针和闭包部分讲解得非常清楚,原型链部分的代码读得有点似懂非懂,翻译还可以,中上水平
还不如直接上 js dom 编程艺术..这本书开篇经常有"我们要用这个东西,但是现在你还不理解也没关系( 没错!我说的就是这本书的第147页! )"... 还有就是那个电影院座位的栗子,让人脑阔疼
I'm disappointed with this book. I wanna learn stuff like call back function, how to use promise etc, but I only see how to create and class and inherit in the book, which is not javascript at all.
比较基本的JS,但JS日新月异,内容还是显得过时了。
一般
下载
收藏