in reply to Re^2: CGI and System Administration
in thread CGI and System Administration

I used Dojo quite extensively for a year and I never used a non-XHTML attribute. That's only one way of using it.

My criteria for good software:
  1. Does it work?
  2. Can someone else come in, make a change, and be reasonably certain no bugs were introduced?

Replies are listed 'Best First'.
Re^4: CGI and System Administration
by Your Mother (Archbishop) on Apr 04, 2008 at 20:59 UTC

    Thanks for noting it (and good for you for taking the high road on it -- it's a pet peeve that so many "use strict or die" Perl hackers have a "So what, as long as it works in IE," attitude about XHTML/CSS). I don't know if it was the earlier version of Dojo (I think it was 0.4) or what but the code I inherited was rife with it and there were no alternatives offered in any forum post, code sample, or the very, very few documents I could find.

      Oh, you can so write your stuff with the non-standard attributes and, in fact, that's the recommended way to do it. That said, I find it a lot nicer to use code that I can actually control. I don't trust anyone to parse my XHTML other than the browsers and then, I only trust so far. I certainly don't trust someone walking the DOM. I don't even trust my own DOM-walking code. Hence, why everything gets created by hand.

      My criteria for good software:
      1. Does it work?
      2. Can someone else come in, make a change, and be reasonably certain no bugs were introduced?