DOM Scripting

05 December 2005   0 comments   Books

Powered by Fusion×

DOM Scripting by Jeremy Keith I just finished reading DOM Scripting by Jeremy Keith to learn more about how to use the DOM (Document Object Model) to manipulate web content with JavaScript. The book teaches you how to write JavaScripts to create, change and animate content with scripts using document.createElement and stuff. The book starts with refresher on JavaScript which I must confess to reading much faster than I'm able to. However, it did explain the importance of declaring variables with var and why it matters well.

After chapter 4, you've been taught more or less everything there is to know about the DOM and the rest of the book is just big and explained exercises that iterate the importance of separating Structure (XHTML), Presentation (CSS), Behaviour (JavaScript) with examples and code from all three disciplines. By the way, don't worry when I say "exercises". You can read the book in the bath tub without having to do step-by-step exercises; Jeremy does all of that for you in the book.

In retrospect the book was probably a few thousand words "too simple" for me. I'm not an expert at DOM scripting but the XHTML, CSS and stuff was a bit basic. For example, I've already used AJAX, I didn't need to know what it is. Did that sound too cocky? Sorry, I hope you see what I mean.

If you're quite new to web standards, DOM scripting and AJAX and stuff; get this book! Or, you're an old-school web developer still using Flash, tables and popup windows; get this book!


Thank you for posting a comment

Your email will never ever be published

Related posts

IssueTrackerProduct feature list 02 December 2005
have or has? 08 December 2005
Related by keywords:
createElement('a') with a javascript href 21 November 2005
setAttribute('style', ...) workaround for IE 08 January 2007
The awesomest way possible to serve your static stuff in Django with Nginx 24 March 2010
Never put external Javascript in the <head> 02 April 2013
Lazy loading below the fold 26 October 2013
File attachment widget with Javascript 25 February 2005
parentElementsByTagName(doc, tagname, classname) 06 March 2006
Autosaving textarea with AJAX 16 May 2005
Changing the size of a textarea box 18 August 2004
Google is blind 24 January 2005
WEBoggle mind bogglingly addictive 20 February 2004
Python regular expression tester 19 September 2005