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.

45 of 263 comments (clear)

  1. When will the fat lady sing? by Anonymous Coward · · Score: 3, Insightful
    When will Opera actually support the meatier parts of DHTML?

    Waiting around for everyone to start writing fully standards-compliant DOM-based DHTML is like waiting for the world to learn Esperanto.

    1. Re:When will the fat lady sing? by LPetrazickis · · Score: 2, Interesting

      When will Opera actually support the meatier parts of DHTML?

      A year ago. The more important question is when MSIE will do the same. My new site currently looks like shit in MSIE even though I even made a separate CSS that did widths differently and forced alpha transparency on the logo.

      --
      Is this a sigs-optional kind of place? 'Cause I am totally down with that if you know what I mean.
    2. Re:When will the fat lady sing? by cheese_wallet · · Score: 5, Funny

      My new site currently looks like shit in MSIE even though I even made a separate CSS that did widths differently and forced alpha transparency on the logo.

      You can't polish a turd.

    3. Re:When will the fat lady sing? by Lussarn · · Score: 2, Informative
      Trying to design in html is a thing of the past. Don't look correct becase the standard is not well defined. Try this instead:

      <table style="border-style: solid; border-width: 1px;">

      Looks identical in every browser supporting some basic css. IE6 too actully if you put it in standard compliant mode. Put this first in your file:

      <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Strict//EN">

  2. 2nd Edition? by mahdi13 · · Score: 4, Funny

    I guess the First Edition was not Definitive enough

    --
    "Some things have to be believed to be seen." - Ralph Hodgson
    1. Re:2nd Edition? by el-spectre · · Score: 4, Insightful

      Heh, it was for its time, but with the new browser versions, the 2nd edition is about twice the size as the old ones. 'tis the problem with client side web stuff, new browsers don't mean that you can stop supporting the older ones.

      I have this book, and it's neither cheap nor light, but definitely worth having as a reference.

      --
      "Faith: Belief without evidence in what is told by one who speaks without knowledge, of things without parallel." - A.B.
    2. Re:2nd Edition? by el-spectre · · Score: 5, Funny

      And that doesn't include the cost of beefing up the suspension in the car, to get the book home...

      --
      "Faith: Belief without evidence in what is told by one who speaks without knowledge, of things without parallel." - A.B.
    3. Re:2nd Edition? by pmz · · Score: 2, Interesting

      ... the 2nd edition is about twice the size as the old ones.

      Whatever happened to the WWW simplifying things? :/

      The complexity of software development is certainly no less than it was ten or fifteen years ago...I think it has actually gone up significantly. The addition of hundreds of new buzzwords and embryonic toolsets has not helped at all.

      In many cases, customers or managers strive for gigamegagigantic things like .NET or J2EE, when all they really need is good 'ol CGI with a bell or a whistle here and there. I've seen trival applications being run on big-ass servers with Oracle, WebLogic, etc. out the wazoo, when only 0.005% of their capabilities are utilized. Additionally, even with all those CPUs and gigabytes of RAM, the application performance is terrible. I've also found it quite ironic that gigabytes of software are being installed and configured to run an application that is only a few tens of thousands of lines of code with a database of 50 objects.

      Sigh.

  3. Bah... by BiteMeFanboy · · Score: 5, Funny

    ... you haven't written dynamic html until you've written javascript that generates perl that generates html that generates javascript that builds perl code to filter the html. Heh, sometimes I miss the dot-com days.

    1. Re:Bah... by Tumbleweed · · Score: 4, Funny

      If that's the kind of thing you did in the dot-com days, you're probably single-handedly responsible for the dot-com collapse.

      Bastard.

    2. Re:Bah... by pmz · · Score: 4, Funny

      ... you haven't written dynamic html until you've written javascript that generates perl that generates html that generates javascript that builds perl code to filter the html. Heh, sometimes I miss the dot-com days.

      And, after all the filtering, the resulting HTML is : <BLINK>You are fired!</BLINK>

  4. Slashdot book review by rkz · · Score: 4, Interesting

    This one is a great addition to the book shelf,, you all know how to do certain things in HTML/DHTML but this book clarifies nicely why you are actually doing it. Also, it introduces nice DOM concepts which WYSIWYG web designers might not have come across before

    1. Re:Slashdot book review by Mononoke · · Score: 2, Funny
      AppleScript sucks.
      Too tough for ya, eh?

      --
      NetInfo connection failed for server 127.0.0.1/local
  5. What!? by akpcep · · Score: 2, Funny

    This article was actually useful and free from bias.

    Could this be the end of /.?

    And I would have had FP if I hadn't fucked up my reply. Which is ironic, if you think about it.

    --
    Hmmm.
  6. Good web source by (54)T-Dub · · Score: 5, Informative

    If you need a good web site, I find these guys have a very good reference for JS, HTML, ASP, vbScript, CSS, XHTML etc, etc

    --

    "I can not bring myself to believe that if knowledge presents danger, the solution is ignorance" - Isaac Asimov
    1. Re:Good web source by jefu · · Score: 2, Informative

      Another excellent source for such information is zvon .

  7. Anachronism by jabbadabbadoo · · Score: 2, Insightful
    "For example, in the DOM section the reference gives you the object name, which versions of Navigator and Explorer support it,"

    Navigator is dead. So why the effort?

    No, I would rather see a book covering Explorer, Mozilla and Opera.

  8. Dynamic HTML by PhysicsGenius · · Score: 2, Insightful
    OK, you web "coders", listen up. We, the general surfing public, are sick of Java, Flash, Javascript, CSS and "dynamic" anything. HTML was good enough for our grandparents and parents, HTML is good enough for us. It's a content description language, not a layout engine. We want data. When we click a link, we don't expect to see spinning globes or slowly assembling menus--we just want the next piece of data. Recent studies have found that up to 95% of bandwidth is wasted through over-designed websites. Add to that the cost of paying the glorified typists who create these sites and you are looking right at the reason the Internet bubble burst.

    Look at Slashdot. With just a few lines of elegant Perl, Taco et al have created a slick, funcational, speedy, high-reliability site that eschews beauty in favor of pure information. Take your queue from these guys, web monkey.

    1. Re:Dynamic HTML by ceeze · · Score: 5, Insightful

      I agree that most web sites do not need extensive client-side scripting to be effective (slashdot is an excellent example). However, believe it or not, many businesses want to buy *Applications* that run in web browsers. They don't want the hassle and expense of deploying traditional client-server apps, but still want the functionality and usability of them.

      Standard HTML doesn't do that.

      Taking your example, even something as providing feedback in the form of an hourglass cursor while a lengthy operation is taking place has a measurable effect on the usability of these applications, especially for our target users (which is clearly not you). The browser is much more of an application platform than a simple layout engine.

    2. Re:Dynamic HTML by Mr_Silver · · Score: 5, Informative
      OK, you web "coders", listen up. We, the general surfing public, are sick of Java, Flash, Javascript, CSS and "dynamic" anything. HTML was good enough for our grandparents and parents, HTML is good enough for us.
      [snip]
      Look at Slashdot.

      Yes, look at Slashdot. The geek site that is so ashamed of it's HTML, it blocks the validator.

      If you try a different validator site, you find there are over a hundred errors on the front page.

      Lead by example?

      --
      Avantslash - View Slashdot cleanly on your mobile phone.
    3. Re:Dynamic HTML by nick_davison · · Score: 2, Insightful

      Take your queue from these guys, web monkey.

      Oh, well, thank god it's just the web monkey's that fuck it all up. It's like the engineers that fucked up the roads by building massive SUVs and the musicians who fucked up the music industry. Now we know who to blame, we can tell them all to just fix it, right?

      Wrong.

      The reality is that web monkeys are just that, web monkeys. There are very, very few web gurus out there. In almost every case, they're working for managers who don't really understand the web but do understand that producing the greatest streamlined product in the world doesn't begin to compete with providing flashy things when reassuring senior management about why they just spent so much on a website.

      Producing excellent content is extremely hard. Not only is it extremely hard, it requires constant updating and investment. Yet when you present that to a marketing director or a CEO, in the ten minute window they have, they see "Hmm, looks kinda boring."

      Not only that, but it's a false assumption that users migrate to raw HTML sites. Slashdot actually has a lot of design elements in place. Raw HTML as is being advocated and Slashdot are actually two different things. Slashdot actually uses a lot of tables, a lot of different styles, a lot of color, contrasting backgrounds etc. It's cleaner, yes, but it's also not raw HTML. Raw HTML is practically unnavigable for any amount of content because it's so hard to find what you're after and because, whether fair or not, users perceive it as less appealing.

      So, we web monkeys would love to design cleaner sites. But, we're just the monkeys - we're part of a corporate world where budgets get signed by people with a lot less understanding of the web. Those who wave the "raw HTML" banner just serve to muddy the waters by not really getting what they're talking about anyway.

    4. Re:Dynamic HTML by Superfreaker · · Score: 3, Insightful

      "Look at Slashdot. With just a few lines of elegant Perl, Taco et al have created a slick, funcational, speedy, high-reliability site that eschews beauty in favor of pure information. Take your queue from these guys, web monkey."

      Anyone who tries to use slashdot on a wireless device knows that slashdot is one of the heaviest, ill-formed sites around.
      The homepage weighs 120K.

    5. Re:Dynamic HTML by tomhudson · · Score: 2, Funny
      Recent studies have found that up to 95% of bandwidth is wasted through over-designed websites. </quote>

      1. and another 50% is used up by spam
      2. and another 35% by people using Microsoft Update
      3. and another 40% by people downloading videos and mp3's (but because they're doing it over broadband, the **AA wants to count that as 245%)
      4. and another 20% is being used by worms, trojans, etc
      No wonder the net's so slow sometimes :-)
    6. Re:Dynamic HTML by Mr_Silver · · Score: 2, Interesting
      Have you really looked at and understood the errors it found? Most cascade from putting TABLE inside FONT and serving a page as HTML 3.2 while using 4.x options. If you inserted FONT after BODY in practically any page you'd get a ton of errors too, even though they arise from a single mistake.

      They're still errors. As for the tonne of errors, you get this in programming langauges too when one line causes the compiler to go out of whack and start flagging other lines as errors erronously. However it's still not much of an excuse to say "Hey, it's only one line causing the problem and it still compiles" when the compiler dumps 200k's worth of warnings to your terminal.

      And lastly, you can't expect full compliance at all times from a page that sources HTML from elsewhere, such as advertisements which require ads be run without any modification to the markup provided, or contain other content that hasn't been vetted for compliance like story submissions.

      Most advert code is standards complient because there isn't much to it. The story submissions at the most contain the A tag and possibly B and I'm at a loss to think of other tags which would be needed. Granted, it would be a difficult task to make the comments section validate because people can write comments in HTML.

      But still, for a geek site that pushes for adherance of standard and open protocols and file formats (PNG over GIF, of which there are no PNG's on the front page at all - but a tonne of GIF's) it is a pretty poor show.

      --
      Avantslash - View Slashdot cleanly on your mobile phone.
  9. Duplicate article by Jack+William+Bell · · Score: 5, Informative

    This book was already reviewed for /. here. Yeesh, can't anyone be troubled to do a quick search before posting?

    For what its worth, I owned a copy of the first edition and liked it so much I bought a copy of the second edition before the review mentiond above.

    --
    - -
    Are you an SF Fan? Are you a Tru-Fan?
    1. Re:Duplicate article by Ed+Goforth · · Score: 4, Insightful

      And why is having more than one review a bad thing? I'd rather see two decent reviews of the same book (and especially a book as encompassing as this) than one sorry review of a bad book.

  10. Sure it will be as good as the last one by ceeze · · Score: 2, Interesting

    My first one is all dog-eared and out of date, but it still sits on my shelf and I occasionally refer back to it. Great book for learning and as a reference.

    Sadly, the only book I ever use these days is the Dynamic HTML Reference and SDK from Micro$oft (basically the same info you can get for free from msdn). If you're only supporting IE and just need a quick reference, that book is the bomb. Oh, am I not supposed to use the word bomb anymore? It is the bawm.

    I don't have a signature.

  11. Can a person be an expert on all these topics? by Anonymous Coward · · Score: 4, Informative

    This book covers a huge amount of material. After all, DHTML is just a name used for the interaction of a bunch of different things, and this book seems to try to cover all of them. I wonder whether Goodman is really an expert on all of it (or whether anyone can be). I'd be a lot more comfortable trusting a book like this if it were written by a group of authors with different areas of expertise.

    Looking at what I can find about the book's coverage of CSS (which I know a lot about), I'm not optimistic. He seems to make up his own terminology, which can cause significant confusion in any public discussions. He uses the word "attributes" instead of "properties" (e.g., the CSS 'position' property) in the sample chapter available at O'Reilly. This is a mistake that's become very common these days, perhaps due to earlier editions of this book, and causes lots of confusion when people really need to discuss attributes (in HTML). The table of contents also shows sections titled by terms that he seems to have made up: "Common Subgroup Selectors" and "Advanced Subgroup Selectors".

    It could be that he's decided he doesn't like the terminology used by the CSS specification so he's making new terminology. Such a decision has significant costs for communication between and among web developers and standards organizations. However, I fear it may not even be a conscious decision, but rather than he just doesn't know enough about CSS to know the correct terminology. (Not that I would expect any one person to be able to learn enough about all the topics covered in this book to be an authority on all of them.)

    (If you want a good book on CSS, look for Eric Meyer's books on CSS, one of which is also published by O'Reilly.)

    1. Re:Can a person be an expert on all these topics? by arkanes · · Score: 2, Informative

      For what it's worth, the Microsoft documentation calls them "attributes", so he didn't just make it up. Selectors are described as such in the CSS2 specification.

  12. Re:Karma Whore (makeshift Troll) by FerociousFerret · · Score: 3, Informative

    The parent poster is using a common pet peeve among /.ers while complimenting /. itself to obtain "Insightful" mod points. Please mod it with that in mind.

    Yes, but he is still correct in that far too many websites are "over-designed" to the point of making the process of getting the info you want a painful task. Whatever happened to the KISS principle?
  13. DHTML - the new killer GUI? by conan_albrecht · · Score: 5, Informative

    I'm wondering if DHTML could be the next GUI platform. We always hear that the "browser is the next platform", but DHTML could really make it happen.

    I recently programmed a groupware application with DHTML. Not the "little javascript trinket on my web site", but user interfaces created entirely by accessing the DOM, document, and window. There is no static HTML sent to the browser at all. It is entirely created in Javascript. A hidden window refreshes ever 5 seconds to pull GUI events from the server, and a client-side, DHTML event system processes the events to change the screen.

    The result is a fully dynamic, non-refreshing (at least to the user) GUI that approximates traditional applications. Except it runs within the browser with no plugins and no installation. I didn't even realize how powerful it could be until the application was done.

    For example, using a DOM/Javascript-based graphics library, we could create a diagramming application that ran fully within DHTML and the browser. No Flash, no Java, no extra plugins.

    There's a lot of problems to overcome. I had to be extremely careful so it worked in Mozilla and IE6+. It's not *truly* real time, but it sure looks like it. The components aren't as powerful as traditional components.

    Despite the problems, though, the benefits that it is pure web, no install, and standard browser can't be overstated. DHTML is really a powerful GUI language.

    BTW, the reviewed book was invaluable to my creating the program. It is a must have for any DHTML developer.

    1. Re:DHTML - the new killer GUI? by arkanes · · Score: 2, Informative
      The browser is not suited for traditional applications in many realms. It can be leveraged into one - it's what I do all day at work - but it's just not suited for somethings. Complex GUIs are one of those things (drag & drop, for example, is a hassle to implement and looks crappy in a browser. Integeration with other applications is basically impossible).

      Oh, and if you're going to write thin client apps like that, IE is a far superior platform to Mozilla (assuming that it's a closed environment and not a public use application, of course). HTML behaviors and extensions make obnoxious tricks like your hidden window totally unneccesary, and you can even expand the functionality of tags with compiled code if you want.

  14. Mod parent +50 Funny by jabberjaw777 · · Score: 3, Funny

    damn tootin, bruddah --

    recent studies have shown that 99.51% of the viewing populace prefers a constant stream of raw binary! down with unicode! we shall destroy the micromacroadobeaolsoft running dogs like the craven infidels they are!

    --brought to you courtesy the Binary Liberation Front

  15. Actually... by Anonymous Coward · · Score: 2, Insightful

    the definitive reference for HTML is located at the W3C.

  16. Safari by enkafan · · Score: 4, Informative

    This book is also available on Safari. Heck, three months membership covers the cost of the book :)

  17. From the book by SuperKendall · · Score: 3, Informative

    Here's what the book says about the Flamingo:

    ---
    Our look is the result of reader comments, our own experimentation, and feedback from distribution channels. Distinctive covers complement our distinctive approach to technical topics, breathing personality and life into potentially dry subjects.

    The animal on the cover of Dynamic HTML: The Definitive Reference, Second Edition, is a flamingo. Flamingos are easily identifiable by their long legs and neck, turned-down bill, and bright color, which ranges from white to pink to bright red. There are five living species of flamingo, encompassing the family Phoenicopteridae. Flamingos are found in Asia, Africa, Europe, South American, and the Caribbean islands. Although wild flamingos are sometimes seen in Florida, they do not naturally nest in the United States. .......

    In the wild, flamingos tend to live in remote, difficult-to-reach areas. In the suburbs, however, they stand guard over many a front lawn.
    -------

    So, really that doesn't answer your question, but I thought I'd note the book at least talks about it!

    --
    "There is more worth loving than we have strength to love." - Brian Jay Stanley
  18. Re:Isn't 'Dynamic HTML' an oxymoron? by cruachan · · Score: 2, Informative

    Hmm, have you actually seen this book? I don't care what precisely the title is - 'Dynamic HTML' is as good as any - but it's simply a superb reference and one of the top half dozen most commonly used books on my shelf. A more accurate title might be 'every single damm specification for HTML, DHTML, Javascript, CSS and evertying else connected with client-side browser behaviour exhaustively referenced, dereferenced and cross-referenced' - but that would be a bit long to fit on the cover.

    I've had the second edition for several years and pre-ordered the second. It's *that* good.

  19. I bought HTML & XHTML: The Definitive Guide by sepluv · · Score: 3, Interesting

    IMO "Dynamic HTML" is a vague term which is usually used by people who do not know about the subject. However, not letting that put me off, I think that this book might be useful to a professional web hacker; although they might be better off with the individual O'Reilly books on the different subjects (e.g.: DOM, CSS, HTML, XHTML, ECMAScript) (or just tree-killed standards (while learning techniques by example on the good ol' WWW or in tutorials) for those of us that can understand standards &c or cannot afford the books).

    I looked at the first edition of this book in a shop and considered buying it, but decided against it due to its high price, the fact that I did not like the style (unlike most of the publisher's books which are IMO written excelently), and, mainly, my conclusion that HTML & XHTML: The Definitive Guide would be best for everyday design (as it has a little on other technologies (which are secondary to (X)HTML itself), and I can find about the details of these when I need them), though I'm not a professional.

    I bought HTML & XHTML: The Defintive Guide, 5th Ed and it was a good read (as O'Reilly books always are), although I was a little dissapointed with a few aspects: quite a few mistakes (not just typos or such like, but the authors not actually understanding (X)HTML and giving false information in contradiction to the W3C standards), the attitude the authors took of saying "you should do foo but here is how to do bar instead", and the lack of many real-world tips, tricks and tutorials (the kind of stuff that you cannot get from the W3C). However, I found that much of the content (like extensions to HTML, browsers and history) was useful to some extent. The HTML & XHTML book is probably a good book for non-professionals and those who do not want to shell out for Dynamic HTML: The Definitive Reference , but still want a book. Maybe, there is an argument that to learn something well, it is best not using a book.

    I am considering buying the CSS guide (and just bought XML in a Nutshell which is very comprehensive (yet reasonably concise) and well written so I it recommend highly).

    --
    Joe Llywelyn Griffith Blakesley
    [This post is in the public domain (copyright-free) unless otherwise stated]
  20. Re:O'Reilly Books by Zachary+Kessin · · Score: 3, Interesting

    There is usually no direct connection between a topic and the animal the O'reilly folks put on the cover. If you look at the old "Ask Tim" articles you will find that somewhere he explains where the animal covers come from.

    The basics of it is that 20 years ago for their first round of books they hired a designer who didn't know unix and she decided that "sed and awk" sounded like two birds. So she made a few covers in the style that they have been using ever since.

    --
    Erlang Developer and podcaster
  21. Re:O'Reilly Books by Cruel+Angel · · Score: 5, Informative
    Since the late 1980's, when I designed the first O'Reilly Animal covers, I've been deluged with questions from our customers about how I choose the animals. People have all sorts of theories about why a specific animal is chosen for a specific topic. Even the authors of the books ask questions--some authors have been upset with my choices because they think people will think they are as fat as a hippopotamus, or as silly as a blue-footed booby. I never reveal the reasons behind my choices, but I can assure all interested parties that there is always a reason. (No, I'm not going to tell you here, either.)

    When I was first approached by O'Reilly to propose new covers for their books, I was immersed in the VAX/VMS world of Digital Equipment Corporation. I had heard of UNIX, but I had a very hazy idea of what it was. I had never met a UNIX programmer or tried to edit a document using vi. All of the terms associated with vi, sed and awk, uucp, lex, yacc, curses, to name just a few, sounded to me like words that might come out of a popular game called "Dungeons and Dragons." I developed a mental picture of the UNIX programmer as a "Dungeons and Dragons" player. As I started to look for imagery for the book covers, I came across some wonderful wood engravings from the 19th century. The strange animals I found seemed to be a perfect match for all those strange-sounding UNIX terms, and were esoteric enough to appeal to what I believed the UNIX programmer type to be.

    When I presented the first animal covers to the people at O'Reilly, they were a bit taken aback.

    "But they're so ugly!" said one.

    "No one will want to pick these up!" said another.

    "They're scary!"

    Tim liked the quirkiness of the animals, and thought it would help to make the books stand out from other publishers' offerings. Today, the O'Reilly animal brand is well known all over the world.

    Taken verbatum from here

    --
    Two Rules For Success:
    1) Never tell people everything you know.
  22. DHTML apps by Luveno · · Score: 4, Interesting

    We've pretty much given up on DHTML-driven apps - they are too hard to modify and maintain. Use some Javascript to do some form validation and light stuff like that, but at some point you really are better off just repainting the darn screen instead of delving into DOM madness trying to hide table rows and the like. Being a Microsoft shop, we've pushed hard to move to using .NET web forms, and we've been able to forget that we are writing for web browsers. =)

  23. CSS References by foo+fighter · · Score: 5, Informative
    I am still looking for a good, up to date tutorial on CSS (recommendations welcome).


    I use two references for CSS.

    The first is the book Cascading Style Sheets- 2nd ed: Designing for The Web by Hakon Wium Lie and Bert Bos. From what I understand, these two guys basically invented CSS. You can find it on Amazon and at the publisher, Addison-Wesley.

    (BTW, I've never been disappointed by an AW book. They're up there with O'Reilly in my mind.)

    The other resource is on the web, the ZVON.org CSS1 Reference and CSS2 Reference.

    The book has a couple minor shortcomings (you can read about them in Amazon's customer reviews). Those shortcomings are overwhelmed by 1) the authority of the authors, 2) the functional organization, and 3) the readability.

    The authors know their stuff. They invented the technology for crying out loud.

    The book is organized by function meaning typography control is one chapter, positioning is another, and so on regardless of which standard the property comes from or which browser supports it. This book is where you go when you can't remember, or need to learn, how to do something.

    (There are notes for each property on browser support, but they are outdated. For that quickly changing information I recommend The Noodle Incident's CSS Panic Guide Browser Reference.)

    The author's use a very readible voice. The examples are a bit simplistic but functional and they express the concept.

    I like ZVON.org because it offers a no nonsencse reference. It's basically a clean cut dictionary of CSS. No other site I've seen is as quick to provide the answer for which you are looking. Use it when you need to refresh yourself on the exact order of values for shortcut properties (like background , font , etc.).
    --
    obviously no deficiencies vs. no obvious deficiencies
  24. Re:html vs css vs builtin rules by tomhudson · · Score: 2, Informative
    The border attribute in the table element is valid HTML 4.1.</quote>

    And the browser is free to render that border any way it chooses to according to the 4.x specification. For example, if you put <table border="1">, the browser may make just a 1-pixel line. But then it may also have a built-in rule that the default for tables is a 3-d look, in which case, it will attempt to render your 1-pixel border with a 3-d look, which ends up looking strange if you have a white background (the left and top disappear).

    The spec can be found here along with other cool stuff.

  25. If anything like the first... by clafarge · · Score: 2, Funny

    This would be an EXCELLENT reference... I've had the first for a few years, and use it to help train my employees on (and remind myself about) proper use and functionality.

    It was much better than "Cats".

    --
    Tis I: Me.
  26. object-CSS cross reference? by andyclap · · Score: 2, Interesting

    Does it have an object->CSS cross reference yet? Although I use the 1st edition a lot, it lacks a way of quickly checking which css styles an element supports in which browsers.