Amazon.com Customer Reviews
Compared to Head First HTML, a BIG disappointment - Review written on July 21, 2008
Rating: 2 out of 5
7 customers found this review helpful, 1 did not.
Short version: Very disappointed by Head First JavaScript ("HFJS"). Loved Head First HTML/XHTML/CSS ("HFHTML"), felt like I retained everything from it immediately, but couldn't figure out why the info in HFJS wasn't sinking in. Turned to web tutorials (better), and finally changed to Simply JavaScript(Sitepoint), a much more clearly written and explained book.
Long version: Less than a month ago, I knew very little about web design, much less any sort of programming. I'd tried to teach myself HTML from a rather dry text perhaps ten years ago, but nothing stuck. But I had a desire to give it another go, and set about finding another HTML book. I settled on HFHTML -- while it took many more pages to explain concepts which other books treated succinctly, the writing was much better in the Head First volume and I guessed I'd retain more from it.
It turned out to be a fantastic purchase, I devoured the book and within a week or so became proficient enough at HTML and CSS to code some complex site layouts. Since my latest site required dynamic behavior, JavaScript seemed like the logical next step. Given my positive experience (almost miraculous) with the HFHTML book, my first choice for a JavaScript book was HFJS. The many positive reviews on Amazon reinforced my decision.
When it arrived, I eagerly began from the beginning, skipping nothing (just as I'd done w/HFHTML). Did the quizzes, the crosswords, but from the beginning, things were a little off. In HFHTML, the authors show you where and how to introduce new code in your example pages, but in HFJS, it wasn't even clear whether you were supposed to be coding along, or merely just reading the book's examples. And while HFHTML proceeded very logically from basic to more advanced concepts, HFJS appeared to be veering all over the place. I persisted for 250 pages, but had to admit to myself that none of it was sinking in.
I turned to some web tutorials (better), and finally, purchased Simply Javascript (Sitepoint). While it is not a perfect book, either, I think it explains JavaScript more clearly than HFJS, and is better about starting the beginner off with good coding habits, such as keeping JavaScript code in separate files, rather than in the header of the HTML document (something which HFJS doesn't do). It also cuts to the chase of what most aspiring web designers want to use JavaScript for, which is dynamically modifying the content of pages via the Document Object Model ("DOM").
To be fair to the HFJS author, JavaScript is a SIGNIFICANTLY harder language to learn than HTML or CSS. And HFJS does a good job introducing and explaining the types of JavaScript data (e.g., text, boolean, number). But HFJS overall was a disappointment, and doesn't live up to the high standards set with HFHTML.
Just what I expected - Review written on July 07, 2008
Rating: 5 out of 5
1 customer found this review helpful.
As in traditional 'Head First' style, this book delivers content in an easy to understand conversational presentation. I am an experienced programmer, but up until I read this book, had trouble understanding how JavaScript and the DOM work. I've read countless resources on JavaScript, and this is the first time I've ever felt like I got it.
The first several chapters are very basic, so even someone who had never programmed a day in their life would be able to pick up this book and start writing JavaScript. Those chapters introduce JavaScript, where and why it's useful, basic programming constructs including decision making and looping, and code reuse with functions. Next, there is a chapter on using JavaScript in forms for validation, which also explores some of the built-in JavaScript objects, using regular expressions, and how events work. The next chapter explains how the DOM works and how to navigate it using JavaScript. There are two chapters on objects, the first talks about how to create an object in JavaScript as well as some of the commonly used build in JavaScript objects (like Date and strings), and the second describes how to create actions for the objects and increase efficiency. The book wraps up with a chapter on debugging JavaScript and a chapter on AJAX.
The best feature of this book is how they present only the right way to use JavaScript, omitting unnecessary and often confusing details. The book did a stellar job of presenting the DOM (Chapter 8) as well as AJAX (Chapter 12).
If you want to learn JavaScript the easy way, get this book. Don't waste your time on any other book. If you want a JavaScript reference book, however, this isn't the book for that purpose. I actually hoped to see a listing of the methods available for Date, Math, String, etc., but they aren't included here. Many of the popular ones are discussed, but there's no page to bookmark that has them all listed.
A good first book for learning Javascript - Review written on April 20, 2008
Rating: 5 out of 5
5 customers found this review helpful, 1 did not.
This book is for learning Javascript, what it is good for, what it is not, etc. This is not a reference book. I've read through this book, but then I'm accustomed to self-teaching through reading, and I also had a pretty good understanding of Javascript. I was just looking to brush up, plus I like the layout of the Head First series of books. The test of this book is how it engaged my husband. He wouldn't read any technical book cover to cover unless you could somehow incorporate NFL football into the text. Well, he's been pounding away at Javascript using this book in his spare time for the past three weeks and he's come away learning quite a bit so far. It has done two things that any successful textbook must do - hold the interest of a reluctant student and teach them something as well. It does this by explaining each subject clearly and in several ways without coming across as repetitive.
As other readers have said already, it is not entirely self-contained. I would suggest O'Reilly's old standard JavaScript: The Definitive Guide as a reference and also to fill in information that is missing in this book. Although, one thing I really like about most of the Head First series of books is that they include a section labeled "What is Missing".
Excellent way to get up to speed on JavaScript... - Review written on March 08, 2008
Rating: 5 out of 5
13 customers found this review helpful, 5 did not.
It used to be that when you were a Notes developer, you could pretty much ignore web stuff if you wanted to. Not anymore. At the very least, you need to have a solid basic understanding of HTML and JavaScript. To help out with the JavaScript end of things, I'd like to recommend Head First JavaScript, by Michael Morrison. If you've ever read a Head First title, you'll know what I mean when I say this is one of the most entertaining and easy ways to acquire a new skill set.
Table of Contents:
Intro
1. The Interactive Web: Reacting to the Virtual World
2. Storing Data: Everything Has Its Place
3. Exploring The Client: Browser Spelunking
4. Decision Making: If There's a Fork in the Road, Take It
5. Looping: At the Risk of Repeating Myself
6. Functions: Reduce, Reuse, Recycle
7. Forms and Validation: Getting the User to Tell All
8. Wrangling the Page: Slicing and Dicing HTML with the DOM
9. Creating Custom Objects: Objects as Frankendata
10. Kill Bugs Dead: Good Scripts Gone Wrong
11. Dynamic Data: Touchy-Feely Web Applications
Index
For starters, you should think of this as a tutorial book, not a long-term reference volume. While you're going to be reviewing certain sections repeatedly as you gain experience with the code and techniques, you won't find an exhaustive list of parameters for each type of JavaScript object. There are plenty of other VERY large books that will give you all that information. But as a tutorial guide that gives people of all skill levels a chance at success, this book is excellent.
Chapters 1 through 6 give you a solid foundation as to the syntax and usage of the basic language features and constructs. You'll cover looping, operators, variables, and all the other core information you need to know to write a JavaScript program. But unlike other guides and tutorials that can be rather dry, the Head First method has you involving all your senses as you work with the material... puzzles, questions, off-beat diagrams, you name it. You could almost read it as a non-fiction book for entertainment, and learn the material in spite of yourself.
For me, chapters 7 through the end were the most valuable. I have the core JavaScript syntax down, but I often don't intuitively sense what I can do or how I can manipulate a document with it. Chapter 7 shows you how you can validate a form using JavaScript. Think of this as your JavaScript replacement for QuerySave LotusScript or Field Validation @command logic. Chapter 8 is probably where you'll finally figure out how to make those web pages do things that shouldn't be possible. You'll learn how to parse the Document Object Model (DOM - not to be confused with the Domino Object Model) and make decisions on what should or shouldn't be changed on a page based on what's actually on the screen. Add to that a chapter that shows some good techniques for debugging, and you have a book that should be useful to the vast majority of Domino developers who came from the client world and still have to work at the web stuff.
It's true that you'll have to "adapt" some of this information to the Domino Designer client. For instance, you'll be able to put functions in numerous places (pass-thru HTML on the page, the JavaScript events, etc.), and it might take you awhile to figure out the best place to locate your code. But ultimately, it's still all JavaScript code, and the key is being able to know what it can do for you and how to write it.
So, if you're chomping at the bit to start working with Ajax in your Domino applications but the JavaScript part is slowing you down, grab this book. Or even if you're just looking to build a web-only Domino application that doesn't rely on using Notes constructs for logic, this book will give you the knowledge you need to make that happen. Either way, getting a copy of Head First JavaScript will open up your programming world to a number of new possibilities...
A good book, but not all it could be. - Review written on February 05, 2008
Rating: 3 out of 5
33 customers found this review helpful, 1 did not.
Let me begin by saying that Head First Javascript is a good book, at least compared to any other JS books I've seen. It isn't, however, a particularly good "Head First" book.
What I mean by this is that the other Head First books I've used (XHTML & CSS, SQL, and C#) have been highly interactive, easy to use, and really got the concepts into my head. I was amazed that, after just a few days with these books, I could actually build professional-looking web pages that were rigorously standards compliant; or create complex applications in C# quickly and easily; or navigate the intricacies of building and using SQL databases. The Head First method certainly seemed to work.
So when I heard the HF people were producing a JS book, I was overjoyed. Sadly, it's been a bit of a letdown. The book smacks strongly of rushed production, lacking many of the features that makes the HF series special. For example, in the C# book, the authors take the reader through application construction in a step-by-step manner, carefully explaining everything as they go. The effect is of a very knowledgeable teacher standing over your shoulder and guiding you while you code. The reader is actively involved in every exercise, building their code from scratch. There are copies of every piece of code available for download at Head First's website, but these are merely tools for checking the reader's work.
In the Javascript book, however, much of the interactivity is missing. The book reads like a walkthrough of the code samples, with most of the user participation taking the form of pencil and paper exercises. The reader could actually complete the book without switching on her PC. Even the code solutions on the HF website seem to be just tossed up there, with the page numbers each example refers to contained in a Read Me file (the book itself just contains a general instruction to grab the code from the website, without any indication of which code).
This all sounds pretty negative, and I must confess to being somewhat disappointed with the book. That said, it's still far superior to any other JS book I've tried. By the end of Head First Javascript, I did feel that the general scope of Javascript had sunk into my brain. I had a feeling for its overall structure and the ways in which it could be applied. I know that I can now tackle a more advanced JS book and absorb the concepts much more easily.
What I don't feel is ready to sit down and write Javascript. The whole experience with this book was just too fragmentary and too lopsidedly didactic. The experience was insufficiently hands-on to enable me to become comfortable with the nitty gritty of JS scripting. When I finished HF's C#, XHTML, and SQL books, I could sit down and churn out code, with only a few O'Reilly Pocket Guides beside me to refresh my memory on syntax and structure. That's not been the case with Javascript.
Head First Javascript just seems to lack the "stickiness" of the other titles in the series.
An Excellent Book to Learn JS - Review written on January 24, 2008
Rating: 5 out of 5
11 customers found this review helpful, 2 did not.
I am a self-taught web developer, and owned several books on HTML and JavaScript. I taught myself HTML easily as it is an easy coding material, and I used Head First series and Missing Manual, and both are fine.
However, I got no way for JS, even though I browsed several books, and always spent time in the library. With those books, I always got stuck after reading several chapters, or I was bored by the contents and won't find interest to go on.
But for HF JS, the approach is different, and I find the content more enjoyable with diagrams and teaching materials. Also, the teaching methods and style are totally different from other books, that a beginner should have interest to wade on. As well, the contents are related with web, unlike other books that chiefly aim to teach you programming language. I wish other computer books should be good for reading, rather than providing you with loath and heaps uninteresting materials, and try to stick into your mind.
A good place to start with, and a good buying. And I look forward to expect Head First PHP, that I found other books not come to my needs as a beginner.
Great introduction to Javascript but not a reference book - Review written on January 20, 2008
Rating: 5 out of 5
12 customers found this review helpful, 1 did not.
The first headfirst book I read was the HTML one and I have been hooked ever since. I took a class in javascript last semester and was hoping this book would come out before finals but alas that didn't happen. Anyways, I got this book when it first came out and I have been going through it since. Here are my observations
Pros: 1)The pacing is well-balanced. For those with no experience in programming they slowly but surely introduce you to if statements, variables, loops, functions, and arrays. Ch 7 and 8 hit the sweet spot in terms of usefulness and ease of learning. The book gets more challenging at the end but by that time I was ready for the topics they introduced.
2) Chapter 7 is definitely my favorite chapter of the book. It introduced me to a much more efficient way of data editing/validation. I had always used indexof but this chapter introduced me to regular expressions and they ROCKED my world! A very practical and useful chapter.
3) The code examples- The examples they use in the book are very relevant to what you might actually use on your own website. Each chapter introduced the code layer by layer so as to not overwhelm me with its complexity
4) Attention to detail- As I read the book, I often had unanswered questions and then a couple of pages later the author would answer it. If there was function or object I wasn't familiar with, it would be explained with the pencil writing.
5) The FUN Factor! The code examples they use like the choose your own adventure in ch.8 are very creative and interesting. Some might consider the humor sophomoric but a young college student like myself appreciated it.
Cons: 1) This is not a reference book. That's a double edged sword depending on what you are looking for though. This book is a great starting off point for beginners and by the end I felt I had become very proficient in javascript. Even though this book will be my main guide for Javascript, I know there is still more for me to learn and I'll probably buy that Oreilly book with the rhino on the cover.
Bottom line: If you are taking a class in javascript or want to know how to make your web pages more interactive, this is a great introduction to javascript. Even though I still got an A, I know I could really have used this book last semester in my javascript class.
Finally, a different approach to teaching JavaScript. - Review written on January 12, 2008
Rating: 5 out of 5
23 customers found this review helpful, 2 did not.
I pre-ordered this book on the strong reputation this line of books has. I like the Head First Java, 2nd Edition book, and still believe their Head First HTML with CSS & XHTML book is the best book there is for learning "smart" XHTML and CSS at the same time--whereas many books have NOT handled that balance well.
I sponsor a high school computer programming club and my students had me pre-order this book for them, as they loved the Head First HTML book and felt this would be their best bet at really understanding JavaScript.
JavaScript is a strange language to teach. Although you want to teach the basics of programming, you also want to have early exciting examples that show its possibilities when embedded in a web page. This book does about as well as can be done in one book, with sections on loops, decision making, de-bugging, functions and objects for those new to programming. Then there are also chapters on the most common uses of JavaScript, including, of course, forms and validation.
If you're familiar with the Head First approach, you will find this book to fit in perfectly with their other titles. This is the kind of book you buy, highlight, and write in. Active learning. This is not a reference book.