DOM Scripting
Jeffrey Zeldman once said that Jeremy Keith could write about cement and he could still make the subject interesting. As I was reading Jeremy Keith’s DOM Scripting: Web Design with JavaScript and the Document Object Model, I couldn’t agree more. Keith has such an accessible approach in his explanation. Here’s an example of how he breaks down variables (JavaScript syntax):
In our everyday lives there are some things about us that are fixed and some things that are changeable. My name and my birthday are fixed. My mood and my age, on the other hand, will change over time. The things that are subject to change are called variables.
Can’t get any clearer than that. The second edition of DOM Scripting is filled with updated guidelines and best practices for applying unobtrusive JavaScript to enhance, rather than getting in the way of, the user experience.The book also introduces some new HTML features including canvas, video, audio and forms. A recommend read for web designers.