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.

263 comments

  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 Anonymous Coward · · Score: 0

      Vere?

    2. 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.
    3. 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.

    4. Re:When will the fat lady sing? by Anonymous Coward · · Score: 0
      You can't polish a turd.
      You can if you freeze it.

      The question is, would you want to?

    5. Re:When will the fat lady sing? by LBArrettAnderson · · Score: 1

      My new site [utoronto.ca] 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.

      The thing about MSIE that i like is that when you tell it to make a border with a width of 1 pixel, that's what it does. mozilla and netscape seem to think it's funny to add cool 3d borders to my tables... sure they look cool sometimes, but if that's not what i code, that's not what i want.

    6. Re:When will the fat lady sing? by Anonymous Coward · · Score: 0

      >You can't polish a turd.

      As said by the fat garage owner in the movie Christine.

    7. Re:When will the fat lady sing? by Anonymous Coward · · Score: 0

      >The thing about MSIE that i like is that when you tell it to make a border with a width of 1 pixel, that's what it does. mozilla and netscape seem to think it's funny to add cool 3d borders to my tables... sure they look cool sometimes, but if that's not what i code, that's not what i want.

      Dude you're so 1997 it's not even funny.

      Learn CSS and stop complaining about how browsers render your HTML (which is a markup for document structure, not visual style).

    8. Re:When will the fat lady sing? by LBArrettAnderson · · Score: 0, Redundant

      i'm quite aware of how to use CSS. i'll repeat: if that's not what i code, that's not what i want. i'm not gonna add extra crap to my webpages when i shouldn't have to. if people want 3D borders they can make them themselves.

    9. 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">

    10. Re:When will the fat lady sing? by Anonymous Coward · · Score: 0

      Learn CSS and stop complaining about how browsers render your HTML (which is a markup for document structure, not visual style).

      i don't complain, i just use IE. document structure... now what you mean by document structure is the visual style of the document, right? go back to school.

    11. Re:When will the fat lady sing? by Anonymous Coward · · Score: 1, Informative

      >I'm quite aware of how to use CSS. I'll repeat: if that's not what I code, that's not what I want.

      But your HTML markup defines a table, nothing else. It's up to the browser how to actually render it on-screen (and it's always been that way).

      >I'm not gonna add extra crap to my webpages when i shouldn't have to. if people want 3D borders they can make them themselves.

      You have to add "extra crap" if you want a specific visual.

      You're actually complaining about your own lazyness. Get over it and add what's needed.

    12. Re:When will the fat lady sing? by Anonymous Coward · · Score: 0

      >now what you mean by document structure is the visual style of the document, right? go back to school.

      A structure is how the information is organized, not the way it looks.

      This is a heading, first level

      This defines a level 1 heading, it has nothing to do with how to display level 1 headings. You have to use CSS to define font, size, color, etc.

      Go back to school yourself, you shouldn't be coding for the Web in the first place.

    13. Re:When will the fat lady sing? by Anonymous Coward · · Score: 0

      > i'm complaining about the fact that these idiotic browsers think when i say "color=#0000FF" that means 1 blue stripe and a few white and black ones here and there to make it look 3d.

      Stop using HTML 3.2 and get with the crowd. HTML 4.01 or XHTML 1.0 with CSS is the only way to go.

      Stop making websites for 1997. Netscape 4 is dead, you can actually use CSS now.

    14. Re:When will the fat lady sing? by Anonymous Coward · · Score: 0

      If you learned CSS you could find you can have solid borders in Netscape.

      Simply apply the following style to a table or row or cell
      "border:1px solid #0000FF"

      If you knew any CSS, someone might listen to your gripe. Sounds like you could use this book.

    15. Re:When will the fat lady sing? by Anonymous Coward · · Score: 0

      ok i apologize, your confusion and idiocy made me even more confused.

      when i said "if i don't code it, i don't want it" - that's what i meant. you can't tell me these browsers don't add uncoded nonsense. IE, on the other hand, does EXACTLY what you tell it to do.

    16. Re:When will the fat lady sing? by WTFmonkey · · Score: 1

      Chrome-plate it. Then polish it.

    17. Re:When will the fat lady sing? by LBArrettAnderson · · Score: 0, Flamebait

      "simply apply the following" - now why should i have to do that? that's what i'm trying to say. i don't want to add extra unnecessary code just because 1% of my visitors use an idiot browser.

    18. Re:When will the fat lady sing? by Anonymous Coward · · Score: 0

      > now why should i have to do that?

      Because HTML doesn't define a style, it defines structure!

      You're trying to fight HTML with HTML when you should simply apply CSS to that HTML.

      If you don't understand that, you don't understand the *concept* of what HTML is actually supposed to be (structure, not style).

    19. Re:When will the fat lady sing? by Anonymous Coward · · Score: 0

      i'm not talking about HTML i'm talking about the freaking browser.

    20. Re:When will the fat lady sing? by Anonymous Coward · · Score: 0

      >i'm not talking about HTML i'm talking about the freaking browser.

      Nowhere was it ever written "tables should NOT have 3D borders."

      The rendering of HTML elements has always been up to the choice of the browser. You don't like the default rendering of some browsers, just use CSS.

      So yes, I agree that you are complaining about the browsers. But since there's not standards to follow on that particular point, you simply shouldn't be complaining in the first place.

      It's the same as me complaining that the default font and size for a H1 in MSIE is way too damn big compared to Netscape and Opera (it's not, or maybe it is, I don't know since I use CSS to control that).

      HTML is structure, CSS is style.

    21. Re:When will the fat lady sing? by Anonymous Coward · · Score: 0

      The rendering of HTML elements has always been up to the choice of the browser. You don't like the default rendering of some browsers, just use CSS.

      that's why i'm complaining about the browsers. if i want 3D, i can figure out a way to code it myself. why do you think assembly is more efficient than BASIC? because BASIC does a lot of stuff that you don't want it to do - assembly does what you tell it to do and nothing else.

    22. Re:When will the fat lady sing? by HTH+NE1 · · Score: 1

      The browser is fully within its rights to render the HTML any way it pleases, even if it means TH is rendered as grey raised cells, TD as white recessed cells, and TABLE with a groove border around it.

      The user has the right to use a different browser if he doesn't like that browser's rendering and, where possible, override that browser's rendering with his own client-side stylesheet.

      And your right as author is to override whatever rendering with stylesheets.

      And then the user's to override or ignore your stylesheet with his own "! important;" rules.

      Unless you specify a specific rendering for the table, the browser is free to present its own rendering in that absence. What you assume to be the only way a table should be rendered provided only HTML attributes can (and is) quite different from another page author's idea.

      The only other reasonable method for rendering a table would be to refuse to render it until you've provided every minute detail yourself. And if you can't leave it up to the browser to render as it sees fit, you must be explicit and provide the necessary details.

      Different browsers render differently. This is reality. If that is not enough of a reason why you must provide your own stylesheet specifying the rendering style and why it is necessary, then I suggest you have a problem dealing with reality and should consult with an appropriate professional.

      Either that, or give up this obsession over the need to have things render a specific way. If you can just accept that browsers render things differently and mark up your pages such that such differences won't matter, you'll have a much less stressful time marking up web pages.

      --
      Oh, say does that Star-Spangled Banner entwine / The myrtle of Venus with Bacchus's vine?
    23. Re:When will the fat lady sing? by arkanes · · Score: 1

      The border attribute in the table element is valid HTML 4.1.

    24. Re:When will the fat lady sing? by Anonymous Coward · · Score: 0

      ok, if the browser is in its rights to render as it pleases, then why is microsoft not in its rights to do all the things it does? because microsoft is evil? MS has the right to do whatever it wants but you geeks will complain even if they're giving $5,000,000,000 cash to the linux people.

    25. Re:When will the fat lady sing? by mark_lybarger · · Score: 1

      sure it is, but it only specifies how wide to draw the border, not how to draw the border. it can be 3-d, dashed, whatever (it can even be rainbow color as the HTML 4.01 doesn't allow you to specify a color for a table border though IE will allow you to set a bordercolor attribute and display it). CSS came along to rectify lots of these things.

      i can never understand why so many people are resistant to css. it makes authoring pages much easier and cleaner to maintain.

    26. Re:When will the fat lady sing? by mark_lybarger · · Score: 1

      i would conclude that your browser is an idiot since it renders something that isn't defined. HTML had poor definitions for these types of things and css cleaned it up a bit. css is not adding extra stuff, but giving cleaner control to the page author.

    27. Re:When will the fat lady sing? by cruppel · · Score: 1
      You can't polish a turd.

      LOL you bastard!!! I just got in trouble for laughing at that little comment! Two bosses came over and gave me the TPS-ish speech right in a row. Seriously though, grandparent has worse problems than IE compatability with that site.

    28. Re:When will the fat lady sing? by Anonymous Coward · · Score: 0

      look where you're saying this. even if only 1% of the world uses "idiot" browsers (Gecko and KHTML browsers), goddamn near all (which is 100%) of those people view this site.

    29. Re:When will the fat lady sing? by cheese_wallet · · Score: 1

      Two bosses came over and gave me the TPS-ish speech right in a row

      Riiiiiight. Yeah. We're gonna need you to come in on Sunday in addition to Saturday this weekend. In fact, why don't you spend the night here?

    30. Re:When will the fat lady sing? by Doomdark · · Score: 1
      Likewise, when do both IE and Opera get decent support for debugging JavaScript? Even NS 4 has Javascript console, where one can see error messages. IE can display some error messages, but only one by one, and messes up line numbers when including JS sources. As to Opera, I don't know how one is supposed to find problems occuring... I don't need a JS debugger, just seeing error messages would be a good start. :-/

      I tried a while ago to make a simple javascript app (spreadsheet) to work not only on NS4, Mozilla and IE4+, but also on Opera 6... but that's pretty much impossible without getting some help from browser. Additionally, reference docs Opera has for JS /DOM compatibility were inadequate.

      --
      I like paying taxes. With them I buy civilization -- Oliver Wendell Holmes
    31. Re:When will the fat lady sing? by BladeMelbourne · · Score: 1

      MSIE is very decent at CSS1-2, DHTML, XHTML1, 1.1, 2, etc. In most cases the same code produces the same output on Mozilla. I rarely have to create seperate cases/content for MSIE.

      Why would you put an Valid XHTML 1.0 image/link on your site when it clearly isn't XHTML compliant?

      Have a look:
      http://validator.w3.org/check?uri=http%3A%2 F%2Fwww .utsc.utoronto.ca%2F~02petraz%2Ficons.shtml

      It also isn't CSS compliant:
      http://jigsaw.w3.org/css-validator/val idator?uri=h ttp%3A%2F%2Fwww.utsc.utoronto.ca%2F%7E02petraz%2Fi cons.shtml&warning=2&profile=css2

      So maybe you should look at your source code before you criticise MSIE.

      By the way, I am a Linux user, so don't think I love M$. I just need to use Windows/MSIE for web development work.

    32. Re:When will the fat lady sing? by flink · · Score: 1

      I have no experience with this debugger, but my friend at work uses it:

      If you have Visual Studio installed, go to Tools -> Internet Options -> Advanced. Look for the option that says "Enable script debugging" or something similar. Close all open instances of IE for the change to take effect. Now when an error event occurs, you will be asked if you want to debug. Clicking yes will bring you into the Visual Interdev debugger.

      Good Luck!

    33. Re:When will the fat lady sing? by discogravy · · Score: 1
      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.

      Microsoft's not doing too bad, all things considered.

    34. Re:When will the fat lady sing? by RKBA · · Score: 1

      TPS??? That term doesn't show up in any of the acronym finders I've searched.

    35. Re:When will the fat lady sing? by cruppel · · Score: 1

      I don't know what it means either, but here's what I meant:

      In Office Space, the main character makes a tiny little mistake over a brand new policy at work (TPS reports, they never explain) and I think four people end up telling him about it in a few short hours. When I laughed about that insanely great comment about turds I got a boss's attention and he asked me what I was doing blah blah...Then, almost as if the other one wee waiting there for him to finish, I got the speech all over again...f-ing /.!!!

    36. Re:When will the fat lady sing? by Doomdark · · Score: 1

      Thanks... that sounds useful. I should be able to find someone with VS (used to have a copy from my previous job but not any more).

      --
      I like paying taxes. With them I buy civilization -- Oliver Wendell Holmes
  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 bricriu · · Score: 1

      Costs 50% more, too... from $40 to $60. Eeep!

      --

      AHHHHHHH! I'm burning with goodness again!
      - Reakk, Sluggy Freelance

    3. 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.
    4. Re:2nd Edition? by Anonymous Coward · · Score: 0

      Guess not, but at $4.99 from MicroCenter, the First Edition is good enough for me.

    5. Re:2nd Edition? by intermodal · · Score: 1

      wow...good thing I'm in no rush. I can get a slightly flawed one just like my first edition for $5 at a local book liquidator once they start getting returns for cosmetically imperfect ones...

      --
      In SOVIET RUSSIA... erm...NSA AMERICA, the Internet logs onto YOU!
    6. Re:2nd Edition? by el-spectre · · Score: 1

      The problem with the first edition is that it doesn't cover recent browsers (and the &^@#% DOM keeps changing).

      --
      "Faith: Belief without evidence in what is told by one who speaks without knowledge, of things without parallel." - A.B.
    7. 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.

    8. Re:2nd Edition? by RestiffBard · · Score: 1

      Twice the size? My copy of the first edition is already the largest O'reilly book I own.

      --
      - /* dead coders leave no comments */
    9. Re:2nd Edition? by Anonymous Coward · · Score: 0

      Yeah, because we all know nothing ever changes.

    10. Re:2nd Edition? by tomhudson · · Score: 1
      Or you could buy this JavaScript: The Definitive Guide, 4th ed. on special at less than half

      Covers JavaScript (client and core), CSS(0, 1, and 2), the DOM object model, etc.

      I bought it full-price after buying the second edition a few years ago, & have no complaints.

    11. Re:2nd Edition? by FyRE666 · · Score: 1

      the problem with client side web stuff, new browsers don't mean that you can stop supporting the older ones.

      Not strictly true (for DHTML at any rate). Most people with any sense stopped bothering with Netscape 4 long ago. If you keep creating ugly hacks to make otherwise standards compliant code work for a broken browser, you just encourage the unwashed masses to keep on using the damned thing...

    12. Re:2nd Edition? by hatstandman · · Score: 1

      Seems with all the different browsers interpreting standards in, er, different ways, we could do with some kind of higher level descriptive language - or possibly an extensible meta language ?

      I know this is flippant (and worth down-modding) but I can't really see the point of continuing development of various different methods of describing content; either choose to use something like XML or come up with something better (and have it accepted and backed).

      Of course the argument here is that even if every browser were to support XML/a.n.other rendering, each one would still do a variation on a theme. I don't care; at least they'd only have to render from one source description.

      Bah. Not gonna happen; not for a while. Had to post about this - it kind of (for me anyway) echoes the open/closed source standards battles.

    13. Re:2nd Edition? by el-spectre · · Score: 1

      Due to gov. regulations/business requirements/ international considerations, many projects have to work on Netscrape and Exploder 4+. Calling the users unwashed rarely goes over well with the business folks.

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

      Yeah, I'm stalling. I already have 2 editions of that at home, starting to feel dumb having the 'same' book on the shelf over and over.

      --
      "Faith: Belief without evidence in what is told by one who speaks without knowledge, of things without parallel." - A.B.
    15. Re:2nd Edition? by Dirtside · · Score: 1
      Whatever happened to the WWW simplifying things? :/
      Whoever said the web was supposed to simplify anything? It was designed as an information sharing and browsing resource. It wasn't supposed to "simplify" anything.
      --
      "Destroy science and religion. Science would re-emerge exactly the same; but not religion." - Penn Jillette, paraphrased
    16. Re:2nd Edition? by zonker · · Score: 0

      yeah but doesn't oreilly offer an upgrade thing where you can send them the old book and upgrade to a newer one for about the difference (or something like that)? i remember the deal, but i remember them offering something like that...

    17. Re:2nd Edition? by TheCatWhisperer · · Score: 1

      I prefer the Desert Eagle .50 myself. If your gonna put them down, might as well make it messy.

  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>

    3. Re:Bah... by BiteMeFanboy · · Score: 0

      Heh, luckily no... still working at the same company actually. A dot-com survival story. But it was nice back in the day when you could be sloppy, because they wanted it fast, and functional, nothing else mattered.

    4. Re:Bah... by Horny+Smurf · · Score: 1

      The Flash 4 bible had some code to detect if the flash viewer was installed.... it was written in javascript, but spit out VB script if it detected IE.

    5. Re:Bah... by Tumbleweed · · Score: 1

      That reminds me of an old Joy of Tech:

      "Your dot.com has dot.bombed. Click here to restart your career." :)

    6. Re:Bah... by Tumbleweed · · Score: 1

      > but spit out VB script if it detected IE

      That sounds more like spitting UP than spitting OUT. ;)

    7. Re:Bah... by josephgrossberg · · Score: 1

      "You are fired!"

      But then who's going to support the legacy code in three totally different languages? ;)

    8. Re:Bah... by Anonymous Coward · · Score: 0

      I'm blinking every half second and all I see is a blank page. I must not be fired.

    9. Re:Bah... by Darth_Burrito · · Score: 1

      I just have to know, what in blazes were you trying to accomplish? How did all that chain together? I really want to know, or maybe I don't....

    10. Re:Bah... by BiteMeFanboy · · Score: 0
      I probably wasn't accurate in my description. It went something like this, web page generated by perl dumped javascript/html. A popup generated dynamic html based on the parent page that was intended to filter the rows displayed on the parent page (think of the parent page as having sortable, dynamic columns and a good number of rows). The javascript that created the popup generated appropriate perl and more javascript on the fly for the popup's display. The popup, after selecting the options, generated new javascript/html/perl on the fly to show the filtered main page. There was extensive use of the Perl eval.

      That's about as close as I can get to explaining what the situation was, it was close to five years ago. If I could find it I could explain it, it was documented extensively. Partly because I didn't want to forget how it worked, and partly because I had no wish to inflict that kind of torture on any co-workers who had to get in there behind me.

    11. Re:Bah... by Darth_Burrito · · Score: 1

      Sounds complicated. My brain usually starts crapping out when it hits 3 distinct concurrent language syntaxes.

      it was documented extensively. Partly because I didn't want to forget how it worked, and partly because I had no wish to inflict that kind of torture on any co-workers who had to get in there behind me.

      Good man.

  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
    2. Re:Slashdot book review by jefu · · Score: 1
      I haven't seen this new edition, but the last edition is sitting right there on my "most frequently used books" shelf right in front of me.

      And those WYSIWYG web designers - coding is not something they're willing to do, or even think about. Except of course if its in Flash, which is somehow OK.

    3. Re:Slashdot book review by Chad+E+Dirks · · Score: 1

      "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."

      While this statement may be true, the parent is surely not in a position to know one way or the other. He is deliberately trolling you for his own amusement (http://slashdot.org/comments.pl?sid=20721&cid=620 6820&pid=6206820&startat=&threshold=1&mode=thread& commentsort=0&op=Change), and has used this same comment template previously (http://books.slashdot.org/comments.pl?sid=67812&c id=6213534), only then to no avail.

      I suggest moderating the parent down, or at least as humorous, although clearly the only humor intended was for him or her self at your expense.

  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. 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?!

    1. Re:O'Reilly Books by Anonymous Coward · · Score: 0

      Well, simple:
      If you ever see a flamingo, you want to really DYNAMICALLY look away, and fast. Otherwise the intense amount of PINK can cause permanent brain damage.
      Just listen to the poster of this comment. They weren't 'dynamic' enough.

    2. 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
    3. 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.
    4. Re:O'Reilly Books by el-spectre · · Score: 1

      I was told by a fellow from O'Reilly that the person who decides such things has final say, so while some connections are obvious (perl=camel), some (JavaScript=rhino?) will stay a mystery.

      --
      "Faith: Belief without evidence in what is told by one who speaks without knowledge, of things without parallel." - A.B.
    5. Re:O'Reilly Books by Ayandia · · Score: 1

      (JavaScript=rhino?) will stay a mystery.

      I can't recall where I read it (probably in my well-worn copy of the third edition), but I've heard it's a shout-out to the open-source version of JavaScript for Java, Rhino.

      More info at http://www.mozilla.org/rhino/

  7. 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 Digital11 · · Score: 1

      Heck yea man, Devguru is the web coder's Bible.

      --
      I am a leaf on the wind. Watch how I soar.
    2. Re:Good web source by jefu · · Score: 2, Informative

      Another excellent source for such information is zvon .

    3. Re:Good web source by jester · · Score: 1

      There is always IRT.org
      or
      WebMonkey

    4. Re:Good web source by Anonymous Coward · · Score: 0

      microsoft's webdev pages are nice too. Link

  8. Make DHTML Open Source! by Anonymous Coward · · Score: 0

    The framework would be enhanced by the experience and hard work of the Open Source developer community.

    Which is nice.

  9. 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.

    1. Re:Anachronism by Anonymous Coward · · Score: 0

      Navigator is mozilla now....duh!

    2. Re:Anachronism by Ha-reed · · Score: 1

      Sadly, a lot of research-oriented places (especially in the US Federal Govt) that use Unix-based systems are still using the bane of the web-designers existence, Navigator 4.x. So unfortunately, old NS is not dead yet.

    3. Re:Anachronism by Anonymous Coward · · Score: 0

      It covers from Netscape ?-7x. The latter versions of Netscape use the same exact rendering engine as Mozilla uses, making it a great reference for new and old browsers alike. You do make your pages work on Mozilla, right?

    4. Re:Anachronism by RighteousFunby · · Score: 1
      Navigator is dead. So why the effort?


      There are people who still use it, y'know. Like me. I just got rid of Mozilla, it was clunky nasty and a US Standard Issue pain in the ass.

      Netscape is a fantastic browser, mainly due to it not looking crappy, being great under XP and being supported by the great majority of people.

      Netscape 7.0 r0x0rs j00r b0x0rs!!! :D
    5. 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%.

    6. Re:Anachronism by josephgrossberg · · Score: 1

      Web developers are greatly constrained by this.

      When they're launching a new website or redesign of an old one, it's the guys at the top who make the call. They tend to be old and aren't exactly early adopters.

      If your site doesn't work on Netscape 4.7, you run the risk of some venerable board member nixing the project because it doesn't work (or even look) correctly.

      Most of our clients want to support Netscape Navigator 4.7 (things certainly weren't helped by the awful early releases of Netscape 6.0), and hey -- despite all our lobbying for an upgrade -- it's their site and they pay the bills.

    7. Re:Anachronism by pkesel · · Score: 1

      My firm is getting a fat chunk of cash because a MAJOR tech firm is paying us to make our product work on netscape, and a rather old version at that. It's enough of an extra on our contract with them to pay your salary and mine both, I'm sure.

      --
      - Sig this!
  10. 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 Anonymous Coward · · Score: 0

      I agree 100%.

      go here if you have javascript enabled. This guy is not very fond of javascript!

    3. Re:Dynamic HTML by Anonymous Coward · · Score: 0

      God damn brat!

    4. 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.
    5. 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.

    6. Re:Dynamic HTML by travdaddy · · Score: 1

      No Funny Mods on parent yet? Seriously though,

      Recent studies have found that up to 95% of bandwidth is wasted through over-designed websites.

      What's interesting is that 67% of statistics are made up on the spot. I'd also like to note that HTML was apparently NOT good enough for my grandparents.

      --
      Adidas To Bring Back Sneakernet
    7. Re:Dynamic HTML by narcolepticjim · · Score: 1

      Thank you, Todd Snider, for your song "Statistician's Blues":

      64 percent of all the world's statistics are made up right there on the spot
      82.4 percent of people believe 'em whether they're accurate statistics or not
      I don't know what you believe but I do know there's no doubt
      I need another double shot of something 90 proof
      I got too much to think about

    8. 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.

    9. Re:Dynamic HTML by flibuste · · Score: 1

      Obviously you don't know any of what you cite. Example: How can you be sick of CSS since you dont even notice their existence from a "general public" point of view? Slashdot in Perl? well..sorry but /. look is completely tasteless and crippled with far too many links. An example of those badly designed web sites aka "web pages that suck". Trouble here is that you are getting frustrated because you are a hopeless so-called "programmer" that end up generating html code by using javascript to generate perl that generates html that end up with You idiot

    10. Re:Dynamic HTML by HTH+NE1 · · Score: 1

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

      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.

      And I was shocked that that validator failed to recognize that the SCRIPT tag contains CDATA markup and tried to interpret "<a " as an anchor inside the SCRIPT when the SCRIPT hadn't been terminated by a sequence of "</" followed by an alphabetic character. The use of <!-- HTML comments --> around script contents isn't required for compliance.

      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.

      --
      Oh, say does that Star-Spangled Banner entwine / The myrtle of Venus with Bacchus's vine?
    11. 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 :-)
    12. 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.
    13. Re:Dynamic HTML by Horny+Smurf · · Score: 1

      I saw Todd Snider performing at a local bar/night club 3-4 months ago. Great show. He did that song. Didn't do "My Generation", though, which was the only song of his I could remember.

    14. Re:Dynamic HTML by Anonymous Coward · · Score: 0

      I copied and past the slashdot source into a file, and validated that on the W3C validator:

      File: C:\slashdot.html
      Doctype:
      Encoding:

      I was not able to extract a character encoding labeling from any of the valid sources for such information. Without encoding information it is impossible to validate the document. The sources I tried are:

      The HTTP Content-Type field.
      The XML Declaration.
      The HTML "META" element.
      And I even tried to autodetect it using the algorithm defined in Appendix F of the XML 1.0 Recommendation.

      Since none of these sources yielded any usable information, I will not be able to validate this document. Sorry. Please make sure you specify the character encoding in use.

      IANA maintains the list of official names for character sets.


      Slashdot... you suck.

    15. Re:Dynamic HTML by Discordantus · · Score: 1
      huh? I don't know what you mean by "Raw HTML"... Are you talking about standards compliant HTML, or are you talking about the old HTML from early web days?

      If you are talking about the recent standards that have been passed, then you are dead wrong. It would be rather simple to format this very page using standards compliant XHTML and CSS so that anyone using a recent browser wouldn't be able to tell the difference. Throw out the tables, bring in the divs and blockquotes! Add a stylesheet, remove the font tags. This would also likely have the effect of shrinking the size of pages, and make it easier to maintain and upgrade. The pages would view better in text based browsers, would be more accessible to the handicapped, etc...

      I can't imagine that you would be thinking of the old HTML, the crappy stuff with font tags and all... good riddance to that. I'd rather start a new career digging ditches than go back to the old, unmaintainable way.

      XHTML and CSS are the best things the web has seen in years. If people would bother to learn the new stuff (it's really not that hard) they would realize how much more they could do, in a simpler way.

      I know all this because I have a project that I created for a local organization, which I did before I learned XHTML and CSS. I recently went back and converted it over, using stylesheets to replace the archaic layout and formatting methods. The end result: pages were from 2/3 to 1/2 their original size, the layout looked better and more consistent, and it actually passed accesibility tests. To me, that made it all worthwhile.

    16. Re:Dynamic HTML by SoupIsGoodFood_42 · · Score: 1
      I know this is just flamebait. But I'll reply anyway, since there are still quite a few others out there.

      The truth is, without Javacript and DHTML, many complex web apps would be horrible to use. One example where DHTML is used a lot is in forms, for changing menus, dissabling or enabling controls, validation, etc etc. Without these, pages would have to be reloaded each time something had to be done. While this is OK sometimes, other times it can be terribly counter-intuitive and slow.

      As for slashdot, it's fairly basic in terms of the user interface, there is no need for DHTML.

    17. Re:Dynamic HTML by Doomdark · · Score: 1
      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.

      So? Slashdot has its needs, which are fairly simple. Allow viewing threaded discussions, send comments, set up preferences. Fine. That does not need necessarily need DHTML or applets.

      But you are making an assumption whole web is just a big Slashdot. It is not. Companies generally love so-called web apps, which mean in generally applications (functionality) accessible for anyone with just a web browser. As the scope of things web apps are used for expands, so do the UI needs. And suddenly, your papa's submit-wait-read - cycle just doesn't cut it. Simplest examples are client-side validations. Why wait for the server to point out you typed in invalid phone number, if client side can do it? Doing it on client-side is not only faster, but much more efficient for web site (less processing, less data to transfer, no round trips).

      What this all is to say, then, is just that one needs different tools for different jobs. And DHTML is very useful things when applied to right things.

      --
      I like paying taxes. With them I buy civilization -- Oliver Wendell Holmes
    18. Re:Dynamic HTML by Anonymous Coward · · Score: 0

      Bah. Test the websites for IBM, Apple, Oracle, Macromedia, Adobe or just about any other company you care to name, and they'll ALL fail these validators. I find these validators next to useless when building real-world websites.

    19. Re:Dynamic HTML by superyooser · · Score: 1
      Slashdot has provided some hacks to alleviate the bloatedness. Go to your Preferences.

      1. Check Light (reduce the complexity of Slashdot's HTML for AvantGo, Lynx, or slow connections)
      2. Check Deactivate Slashboxes (just the news ma'am)
      3. Check No Icons (disable topic icon images on stories)
      4. Set Maximum Stories to a lower number
    20. Re:Dynamic HTML by khalido · · Score: 1

      I checked the HTML and Slashdot does not use CSS. If they just stipped out all the font and the other styling tages and stuffed them into a CSS file that alone would cut down on the page sizes appreciably. They don't even have to mess with the table tags at the begninning, just the fonts/colors etc. That cannot be very hard to implement, and would make their perl code a lot easier to read also. If the generated html looks like as it does currenttly, I shudder to think of what the perl code looks like. I can understand why they haven't touched the design in so long, what with then having to look up the perl also. The design/layout is ok, just add css!

    21. Re:Dynamic HTML by Ayandia · · Score: 1

      But with 240% bandwidth, we can afford to waste at least a little, can't we?

    22. Re:Dynamic HTML by GrayCalx · · Score: 1

      I'm a web "coder" buddy, and I get paid to do what the client wants. Of course I tell them flash pages are stupid, and a lot of dynamic is a waste of time. But they don't listen.

      Its like teller a /.'er that "putting" "quotes" "around" "things" "is" "a" "gay" "way" "to" "talk".

      Sometimes people are dumb, what do you want?

  11. 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.

  12. 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.

    1. Re:Sure it will be as good as the last one by Evil+Grinn · · Score: 1

      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)

      Why buy it? MSDN is more navigable than a book.

    2. Re:Sure it will be as good as the last one by Anonymous Coward · · Score: 0

      If you're only supporting IE and just need a quick reference

      Oh dear me... This kind of standards abuse really needs to be minimised.

  13. Karma Whore (makeshift Troll) by Anonymous Coward · · Score: 0

    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.

    That was so transparent. Anyone with an alias like that must be a troll.

    1. 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?
    2. Re:Karma Whore (makeshift Troll) by Anonymous Coward · · Score: 0

      >Whatever happened to the KISS principle?

      It looks like most people KISSed it goodbye.

    3. Re:Karma Whore (makeshift Troll) by GeckoX · · Score: 1

      A known troll no less.
      Looks like he finally blew his karma into oblivion and is now trying to rebuild it again so his trolls can again be heard loud and clear.

      Don't feed the troll!

      --
      No Comment.
    4. Re:Karma Whore (makeshift Troll) by tntguy · · Score: 1

      But I'm tired of rocking and rolling all night and partying every day! I just want want a nap.

  14. Flash by rf0 · · Score: 1

    But does it show how to make gratuitous use of the tag :)

    Rus

  15. drops compatibility in the reference IIRC by jspraul · · Score: 1, Informative

    don't remember, but i was going to pick this one up @ Barnes & Noble, but they said they dropped most of the information on older browsers from this edition... so i went for the first edition @ half.com for $20 or whatever instead.

    1. Re:drops compatibility in the reference IIRC by AndroidCat · · Score: 1

      Now that's a plan! Locate and buy the 1st edition cheep, and by the time I'm finished wading through it, the 3rd edition will be out. Excellent!

      --
      One line blog. I hear that they're called Twitters now.
  16. 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 Anonymous Coward · · Score: 0

      You are fucking retarded. CSS? My god man, it "News for Nerds" not "News For Fags That Want To Change The Color Scheme Of Their Website." What's next a review on Microsoft Word 2003 : Formatting Secrets of Experts?

    2. 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.

  17. Link to First Slashdot Review of this Book by rlowe69 · · Score: 1, Redundant

    FYI: This book has been reviewed on Slashdot before.

    --
    ----- rL
    1. Re:Link to First Slashdot Review of this Book by Mikey-San · · Score: 1

      FYI, someone already posted this:

      http://books.slashdot.org/comments.pl?sid=67524& ci d=6234828

      I find it amusing that someone posted a redundant comment about a redundant article.

      -/-
      Mikey-San
      bungie.org | BEER WINE GUNS AMMO PICNIC SUPPLIES

      --
      Mikey-San
      Karma: +Eleventy billion (mostly affected by watching Celebrity Jeopardy)
    2. Re:Link to First Slashdot Review of this Book by Anonymous Coward · · Score: 0

      FYI, someone already posted this:

      http://books.slashdot.org/comments.pl?sid=67524& ci d=6234828

      I find it amusing that someone posted a redundant comment about a redundant article.

  18. Best HTML guide from O'Riely by flux4 · · Score: 1, Redundant

    During a two-hour marathon at my local bookstore, I was surprised to discover that "Dynamic HTML" was by far the best in O'Reilly's series of HTML guides. Their "HTML & XHTML" tome was padded with a lot of questionable legacy information, including detailed descriptions of obsolete/proprietary browser tags. The Dynamic guide's section on HTML was much better, being more informative / modern in scope and coverage. Old tags are still identified, but we are actively discouraged from using them. This is an attitude that's generally lacking in the HTML publishing industry, which really sucks.

    If you only buy one all-round HTML guide, my vote's for "Dynamic HTML". It's the best I've found in many different categories.

  19. Isn't 'Dynamic HTML' an oxymoron? by wackybrit · · Score: 1

    There's nothing dynamic about HTML. It's a flat staid format, which while often has bits and pieces added to it, is anything but dynamic.

    When we say DHTML or 'Dynamic HTML', aren't we really referring to the OTHER non-HTML technologies which make Web pages 'come alive'? For example, JavaScript and CSS. Without these the whole concept of 'DHTML' can't even be entertained.

    DHTML really doesn't exist in a concrete sense. It's just a vague concept. If you're going to write a book about JavaScript and CSS, then just say so.

    1. Re:Isn't 'Dynamic HTML' an oxymoron? by conan_albrecht · · Score: 1

      HTML might be static, but since browsers (IE6+ and Mozilla) support Javascript, DOM, and CSS directly (no plugin), we might as well call HTML "Dynamic HTML".

      If you are careful to stick to APIs supported by both browsers, you can program DHTML interfaces that *are* dynamic and don't require plugins.

      IMHO, HTML 4.0 is yesterday's technology. Sites (and full applications) of the future will be built with very complex DHTML.

      See my other post to this article on using DHTML to create fully-dynamic applications (instead of simple web sites).

    2. 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.

    3. Re:Isn't 'Dynamic HTML' an oxymoron? by Anonymous Coward · · Score: 0

      >If you are careful to stick to APIs supported by both browsers, you can program DHTML interfaces that *are* dynamic and don't require plugins.

      OOOOOOOOOOOOhhhhhh..... There's only TWO browsers on the planet, now.

      I suppose there's only Windows as a choice of operating system too.

      (If you can't read between the lines: Opera, Konqueror/Safari, etc)

    4. Re:Isn't 'Dynamic HTML' an oxymoron? by RzUpAnmsCwrds · · Score: 1

      Yes, there are only two browsers on the planet. Internet Explorer has 95% of the market. Mozilla (and derivitives) has 4% of the market. Everything else is 1% or less.

      Everyone can rum Mozilla. Mac users can, Linux users can, even BeOS users can.

      However, no page should depend on DHTML or even Javascript to function. I have a Danger Hiptop, and it irks me that some pages assume everyone uses Javascript. Use Javascript to enhance your page, not to create it.

    5. Re:Isn't 'Dynamic HTML' an oxymoron? by wackybrit · · Score: 1

      Fair enough, but when you say 'program DHTML'.. that really means 'knit together X totally different technologies'.

      Saying you built a site 'with DHTML', is like saying you built a site 'with Macromedia', when you really meant to say you used Freehand, Flash, and Dreamweaver.

      Is pointless semantics, is all. :)

    6. Re:Isn't 'Dynamic HTML' an oxymoron? by HTH+NE1 · · Score: 1

      If you are careful to stick to APIs supported by both browsers

      "What kind of music do you usually have here?"
      "Oh, we got both kinds. We got country and western!"

      The important thing to remember about dynamic HTML websites is that there are more than two browsers out there, some of them support none of your dynamic effects, and some of those are used by people with very large, disposable incomes whom you should not alienate.

      You can design a page which is dynamic for most users and still accessible to the rest. You may have to forego some tricks like anchors with javascript URIs in their HREFs and null-links like <a href="#"> and instead use return false; to make onClick scripts abort following the HREF destination.

      And certainly, you must design your pages to give useful results for the least dynamic of all browsers: the web crawlers of search engines. If they can't access your pages, no one will be able to find them, and you'll be relying on word of mouth and domain name recognition alone to get your pages known. That's a lot more expensive than just designing for accessibility from the start.

      Accessible != static. I've seen static pages that failed accessiblity and accessible pages that were highly dynamic.

      --
      Oh, say does that Star-Spangled Banner entwine / The myrtle of Venus with Bacchus's vine?
    7. Re:Isn't 'Dynamic HTML' an oxymoron? by TheCrazyFinn · · Score: 1

      Amiga users Can't.

      --
      "You've got an invalid haircut" -Warren Zevon - Life'll Kill Ya
    8. Re:Isn't 'Dynamic HTML' an oxymoron? by conan_albrecht · · Score: 1

      I know it's late in the day and you'll probably not read this. But, FWIW, I agree that DHTML isn't good for regular web sites. But for a real application (such as a groupware suite), I think you're justified to tell people to get Mozilla or IE. Your home page shouldn't require them, but an internal app can.

      Opera, Konq, Omniweb, Safari, Dillo, lynx, links, and others simply don't support the full DOM. I don't have anything against these (I'm posting from Safari), but if they don't support it, then they're out for web-based applications that use DHTML.

      Plus, Mozilla includes a lot of browsers. Firebird, Camino, Netscape, ...

    9. Re:Isn't 'Dynamic HTML' an oxymoron? by conan_albrecht · · Score: 1

      Of course there's more than Windows. Let's see, there's WinNT, WinXP, Win95, Win3.1, ...

      (I'm joking of course. I use Debian and OS X. Windows-free since 1996.)

      And of course, there's more than Mozilla and IE. There's Firebird, Camino, Netscape, ... :)

      (FWIW, I'm posting this from Safari). Home pages should accept all browsers. But for web-based apps like complex groupware apps that need DHTML, I think we're justified in asking people to install a browser that supports it. Mozilla is on most platforms (except Amiga, I read, but that should change when someone takes up the challenge and gets the cash award).

    10. Re:Isn't 'Dynamic HTML' an oxymoron? by Anonymous Coward · · Score: 0

      But for a real application (such as a groupware suite), I think you're justified to tell people to get Mozilla or IE.

      But it is getting to be a bit more involved than Mozilla vs. IE. Now for Mozilla you're going to have to upgrade your current stable Linux installation to run the latest Mozilla (I can't get 1.3.1 to install on RH62), and you have to buy a PC and install Windows on it to run IE (discontinued for the Mac).

      Granted, if there isn't any other way to present a site other than dynamically, esp. if it is an artistic choice where the art is the message, requiring a compliant browser is appropriate (even the ADA allows for such exceptions in meatspace), but otherwise it is very easy to mark up a page such that it "degrades gracefully" as they say. I wish I could think up a better term that doesn't convey the thought that such a rendering is inferior, because it isn't inferior, only different.

      And I can't emphasize this enough: you really need to support the web crawlers. If your navigation requires mouse gestures on an imagemap that triggers Javascripts to rewrite HREF attributes, substitute frame content, document.write links into the page, or change document.location directly, you have no chance to be Googled. Unless you want to make your time in obscurity, even the most dynamic pages must allow for some accessibility to browsers with even less capability than lynx.

      Basic navigation of a site should never be dependent upon having a compatible DOM.

  20. Cascading StyleSheets book? by bluethundr · · Score: 1

    though I am still looking for a good, up to date tutorial on CSS (recommendations welcome).

    Good thing I held off on my purchase at B&N earlier today. I literally had this book on Cascading Style Sheetsin my hand before I decided to hold off and get Definitive HTTP instead (because of the recent review on this site. I didn't even notice that the copyright on the Style Sheets book is like from the Year 2000! Weren't we still carving TCP/IP packets byte for byte in stone and using the seeing stones of Anuminas for faster communications at that point?

    I have such admiration for O'Reilly, I wonder when will they get on the stick with an updated book on this topic? Are there any good ones by anyone else that are a little more up to date?

    --
    Quod scripsi, scripsi.
    1. Re:Cascading StyleSheets book? by mlas · · Score: 1

      I would strongly recommend Cascading Style Sheets: Designing for the Web, by Hakon Wium Lie and Bert Bos. Despite the fact that this book is a couple of years old, it's written by a couple of the guys who designed the original CSS spec, and really gives a terrific overview of the language, example layouts, and strong reference. It's fairly platform-agnostic, and as such concentrates on what works in CSS rather than what doesn't work in certain browsers. As the standards compliance of new browsers improves, this book gets better and better.

      Learn CSS from this book, then for those pesky browsers, use the Web for the timely info (bug charts, hacks, etc.)

      --
      "Luck is the residue of design" --Branch Rickey
    2. Re:Cascading StyleSheets book? by khalido · · Score: 1

      You best bet is Zeldman's book. Go see the website and the Amazon page on it. Also his website and the online magazine AListApart contain more usefull stuff on css and web design than most books.

  21. Shut up, Stupid by LibertineR · · Score: 1

    Enough trolling for mod points, okay? Odds are, you dont know what the fuck you are talking about. CSS used properly is the best thing that ever happened to web sites. It makes sites smaller Idiot, by replacing tables with div tags. The gratuitous plug for /. is so fucking phony you should be banned.

    1. Re:Shut up, Stupid by arkanes · · Score: 1
      Markup for a basic table layout is less than that used by the CSS in most cases. Feel free to prove otherwise.

      CSS is great for applying styles. It's layout mechanism sucks ass.

    2. Re:Shut up, Stupid by Xerithane · · Score: 1

      CSS is great for applying styles. It's layout mechanism sucks ass.

      Uhm... you obviously don't have any experience with CSS. DIV layers provide the best positioning system possible within a webpage.

      Just because you don't know how to do it, doesn't mean it sucks ass.

      --
      Dacels Jewelers can't be trusted.
    3. Re:Shut up, Stupid by arkanes · · Score: 1

      Except that I have plenty of experience with CSS, and I don't like it. It sucks ass. It's overly verbose (which is fine, but it makes me want to smack every person who says that using CSS will make your markup smaller). It's awkward to dynamically position elements relative to other elements, unless they are both absolutly positioned. Absolute positioning is lame, so that sucks. Even something as relatively common as "This element should fill the rest of the visible screen, wrapping or clipping where neccesary" is awkward, unless you explicitly position and size everything inside of it. This is one reason why obnoxious web pages with "This web pages designed for 800x600 resolution" or whatever are making a comeback - because relative positioning in CSS is awkward, especially if you want to use DHTML, but just specifying pixel widths and sizes for everything is easy.

    4. Re:Shut up, Stupid by Xerithane · · Score: 1

      Funny... I have very limited exposure to CSS and I don't have any issues with what you are talking about. Dynamic positioning (Relative, I think is what you are saying) makes sense if you just think about math for a bit, and absolute positioning is good for a lot of things (headers, iconboxes, etc.) and I think you miss the whole point of cascading.

      I've built about 3 full-scale apps with web-interfaces to them as well, and they all have used CSS and all work just fine. PEBCAK...

      --
      Dacels Jewelers can't be trusted.
    5. Re:Shut up, Stupid by Anonymous Coward · · Score: 0

      good god, you sound like a 3rd grader...

    6. Re:Shut up, Stupid by Anonymous Coward · · Score: 0
      I find it easier to edit <div>s than <table>, <tr>, and <td>s. For what would previously be a table of 1-column data, I use a css unordered list without a list marker.

      Tables are nice in that they auto-fit around data -- which is nice for borders. I can create a css bordered box, but I have to specify the exact size, which doesn't cut it.

    7. Re:Shut up, Stupid by Anonymous Coward · · Score: 0

      I think you mean PEBKAC. Most people don't consider the chair an initial point of debugging.

  22. 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 gheidorn · · Score: 0

      Molehill = DHTML Mountain = Your Post

    2. Re:DHTML - the new killer GUI? by DoomDoom · · Score: 1

      Sadly no.

      I have tried creating a "killer gui" using dhtml using all the populare dhtm keits out there DunaApi, DomAPI. The gui looks great but unfortunately has a very slow rendering for large amounts of data. That and the fact the most it is not backwards compatible -- meaning that if you are using older version of browsers or pretty much anything other than IE , it won't work. Mozilla and Opera support is spotty (atleast most of the DHTML widgets I used had difficulty in rendering correctly). I am guessing Safari and others also have the same problem.

      So for now, you can only do Killer GUI with plugin- be it Java or Flash.

    3. 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.

    4. Re:DHTML - the new killer GUI? by Anonymous Coward · · Score: 0

      That would be a great idea... if MSIE actually supported recent DHTML standards.

      Duh! Did you not see this one coming? The reason why it's broken and never to be fixed properly is so that anyone trying to do that won't be able to ditch Microsoft and use Mozilla or some other standards-compliant browser.

    5. Re:DHTML - the new killer GUI? by thelexx · · Score: 1

      You've raised the d-n-d issue, which seems to come up every time this topic is discussed. How big of an issue is this really? I can't think of a single app that I use regularly (Win2k - PhotoShop, UltraEdit, SQL Enterprise Mgr, Linux - Sun 1 Studio, Mozilla, Krusader, OpenOffice) that I use dnd in. Granted that's not many apps, and it may just be my usage style doesn't include it, so I'd like to hear any comments.

      I take that back about PhotoShop, I do drag stuff from one image to another occasionally.

      --
      "Gold still represents the ultimate form of payment in the world." - Alan Greenspan, 1999
    6. Re:DHTML - the new killer GUI? by Hard_Code · · Score: 1

      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).

      Absolutely correct! Please stop trying to build fancy-pants GUIs on the web. It just is the Wrong Thing. Unfortunately there really isn't a good solution, although there is cURL (from the creator of the web), and also XUL + nightmarish-scripting-glue.

      sigh

      --

      It's 10 PM. Do you know if you're un-American?
    7. Re:DHTML - the new killer GUI? by tomhudson · · Score: 1
      HTML behaviors and extensions make obnoxious tricks like your hidden window totally unneccesary,&lt/quote>

      My guess is that he's using the hidden window to communicate w. the server, then manipulate the DOM in the visible window. This way, he's free to define all sorts of windows, opening and closing them at will, without having to worry that the "main" window accidently gets closed by the user and his app just disappears.

      Think of it, if he's specifying various target windows by name and/or id, and it gets clicked out of existence, it will be re-created on the next refresh, which I think validates the whole concept of using a hidden window to control everything in this context. :-)

    8. Re:DHTML - the new killer GUI? by vbweenie · · Score: 1

      For that matter, you can embed ActiveX components in HTML pages rendered by IE. But may you rot in hell if you do. I've worked for months trying to automate (via screen-scraping) a web front-end for a third-party application that's built using embedded ActiveX controls *and* an out-of-process server on the client to store state, and it's the biggest heap of bloated crap you ever saw. "Thin client" my ass.

      --
      Experience is a hard school, but fools will learn no other.
    9. Re:DHTML - the new killer GUI? by arkanes · · Score: 1

      Yeah, I know, you don't need to do that with IE. IE's HTML behavoirs specify a "download" behavior that you can use to retrieve the HTML from an arbitrary URL, then call a callback function with the HTML retrieved passed as an argument. IE has alot of this sort of functionality which is great for thin client developers but not the sort of thing you'd want on a general purpose web page document.showModal, for example. No more accidently clicking next to the popup window and sticking it behind the main one! And a whole popup API that makes it much simpler to do things like tooltips or dynamic help.

    10. Re:DHTML - the new killer GUI? by arkanes · · Score: 1

      Depends on your users, I suppose. One of the specs for my current project is that use of the keyboard is to be minimized at all costs, and the mouse should be the primary interface. All the desktop applications use drag and drop pretty much exclusivly. In my personal life, I don't use DnD much either, but apparently some people think it's really important.

    11. Re:DHTML - the new killer GUI? by arkanes · · Score: 1

      If it makes you feel any better, I only write REAL thin clients :P Anything of mine you'd want to use you can screen-scrape just by writing an IE plugin to parse the DOM. ActiveX controls of of the devil.

    12. Re:DHTML - the new killer GUI? by Anonymous Coward · · Score: 0

      Mozilla used XUL to create interfaces.
      Microsoft is working on their own XML language which copies XUL. While the web browser engine may be used to display interfaces, the language will be XML based, not DHTML.

    13. Re:DHTML - the new killer GUI? by Anonymous Coward · · Score: 0

      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.

      I'm sure this is a maintenance delight! So, unless you're a [graphic] designer, how does a design get codified? I know it is possible for a designer to design something and have a programmer code this vision, but in practice this only works first time around. As things get changed (the client says "actually I want green and purple and a four column layout") then bugs tend to creep in.

      Would it not be better to have the server output just XML and then use XSLT to style this? You could still use client side scripting to manage the "refresh" the way you're doing currently but at least you'd separate design from content. So, to change the visual design, you'd just update the XSLT. The client side and server side scripting can all remain the same.

      I suppose the down side of this would be that you could only do this in IE and Moz -- I think these are the only browsers that can handle XSLT? (I could be wrong). Plus you'd have to use different script with each.... oh well, one for the future then. :)

      **Sorry I'm posting as AC - I'm not near *my* computer!

    14. Re:DHTML - the new killer GUI? by okeby235 · · Score: 1

      You should have a look at XUL. It is far superior to DHTML. I am really looking forward to the Moz team spinning off a run time library (apart of the browser) which would allow you to make zero install/zero updates, server side applications.

      Recently prototyped a system with it, lots of things that need polishing but the concept is really great.

    15. Re:DHTML - the new killer GUI? by NoMaster · · Score: 1
      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 (...)
      You don't work for IBM, do you, designing (to not be too specific) IE-based interfaces to data entry and job dispatch systems?

      Because, if you do, I think I want to kill you... ;-)
      --
      What part of "a well regulated militia" do you not understand?
  23. 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

  24. He Speaks Truth by Bame+Flait · · Score: 1

    Avoiding your flamebait "coders" comment, I'll agree with you on this one.

    These days, Javascript is good for one thing only, and that's client-side manipulation of forms using the DOM (dynamically generating form fields, for instance). In terms of simplicity of information display, I'm finding more and more that the answer lies in using XML (notably XPath and XSLT) for complex data display.

    I use flash as well, but I use it for tools internally that need to be available through a browser that also require some GUI elements. Other designers need to take a hint though, and recognize that minimalism is the way to go for effective presentation of information.

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

    the definitive reference for HTML is located at the W3C.

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

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

  27. 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
  28. I learned everything I need to know from moderatio by Anonymous Coward · · Score: 0

    Troll!

  29. I agree by Anonymous Coward · · Score: 0

    DHTML is a waste of coder time, a waste of bandwidth, a waste of CPU processing and a waste of my time.

    Besides, most DHTML coders only test their crap on Win/MSIE...

    Also, what about people without javascript (turned off or incompatible with their crappy code), they can't use your websites? Too bad, they'll just go SOMEWHERE ELSE (and God knows there's a lot of "somewhere else" on the Web).

    1. Re:I agree by Hungus · · Score: 1

      I wish more people would agree with your belief. I had to argue long and hard but I managed to get our entire deployment free of cookies, java and ecma(j/s). Did it take more work on my part? Sure it did. But now the only issue I have is with CSS and I freaking E. I personally test first under safari, then mozilla and make teh rest of teh team test under IE so I dont have to test it myself. It never fails to amaze me just how broken IE's implememntation of HTML is. Whatever happened to if you dont understand it ignore it? dont try and do some half baked implementation that fouls everything else up.

      --
      Bad Panda! No Bamboo for you! In matters of importance ACs will not be responded to. Want to say something critical,OK
  30. 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]
  31. What does this mean? by Anonymous Coward · · Score: 0

    Does this give more credibility to the claims by SCO?

    Is this marketing stuff or does Sun find merit in the claims?

    I don't know, that's why I'm asking, so be nice please!

  32. OT but true!!! by psgalbraith · · Score: 1

    I thought this was a joke. But look for yourself:

    First, I went to the URL mentionned above and thought it could be unrelated. But click on the PDF News item on the right side!

    It's true!

  33. Don't Forget the Cookbook by _newwave_ · · Score: 1

    Since I have had the recent freedom of no longer being concerned w/ NN 4.7-, I have been untilizing dhtml much more. I picked up the Defenitive guide along w/ it's perfect companion, JavaScript & DHTML Cookbook, also written by Danny Goodman. Like the rest of the cookbook series, it is more of a how to aimed at teaching one how to do the common tasks involved w/ DHTML, from conversions, use of objects & arrays to creating an xml (tree|dropdown|right click) navigation menu.

    IMO, these are the only two books you need to learn DHTML.

  34. "We, the general surfing public" by Infonaut · · Score: 1
    Hmm... methinks your handle "PhysicsGenius" gives the lie to your comment. My feeling, based on a lot of up-close examination of web usability tests, is that your emphasis on "just give me the data" is not shared by the majority of Web users. ;-)

    But seriously, the web design community has learned a lot over the years about usability. Ultimately the issue for the *real* general public is that they want sites that look good, are easy to navigate, and provide them with helpful information and/or transactional capability.

    Users do like "dynamic" things, as long as they're applied in a way that doesn't detract from the user experience. Your unattributed comment about 95% of bandwidth being "wasted" is without a frame of reference. Wasted in what sense? If you mean that there are meaningless graphics and user interface elements, you're presupposing that every viewer would stick with a site that isn't visually appealing. Give us a link so we can find out the basis of this 95% figure.

    I agree that many sites suffer from hopeless bloat, but I'm not sure that you understand how web development at large organizations works. Everyone has their paws on the "web effort", and it takes Herculean effort to get basic things like thorough architecture, usability testing and the like. It's maddening as hell when you're the person who is supposed to put the lipstick on the pig.

    Remember that the web development community has come along way over the past few years. If you look at the most successful commercial sites (Amazon, eBay, etc.) you'll see that in general they are able to balance marketing and advertising needs with highly useful interfaces.

    Finally, by grouping Java, Flash, Javascript and CSS in one category, you're betraying an ignorance of which technologies cause bloat, and which can relieve it. Well-applied XHTML and CSS looks better and loads faster than the old-school HTML that you so love.

    --
    Read the EFF's Fair Use FAQ
  35. Phaeton Sez by Anonymous Coward · · Score: 0

    IMHO i don't think that the web should be "dynamic" at all. Some dynamics do add useful functionality. But the problem is, for every 1 serious web developer that uses the technology properly, there's 50 drag-n-drop self-proclaimed "web designers" that will abuse it as a form of dick-waving.

    Just today someone was trying to interest me in some service that embeds sound recordings into a website. Useless annoying technology.

    And while we're on the subject, I also say that HTML, sound, animated gifs, or any of that shit does NOT belong in email.

    Plain text email, simple web pages. Let's get our Innerweb back!

  36. 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. =)

    1. Re:DHTML apps by ProfKyne · · Score: 1

      And soon we J2EE developers will be doing similar with JavaServerFaces. It seems like a much nicer level to work in.

      --
      "First you gotta do the truffle shuffle."
    2. Re:DHTML apps by tomhudson · · Score: 1
      Use some Javascript to do some form validation </quote>

      ... but don't forget not to trust what your form returns, just because you validate it with some script. There's nothing to stop people from modifying your form to submit bad values (I know, many already know this, but there are still a lot of people who don't, or forget it).

      The only purpose of form validation on the client is to prevent useless round trips to the server.

  37. Re:the general surfing public by ShieldW0lf · · Score: 1

    No, you listen up.

    All your servers are belong to us. We write the code, we control all the doors, we hold all the keys. You will take what we decide to give you, and you will bloody well like it.

    --
    -1 Uncomfortable Truth
  38. SUN is advertising FUD about IBM concerning SCO by psgalbraith · · Score: 1

    Since the parent post was moderated -1 (off-topic, which it is), my changed subject line made no sense without seeing the parent post as context, so I posted this too to help.

  39. Yes, but... by Lord+Grey · · Score: 1

    ... what is the air-speed velocity of an unladen African or European flamingo?

    --
    // Beyond Here Lie Dragons
  40. 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
    1. Re:CSS References by pigwin32 · · Score: 1

      There is one book I have found brilliant as a tutorial for css - Eric Meyer's Eric Meyer on CSS. It is a great way to learn css, each chapter is a project, and the projects are challenging and informative.

      Also worth a mention (although why I should be giving him another free plug when his name is plastered over the sites and blogs of anyone who knows what CSS stands for - hint: it isn't cross-site scripting) is Zeldman and his new book designing with web standards. I'm a third of the way through it and it is an engaging read but I'm still looking for the meat.

      Otherwise there are a bunch of on-line resources at W3C.

      BTW, it's worth persevering, I recently replaced a gif menu and javascript rollovers with the equivalent xhtml/css and knocked over 20K off the homepage. Performance improved enough for customers to contact my employer to comment and that's feedback worth getting.

      Dave

  41. You sir are one of the greats by Anonymous Coward · · Score: 0

    I don't believe this is at +4 interesting and I will get modded down as flaimbait or a troll. You know what I'm talking about. Do you have the formula for flubber as well?

  42. SO WHAT? by Anonymous Coward · · Score: 0

    WTF do I care if Sun replaces AIX with solaris?

    Who am I?
    Does it write IBM on my forehead?

    I don't get it. Are we supposed to be IBM zealots or something here?

    Think before you are pissed about something.

    1. Re:SO WHAT? by psgalbraith · · Score: 1

      Means that SUN is helping to spread FUD about using Linux.

    2. Re:SO WHAT? by Horny+Smurf · · Score: 1

      Sun also sells boxes that run linux, and has donated code to the linux kernel, gnome, etc. They make their money from hardware, not software. If you want FUDge, check cowboy neal's underpants.

    3. Re:SO WHAT? by psgalbraith · · Score: 1

      It looks like the AIX arm of SUN cares if it's hurting the Linux arm. If IBM+Linux is risky, why would SUN+Linux not be?

    4. Re:SO WHAT? by psgalbraith · · Score: 1

      I meant _doesn't_ look like the AIX arm of SUN cares if it's hurting the Linux arm. If IBM+Linux is risky, why would SUN+Linux not be?

    5. Re:SO WHAT? by Anonymous Coward · · Score: 0
      Sun's first press release claimed that their license rights (originally with ATT) covered any potential problems with Solaris AND linux.

      Remember when unisys went around asking web hosting companies to pay license fees for serving gif images (regardless of whether they were created with a licensed program or not)? Same sort of issue. If SCO is right (hahahaha) you need a unix license to use linux.

  43. Re:Am I troll or am I not? by Anonymous Coward · · Score: 0

    No you are not a troll. Feel better?

  44. Good ol' Danny G. by elluzion · · Score: 1

    Also wrote "The Javascript Bible", which almost single-handedly carried me through my first job out of college.

  45. Sounds great by lazira · · Score: 1

    but perhaps it's just that someone named "honestpuck" is reviewing a book by a "Goodman".

    1. Re:Sounds great by honestpuck · · Score: 1

      ROFL - good one.

      Tony 'honestpuck' Williams

  46. Re:right tool for the job by tomhudson · · Score: 1
    1. Every browser has a default set of style rules.
    2. If you don't like the way a style is rendered, you can either associate a style sheet with your page, or do in-line style stuff
    3. html is about structuring documents (head, body, title, h1 thru h6, p, meta, etc). Remember that html is a subset of sgml (standard generalized markup language), which is also concerned with the structure of a document, not its' appearance.
    4. using html tags to dictate style is bad practice
    5. css isn't that hard to learn: a tutorial from the w3c standards organization
    6. The document structure can be thought of as the layout only in the same sense that a book has covers, a table of contents, chapters, and maybe an index.
    7. The document layout can be thought of as the fonts, paragraph indentation type, line spacing, colors, etc.
    8. What you are complaining about when you are complaining about the rendering of tables with a default border style is controlled by css, not html
    take the plunge, combine css and javascript and you've got a kick-ass system.
  47. Definitive ???? by kilimangaro · · Score: 1

    How can a DHTML guide can pretend to be definitive ??? Client Javascript is implemeted diffrently in each browser... and worst... each browser VERSION !

    --
    "Insanity in individuals is something rare, but in groups, parties, nations, and epochs it is the rule." - Nietzsche
    1. Re:Definitive ???? by mark_lybarger · · Score: 1

      some technologies are best left alone, by the wayside. the web was not ment to deliver client applications. java script is a bad attempt to push a round peg into a square hole.

    2. Re:Definitive ???? by uglyMood · · Score: 1

      I suggest you drop by a bookstore and look the book over before dismissing it. I've been designing and coding sites since '96, and this book is by far the best overall reference to browser-based web technologies I've found. Here at the office, we call it "the Bible." As a side note, for people asking what good DHTML is, the ability to format a complex page without a bazillion nesting table tags seems like an excellent place to start. From a maintenance standpoint, give me well-crafted DHTML over HTML any day.

      --
      "No matter where you go, there you probably are." -- Buckaroo Heisenberg
    3. Re:Definitive ???? by kilimangaro · · Score: 1

      Maybe its because i've got only (almost) bad experience with DHTML... but It's really a pain to do some nice effect that is COMPATIBLE with all browsers.
      We use DHTML intensivly but only for the private administrative section of the Web Site and it work just with IE 5.5 ( or >).
      When its time to do some fuzzy menu in the public side, we use flash.

      --
      "Insanity in individuals is something rare, but in groups, parties, nations, and epochs it is the rule." - Nietzsche
    4. Re:Definitive ???? by sbszine · · Score: 1

      It's a very very very thick book in order to cover all variants. In my horror days of DHTML coding the first edition was my bible, and was never missing any information, no matter how obscure the client.

      --

      Vino, gyno, and techno -Bruce Sterling

  48. 2nd Edition?-Step on a crack... by Anonymous Coward · · Score: 0

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

    If you have to beef up the suspension to get this book home? Then I guess you have to beef up the road to get the Sendmail book home.

    BTW When will reference books start coming on CD, or DVD?

    1. Re:2nd Edition?-Step on a crack... by Horny+Smurf · · Score: 1

      I've seen lots of reference books on CD. Search gnutella, kazzaa, eDonkey, etc. for ebooks.

  49. 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.

  50. Dynamic HTML-Scripted interfaces. by Anonymous Coward · · Score: 0

    "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."

    And yet XUL, nor XBL hasn't taken off.

  51. 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.
  52. Re:the general surfing public by All+Your+Base+Nazi · · Score: 0

    Just a quick heads-up: I think you were looking for, "all your server are belong to us." Don't be too hard on yourself, as it's probably the most common AYB mis-reference, but please do try to take more care in the future.

    --

    Keeping All Your Base parodies correct since AD 2002.
  53. We Know by Anonymous Coward · · Score: 0

    Thank you for bringing us yesterday's news. What, are you trying to get a place on the slashdot editorial staff?

  54. Re:table layout vs css by tomhudson · · Score: 1
    Markup for a basic table layout is less than that used by the CSS in most cases. Feel free to prove otherwise.</quote>

    And markup for a table with individual cells with links to all sort of info, on a row-by-row or cell-by-cell basis, is more efficiently generated by a script, especially if you can offload the script generation onto the client's machine with a few lines of javascript.

    And then there's the side benefit of having the page dynamically generated, so all those links can be updated in real time, as opposed to having to code them by hand -)

    Throw in a bit of css, some event handlers, and you've got something that just can't be done in static html.

  55. DHTML - the new killer GUI?-Ahead of the curve. by Anonymous Coward · · Score: 0

    Maybe when OpenGL Windowing systems become more popular then maybe browsers can keep up. After all there's many an example were the idea was ahead of the technology.

  56. Mod parent up. by Animats · · Score: 1
    Agreed.

    You can do everything you really need to do with HTML tables. If you're doing web-based entertainment, then you can use Flash. Most JavaScript either does something the user doesn't want you doing, like popups, or something you shouldn't have to be doing, like browser recognition. (Yes, you can do form validation, and that's about all you should be doing. Simple form validation should have been done in a declarative way in HTML, anyway. IBM had that working on green-screen terminals twenty years ago.)

    Just stay with classic HTML 3.2, compose with Dreamweaver 3, and your sites will work well in all browsers. The users will never notice the difference, except that everything will work. After all, web sites look today pretty much like they did with HTML 3.2.

  57. Re:This book is good by tuxathon · · Score: 1

    The above was moderated Flamebait, and it was retarded, but I do agree with the poster about the lack of valuable information in O'Reilly books. Their books tend to be poorly organized, short on good examples (with good explanations), and long on the author's "expert" comments on the specific subject. At times I've had to set an O'Reily book down simply because I felt the author was trying to impress me with his knowledge instead of teach me the subject.

    I've read several O'Reilly books about Java, HTML, DHTML, JS, CSS, etc. I have been impressed with none of them. Each one of them was a "definitive guide" (except the Java book; I believe it was a "nutshell" book), but ended up looking elsewhere for good learning resources. I ended up simply going to the internet to find good tutorials on web dev. I like echoecho.com for simple/beginner HTML. I liked the CSS spec for CSS, Ivor Horton's Beginning Java for Java. There are several good DHTML tutorials at the W3C website.

  58. Re:size and verbosity by tomhudson · · Score: 1
    It's overly verbose (which is fine, but it makes me want to smack every person who says that using CSS will make your markup smaller)</quote>

    That's why you should use a "Cascade" of style sheets, and not just one, or (horrors) in-line styles.

    This way, most of your css is in a default sheet, and any per-page or per-area customizations can be pretty small files, instead of including all the rules.

    The same applies to the javascript used for dynamic effects, validation, etc. Common functions in a default file, rarely-used functions in other included files.

    2 or three lines of extra <style src=/css/default.css> and <script src=/js/default.js> go a long way.

  59. Re:table layout vs css by arkanes · · Score: 1

    server side content generation doesn't really have anything to do with CSS. Client side creation of tables is a tossup - I go with generating the HTML (and the CSS for styling, and the javascript) on the server, because then my pages work without requiring Javascript. And it's a cleaner interface to the user, and faster rendering on the browser.

  60. Mod parent up by BigBadBri · · Score: 0
    Which glorified typist / webmonkey modded the parent down to -1 redundant?

    Everything the parent says is right on the button, especially the point about overdesigned sites.

    Simple, static HTML is good - even frames are an abomination that should be banned.

    If someone wants to create a new mark-up language (OBML - Overdesigned Bollocks Markup Language, perhaps) and use that for ugly tarty websites, then good luck to them.

    For myself, I'll continue to browse with Javascript disabled, and if a site doesn't display properly in flat HTML, then I won't use it.

    --
    oh brave new world, that has such people in it!
  61. Yes, he can. by finelinebob · · Score: 1

    Danny Goodman's been publishing computer books since before most of the people reading /. have been alive. His greatest strengths are certainly with JavaScript and working with the DOM, but if you've ever wondered, for instance, something like document.getElementById("doh").style.top comes out as "auto" and not the 100px you set it to, you'd appreciate his understanding of CSS and how it interacts with JS and the DOM as well. If I could hazard a guess, I'd bet that Goodman uses "attributes" since (1) the book is really centered on the DOM and "property" has a rather specific meaning within an object-based framework, and (2) since CSS properties are parallel to HTML tag attributes, the term isn't all that alien.

    True, if what you want is a CSS reference, then Eric Meyer is the one to look to -- but for a pure reference, I'd recommend his Cascading Style Sheets 2.0: Programmer's Reference by Osborne. The O'Reilly book was dated the day it was published, since they didn't want to cover some of the more advanced CSS2 subjects.

    Those two books -- Goodman's DHTML and Meyer's Osborne-CSS references -- are the only one's I need to keep chained to my desk so that my colleagues don't walk off with them.

  62. A GREAT reference book. by sirshannon · · Score: 1

    This book sits on my shelf along with Thomas A. Powell's HTML: The Complete Reference, Second Edition. These are 2 of the best reference books I've ever seen. I pick up so-called "reference" books all the time that are nothing more than product walk-throughs, case studies, or vague overviews. A good reference book is hard to find and invaluable once found.

  63. Re:table layout vs css by tomhudson · · Score: 1
    Well, we weren't talking about server-side generation, which is off-topic (the discussion is about DHTML). For that I use php :-)

    but think of it - any time you can get the client to do the work, you've taken a load off the server. For a 10-line table, we're not talking any difference, but for a 200-line table with each cell being clickable, and a different url for each row (to contain the necessary data and user info), we're talking a significant lessening of the load on the server.

  64. Fuck DHTML by Anonymous Coward · · Score: 0

    Client-side scripting sucks.

  65. Sorry about the links by Chad+E+Dirks · · Score: 1

    And clearly I need to learn how to post links. Sorry about that.

  66. CSS Books by qengho · · Score: 1


    a good, up to date tutorial on CSS

    I second the AC's recommendation of anything by Eric Meyer, especially Cascading Style Sheets: The Definitive Guide (O'Reilly). His latest, Eric Meyer on CSS, is a hands-on tutorial/workbook.

  67. Re:right tool for the job by Anonymous Coward · · Score: 0

    speaking as a big CSS fan:

    Using HTML tags to dictate style is the only reason you or I ever even heard of this internet thing.

    HTML is not about structuring documents. Neither was SGML, in practice. It's primary use has always been for formatting. Besides, HTML is not "generalized." It is specifically designed for marking up hypertext. And hypertext is not a universal data format. Maybe that's what XML is for. Hypertext not just a method of linking documents either. One tag takes care of that. It is a way to present text, not a way to organize it.

  68. Re:right tool for the job by tomhudson · · Score: 1
    <quote> Using HTML tags to dictate style is the only reason you or I ever even heard of this internet thing. </quote>

    Not really. I remember browsing the web w. a text-based browser thru compuserve way back when (early '90s)...

    <quote> HTML is not about structuring documents. </quote>

    The guy who invented it back in 1991 (Tim Berners-Lee, not Al gore) would disagree with you. Here's what the W3C says:

    HTML uses tags such as <h1> and </h1> to structure text into headings, paragraphs, lists, hypertext links etc.

    As to the other comments,

    1. I never said HTML was "gneralized". rather that it derived/was inspired by sgml.
    2. I never claimed that hypertext was a universal data format
    HTML is a way to organize text by semantics.

    Presentation has nothing to do with HTML, as this is completely controled by the user agent. HTML declares something is a title, a list, a document body, a paragraph, a table, etc. It doesn't specify how user agents render the content. For example, audio user agents would render a document differently than visual agents, cell phones would be another case, text-mode browsers another, etc.

  69. 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.

  70. HAIKU ERROR IN LINE 2 by Anonymous Coward · · Score: 0

    A Haiku needs to have seven syllables in line 2, not eight, dumbass.

    YOU FAIL IT!

  71. Re:the general surfing public by ShieldW0lf · · Score: 1

    I'll try and get it right in the future.

    --
    -1 Uncomfortable Truth
  72. Comments aren't a prob by metalhed77 · · Score: 1

    slashdot lets you use only a few tags. Otherwise, all kinds of shit could fuck it up.

    Slashdot could be rewritten XHTML1.0 strict compliant, still function in all reasonably recent browsers, but truthfully, no one cares. No one does deep semantic analysis based on HTML, and everyone's browser renders it fine. Hence, slashdot is fine. Now, the ugly ass green theme, and the new, even uglier games section, well that needs fixing.

    --
    Photos.
  73. Just bought this book last week... by gse · · Score: 1
    It's great. Very well-written and well-organized, and covers all the things I need as I work through my first real DHTML application (a fairly substantial one). It's a solid reference -- and includes lots of good platform-specific gotchas -- but it also has some great prose that's worth reading.

    I also bought Goodman's JavaScript & DHTML Cookbook and it's excellent as well. I refer to it for ideas quite often.

    I recommend both books highly. Nice job by Mr. Goodman.

    --
    wordclock records :: flailing since 2000
  74. Re:This book is good by NickFitz · · Score: 1

    A "Nutshell" or "Definitive Guide" book isn't a learning resource; it's a reference.

    If you can't be bothered to find out what a book is for before you buy it, that's your problem. O'Reilly have full details of all their books on their website, with sample chapters. Just check it out before you buy it; if you don't know enough about the subject to make use of the book, go elsewhere.

    Java in a Nutshell is what it says - an encapsulation; not "Everything You Might Ever Want to Know About Java in 28 Days!!!". That's why it has that title, and is part of that series.

    The Definitive Guides won't teach you the basics; that's why they aren't called "The Definitive Tutorial". They are the best reference books on their subjects, and the best to consult when you're most of the way there.

    I believe some people do produce books with "For Dummies" in the title, but as you know enough to read O'Reilly books, they really should be beneath you ;-) But please don't expect a book to do something other than what it says it will. I use O'Reilly's books every day, but I go elsewhere when I'm beginning.

    And to get back on topic: I have well-worn copies of the first and current editions of this book, and it is the book to look stuff up in. But it won't get you through the start of the learning curve. That's what the web is for.

    --
    Using HTML in email is like putting sound effects on your phone calls. Just say <strong>no</strong>.
  75. Siebel? by Anonymous Coward · · Score: 0

    Sounds like Siebel...

  76. Re:FAILURE FAILURE FAILURE! by bobtheprophet · · Score: 1

    Your haiku is weak
    But still, you are trying hard
    Ultimate power!

    --
    Don't give me none of this "nature theme" business.