34 of 35 people found the following review helpful
4.0 out of 5 stars
Recommended for some; not for others, April 2 2006
By Brett Merkey - Published on Amazon.com
This review is from: The JavaScript Anthology: 101 Essential Tips, Tricks & Hacks (Paperback)
This book is for advanced beginners and middling experienced developers who not only want a solid repository of the latest JavaScript but who also demand to know why these scripts are superior to what they can find in older sources.
Finding what you want is easy because the book has a consistent Problem -> Solution -> Discussion format that facilitates homing in on what you need at the moment. The discussion is where the true learning value is concentrated for those who want to go beyond dealing with their current production challenge.
I don't recommend this book if your focus involves making form-based applications or you make applications and web sites that use or display data tables. The form scripting in the book is very elementary. Surprisingly, the book contains *no* data table display or table manipulation scripting section, although it handles basic column sorting in one chapter.
Quibble: in a book otherwise packed with scripting best practices, Chapter 12 "Using JavaScript with CSS" trips up when it focuses so much attention on how to change style property values. The best practice is to change an object's style class (className) rather than embed specific property values in scripted code. On agile coding teams, it is *very* important to keep scripted behavior and the presentational layer separate.
Otherwise, this is a very solid reference and I'm glad I bought it. The chapter on scripting while coping with accessibility concerns was unique and of superior value.
28 of 29 people found the following review helpful
5.0 out of 5 stars
Everything you need to know about JavaScript, Mar 7 2006
By Frank Stepanski - Published on Amazon.com
This review is from: The JavaScript Anthology: 101 Essential Tips, Tricks & Hacks (Paperback)
You would think that by the title of this book, you would only use maybe a chapter or two to learn something in particular; or that this book is a just a copy and past DHTML book, but you would be so wrong. Even a beginner in JavaScript would be able to follow the smart and easy to follow examples in this book. The author shows the real ways to debug and figure out your syntax error right at the beginning.
After the basics of the first chapter, it slowly covers each topic (Numbers, Strings, Arrays, DOM, Forms, Cookies, etc.) slowly and with such care that it is impossible to get lost or not understand what the author is saying.
Each chapter is covered in 2 ways: A regular progression of understanding each topic and intermingling "how-to" sections (solutions) to get the readers attention. It is also a great way for readers who already know JavaScript fairly well to find a particular topic they are looking for.
I hate 800+ page books (i.e. Bible books) that can take you so long to find a particular topic or just ramble on and never really teach you anything. This book gives just enough detail with over-explaing, but don't think the book is too brief! I can easily breeze through this book and know exactly how to find the answer in minutes and understand what the author is saying.
I've been using JavaScript for a couple years now as well as teaching part-time web design and I've found many chapters very useful already, specifically: Chapter 5 (Navigating the DOM), Chapter 6 (Forms and validation), Chapter 10 (Working with Images), Chapter 13 (Basic Dynamic HTML), and Chapter 15 (DHTML Menus and Navigation). I could use this book for an entire course (15 weeks) and have more than enough material.
I've never seen a book that covers how to create a complete professional navigation system (Chapter 15) before. Most people just copy an paste code from sites like (DynamicDrive.com) for fancy DHTML effects, but I always wanted to understand how it was done. All the other JavaScript books I have purchased either never focused on it or was too old to cover the latest browser standards (IE 6, Firefox 1.x, Opera 8). This book has it all.
If you really want to understand JavaScript, get this book. It's worth every penny...
5 of 5 people found the following review helpful
4.0 out of 5 stars
Javascript 4 U, Feb 15 2007
By Mr. Ja Fairhurst - Published on Amazon.com
This review is from: The JavaScript Anthology: 101 Essential Tips, Tricks & Hacks (Paperback)
This is an excellent next-step up from an introduction to Javascript and looks at its use in real world situations. You will need to be reasonably fluent in the language to get the best out of it.
The book presents a topic as a question and then presents code to action that query as a solution, then goes through that code in a discussion section. This is where I have a relatively minor criticism of this book; the necessities of discussing the code do not always mesh well with the question and answer format of the layout.
The authors have gone to great effort to ensure that the book is as up-to-date as possible, though this is a rapidly moving target of course, and detail how to ensure that the code will run on as many platforms as possible, rarely giving up and saying 'forget it..', though this proved necessary in a number of the more esoteric options and older browsers.
A highly recommended read if you are looking for a quick solution, or a detailed understanding of what's going on.