Head First JavaScript - Michael Morrison

Head First JavaScript

Michael Morrison

出版时间

2007-12-30

ISBN

9780596527747

评分

★★★★★
书籍介绍
Want to make the leap from writing HTML and CSS web pages and create dynamic web applications? Want to take your web skills to the next level? It sounds like you're ready to learn the Web's hottest programming language: JavaScript. Head First JavaScript is your ticket to going beyond copying and pasting the code from someone else's web site, and writing your own interactive web pages. So you're ready to make the leap from writing HTML and CSS web pages to creating dynamic web applications. You want to take your web skills to the next level. And you're finally ready to add "programmer" to the resume. It sounds like you're ready to learn the Web's hottest programming language: JavaScript. Head First JavaScript is your ticket to going beyond copying and pasting the code from someone else's web site, and writing your own interactive web pages. With Head First JavaScript, you learn: The basics of programming, from variables to types to looping How the web browser runs your code, and how you can talk to the browser with your code Why you'll never have to worry about casting, overloading, or polymorphism when you're writing JavaScript code How to use the Document Object Model to change your web pages without making your users click buttons If you've ever read a Head First book, you know what to expect -- a visually rich format designed for the way your brain works. Head First JavaScript is no exception. It starts where HTML and CSS leave off, and takes you through your first program into more complex programming concepts -- like working directly with the web browser's object model and writing code that works on all modern browsers. Don't be intimidated if you've never written a line of code before! In typical Head First style, Head First JavaScript doesn't skip steps, and we're not interested in having you cut and paste code. You'll learn JavaScript, understand it, and have a blast along the way. So get ready... dynamic and exciting web pages are just pages away.
AI导读
核心看点
  • Head First系列风格,图文并茂,适合零基础入门。
  • 涵盖变量、函数、DOM操作及AJAX等核心JS知识。
  • 讲解面向对象编程概念,帮助理解对象与实例。
适合谁读
  • 具备HTML/CSS基础,想进阶动态网页开发的初学者。
  • 无编程经验,希望轻松入门JavaScript的读者。
  • 喜欢图解学习,对传统枯燥教材感到畏惧的人。
读前提醒
  • 内容较浅,仅适合入门,需结合其他书籍深入。
  • 部分章节如AJAX较难,建议配合实战练习理解。
  • 翻译略显生硬,建议耐心阅读或参考英文原版。
读者共识
  • 公认的最佳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 变量名 = 初始值; (常量名一般习惯全大写)"
作者简介
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.
用户评论
几个小时吧 挺简单的
真是……简单得过头了
讲的太浅,废话太多,没看完。
别的书我都看不懂。。。
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日新月异,内容还是显得过时了。
一般
收藏