Amazon.com Customer Reviews
A great introduction to DOM Scripting - Review written on May 13, 2008
Rating: 4 out of 5
I've had time lately to do a lot more reading and Jeremy Keith's DOM Scripting book is another one that belongs on your shelf if you're trying to learn any amount of JavaScript. I've hated and avoided JavaScript for years, mostly because I started my career during the browser wars and quickly grew tired of having to write different code for different browsers. Thankfully, those days are now mostly over and this book has made me love JavaScript again.
The Document Object Model (DOM) is a standard for conceptualizing and representing the contents of an HTML or XML type document. Mr. Keith's book teaches how to use JavaScript to manipulate the DOM so that you can dynamically add or remove content from a page, change the way things look, or move things around. Similar to how CSS allows you to control the presentation of your content, DOM scripting allows you to control behaviors and events.
There are lots of great JavaScript frameworks available like jQuery, Script.aculo.us, or Dojo which allow you to easily enhance your websites. In order to fully take advantage of them though, you need to have a fundamental understanding of how things like the DOM and JavaScript event handling work. That's where this book really excels. It's written primarily for web standards developers fluent in XHTML/CSS who're looking to branch into more client-side scripting.
This book is full of useful lessons and real world examples on how to make JavaScript and the DOM work in your applications. It also places a heavy focus on fundamentals and best practices such as graceful degradation which will help you make sure that your sites still function well even without the fancy JavaScript enhancements. JavaScript has long been thought to make things inaccessible but it doesn't have to be. This book stresses how to use these technologies in an efficient, unobtrusive way.
What I liked most about this book was the voice in which it was written. I've read dozens of boring hard-to-follow tech manuals over the years but this book felt more like a friend standing over your shoulder and walking you through the process. That does somewhat limit the amount of information the book can cover and it definitely doesn't go very far into advanced techniques. If you've been doing standards development and basic JavaScript for a while though, and you really want to get started on increasing your scripting skills, this book makes an excellent primer. For me it turned my impression of JavaScript from an overly-complex annoyance to an easy-to-use yet incredibly powerful tool for improving my websites.
[...]
Supurb introduction to JavaScript for Designers - Review written on December 17, 2007
Rating: 5 out of 5
1 customer found this review helpful.
DOM Scripting by Jeremy Keith turned out to be just what I was looking for. It isn't AJAX. It's JavaScript, from a solid standards based model, that promotes well formed XHTML and CSS. It's good scripting build on top of good code, which is a good thing.
If the book simply promoted "best practices" it would be worthwhile. But this is a very good teaching text, too. The last feature is so rare that I bow to Mr. Keith. So often programming texts are written by and for alpha geeks and are opaque to mere mortals. I can actually understand this book the first time through.
DOM Scripting is written, not to programmers but to designers, albeit designers who are competent hand coders, but designers, none the less. The examples make sense. The projects are ones I actually will use. And terms are described in plain English, with no assumptions of some core, pre-existing knowledge. What makes this book even friendlier is that fact that it isn't a doorstop. At less than 400 pages, including appendices, it's not so intimidating that it will never get read.
If you read and work this book, you will have a solid foundation in client side, interactive web design. If you need to do AJAX, you will have a good handle on how to work its basic tools in your web pages.
If you already know JavaScript and simply want to get current on the DOM, you should find this a quick read and not a reference.
NOT for beginners! - Review written on September 16, 2007
Rating: 5 out of 5
1 customer found this review helpful.
This is a superb book for people who already know a whole lot about javascript and programing, definitely NOT for beginners! Before I bought this book I had worked my way through some popular titles like: "Teach Yourself Javascript in 24 hours", and then :"The Javascript Anthology, 101 tips tricks.."(600 pages only this volume!!) and I definitely needed all the bit of knowledge I had learned from them to keep up with the pace the author takes on in discussing advanced topics, in-depth! You do not only need to know the basic syntacs and the building blocks of the language like variables and loops etc,but you already MUST have an in-depth knowledge of such more advanced issues as regular expressions, types of objects, literal expressions, all the event registration modells in their complexity, bubbling-capturing included.. Should I continue listing? These do not seem to be for a complete beginner..
All in all, the above mentioned "Javascript Antology 101 .." IS a book for the false beginner- or rather for, the so-called "advanced beginner",but you need heavy armor and weaponry if you want to succeed with Advanced Dom scripting!
Turns you into a JavaScript surgeon - Review written on March 21, 2007
Rating: 5 out of 5
4 customers found this review helpful.
JavaScript is like a scalpel--in the wrong hands, it can lead to disaster; in the hands of a skilled surgeon, it is a powerful tool. In Jeremy Keith's DOM Scripting, the guiding principle throughout is to turn you into that surgeon. The book opens by putting JavaScript into historical perspective, then follows that with the basics of the JavaScript language and the Document Object Model (DOM). From those basics, Keith layers and weaves best practices such as standards support, progressive enhancement, graceful degradation, and accessibility, all while slowly building components that reach a final crescendo in a complete website example. (Here's a hint: if your web pages have any in-line JavaScript code or handlers such as , you're doing things wrong.) If you're looking for in-depth Ajax material here, look elsewhere. This book is all about doing JavaScript correctly--so you won't cut yourself later.
Great Conceptual Book - Review written on January 06, 2007
Rating: 5 out of 5
3 customers found this review helpful.
Do you know what JavaScript is? If not, turn around right now and get yourself a good book. I recommend "Professional JavaScript for Web Developers" by Nicholas Zakas. As a matter of fact, I would recommend buying that WITH this book.
Keith brings the reality of DOM scripting from the utopian future into the present. What is required: know your craft. That includes good XHTML, CSS, and basic JavaScript skills.
Keith's examples don't represent every conceivable possible use, but if you can grasp the concepts, you can apply Keith's excellent techniques to any situation.
This is also a fantastic pre-Ajax book, so if you see yourself going the Ajax way, you really need to get your head around DOM scripting, first.
Keith's book is at the top of my personal 'most recommended' list.
Web Designers required reading! - Review written on January 03, 2007
Rating: 5 out of 5
Every web designer/developer picks up JavaScript at some stage, often learning by using scripts and snippets from the web. However, nothing is faster or more efficient than using your well-learnt knowledge to get the task done. JavaScript, contrary to popular thought, is a very powerful language and if used correctly (i.e. coupled with the DOM) can achieve fast and effective interfaces.
Jeremy Keith really knows his stuff and has put together an easy to understand, yet comprehensive guide to utilising the DOM through JavaScript. I found, through reading this book, that I now KNOW a lot of what I use on a daily basis, which has helped me to make much better decisions about using code and how to get the job done with less code and in a timely-fashion.
If you haven't bought this book; Shame on you! If you have, then you should be buying this for your work-mates!