Slashdot Mirror


Dynamic HTML: The Definitive Reference (2nd Ed.)

honestpuck writes "Many years ago I learnt my AppleScript skills from a book by a gentleman by the name of Danny Goodman and I was happy to find him tackling the subject of dynamic HTML in "Dynamic HTML: The Definitive Reference". Indeed this is the second edition and seems supremely up to date." Read on for the rest of honestpuck's review. Dynamic HTML: The Definitive Reference (2nd Ed.) author Danny Goodman pages 1343 publisher O'Reilly rating 9 reviewer Tony Williams ISBN 0596003161 summary Truly definitive reference for a huge topic

Goodman has tackled a complex subject. With changing standards and even quicker changing browser compatibility it can be a nightmare trying to get a dynamic web site working across disparate browsers and operating systems. A guide that tells you exact syntax and exact compatibility can be invaluable, but is only as good as the research behind it, an area where I cannot fault Goodman.

This volume covers XHTML, CSS and DOM with a large smidgeon of JavaScript. It's not an easy book to get into and consume in large chunks as it does little hand holding but as I was prepared to knuckle down and work at the topics (with much help from various web sites such as CSS Zen Garden) I found it perfect for me. Goodman has recently released JavaScript & DHTML Cookbook which I have found to be a marvelous volume to assist the process of understanding these technologies, though I am still looking for a good, up to date tutorial on CSS (recommendations welcome).

The target audience would be best summed up as those who have done a fair amount of HTML hand coding and some work in dynamic HTML. The book also adds that you should have "the basics of client-side scripting in JavaScript" and I would agree, when I first acquired this book my JavaScript skills were exceptionally primitive (mainly at the 'plug in example' stage) and found the latter sections of this book heavy going and not much help; now that I am a better JavaScript programmer I find these parts much easier to understand and use.

The book is divided into four parts, 'Applying Dynamic HTML,' 'Dynamic HTML Reference,' 'Cross References,' and 'Appendixes'. I found the first part particularly helpful when converting my old site across to a more dynamic CSS-based site as it helps with various strategies for making sure your content works across browsers and various methods for making sure that visitors with older browsers and search engines can still retrieve valid pages. Goodman's approach of increasing complexity through this part also suited a movement from a straight HTML site to one using XHTML and CSS. This is also where Goodman's writing can shine: it's an excellent guide to all the technologies and acronym soup. The appendices are marvelous, from 'A,' a list of colour names with their RGB value, through a list of character entities to a 50-page list of all HTML tags, their attributes and if they are supported in the two HTML 4 and three XHTML 1 standards.

The reference parts are well structured with extensive notes on browser support and which particular standard (DOM 1, DOM 2, CSS 1, CSS 2, or none) the tag or attribute comes from. For example, in the DOM section the reference gives you the object name, which versions of Navigator and Explorer support it, the DOM version (if any), a short explanation, then an object reference example, list of properties, methods and event handlers. For each of the properties it gives an example, the type and if it is read-only or read/write. For methods it gives the return value and parameters. This sort of attention to fine detail is taken throughout the book. You end up with a book 1343 pages long and a 51 page index. Goodman mentions in his preface that the book now encompasses 'more than 15,000 unique instances of properties, methods and event handlers,' a figure I'd believe.

O'Reilly have their usual page for this book that includes a sample chapter in PDF, the Index, Table of Contents and an Errata page. There are few Errata and only one in the code examples. Speaking of examples, you can download the complete set of code examples from the book.

There is also a page at O'Reilly for the author, Danny Goodman with links to some excellent articles and book excerpts on dynamic HTML and JavaScript.

I found this a hard book to review, as are most references. The questions I asked were: one, Does the book cover all the material?; two, Is it correct?; three, Is it easy to find the entry you want? and four, Are the entries laid out in an easy to understand manner? In these criteria this volume rates well, with the added bonus of some good material in the first section for understanding the nuances of dynamic HTML in a multiple browser, multiple operating system world.

If you are doing a lot of work in dynamic HTML then this book is probably an essential. While I don't consult it every time I start working on HTML when I run into trouble it is the first place I turn to make sure my syntax and browser compatibility are straight. This book ain't cheap, and it ain't small but I'd recommend it for your desk if you're working with web sites.

You can purchase the Dynamic HTML: The Definitive Reference (2nd Ed.) from bn.com. Slashdot welcomes readers' book reviews -- to see your own review here, read the book review guidelines, then visit the submission page.

10 of 263 comments (clear)

  1. FIRST POST by Anonymous Coward · · Score: -1, Offtopic

    All up in this business!

  2. first by Anonymous Coward · · Score: -1, Offtopic

    first

  3. CNN: Senator says - Destroy illegal downloaders PC by Anonymous Coward · · Score: -1, Offtopic
  4. O'Reilly Books by seanthenerd · · Score: 0, Offtopic

    Looks like a good book, as are most O'Reilly tech books. I'm still wondering, though: What's with the animals on their covers? What does a flamingo (!) have to do with Dynamic HTML?!

  5. even for slashdot... by Anonymous Coward · · Score: -1, Offtopic

    this is a major bore!

  6. The solution to the SCO case by Anonymous Coward · · Score: -1, Offtopic

    Frok Poasted here:

    Let SCO tell us in WHICH version of the linux kernel the offending code appeared. Was it 0.01, 1.1, 1.2.x, 2.0.30, 2.1.27, or what?

    All the previous versions of the kernel can be found in kernel.org. Go there and find the patch for the specific version.

    Look for an "new feature" "related to scaling", by a non recognized kernel hacker (or a corporation (IBM?)). If somebody from inside IBM ripped code from AIX and sent it to the linux kernel, this person ought to be removed from the CREDITS section, fired from IBM and IBM should pay SCO.

    This is *ontopic* because, I can't wait for the next SCO story to appear.

  7. Sun is getting in on the SCO/IBM issue. by Anonymous Coward · · Score: -1, Offtopic

    Sun took out a full-page ad in The Wall Street Journal.

    [ADVERTISEMENT]

    ATTENTION AIX USERS:
    SUN IS HERE
    TO HELP.

    You chose UNIX as your network computing platform because you knew you were in it for the long haul. You'd expect your IT partner to show the same kind of commitment.

    Unfortunately, our friends in Blue have a problem with licensing contracts that could make things very expensive for anyone running AIX. Fortunately, Sun is ready to help. The Solaris OS combines security, low cost of ownership and product stability on both x86 and SPARC systems.

    So, for all of you stranded AIX users, Sun is offering a solution. For qualifying customers, we'll conduct a two-day Migration Consultation, gratis, to assess and analyze your migration feasibility to the Solaris OS. We're even willing to take a trade-in on whatever Blue boxes you're running now.

    Visit sun.com/aixmigration

    SUN
    MICROSYSTEMS

    We make the net work.

    [/ADVERTISEMENT]

    So now Sun is helping to spread the FUD. This is getting interesting.

  8. FAILURE FAILURE FAILURE! by Anonymous Coward · · Score: -1, Offtopic

    You are SUCH a failure. However, here is a free haiku to remind you for all your days (hopefully not many of them left) of just what a FUCKING FAILURE you are.

    You fucking failure
    Why can't you do anything right?
    You should swallow bleach.

  9. karma hoe by Anonymous Coward · · Score: -1, Offtopic

    hoe hoe hoe

    Neat!

    We're the super-happy getalong gang! Neato!

  10. Re:Anachronism by tomhudson · · Score: 0, Offtopic
    And don't forget that Microsoft is dropping IE for the Apple. Here's Apple's response

    Last time I looked, they had over 1% of the market, so, so much for saying IE has 99%.