Slashdot Mirror


NYTimes.com Hand-Codes HTML & CSS

eldavojohn writes "The design director of NYTimes.com, Khoi Vinh, recently answered readers' questions in the Times's occasional feature 'Ask the Times.' He was asked how the Web site looks so consistently nice and polished no matter which browser or resolution is used to access it. His answer begins: 'It's our preference to use a text editor, like HomeSite, TextPad or TextMate, to "hand code" everything, rather than to use a wysiwyg (what you see is what you get) HTML and CSS authoring program, like Dreamweaver. We just find it yields better and faster results.'"

496 comments

  1. Hand-coding? by mr100percent · · Score: 1

    But don't your hands get tired?

    1. Re:Hand-coding? by Alwin+Henseler · · Score: 1

      But don't your hands get tired? Sure, but keyboards work with your feet too, you know. That's the reason real coders of any kind (including HTML coders) have at least 2 keyboards at their disposal: one for collecting bread crumbs, and another one to collect foot.. ehm... smelly stuff.
    2. Re:Hand-coding? by Anonymous Coward · · Score: 0, Funny

      That's what SHE said

    3. Re:Hand-coding? by RuBLed · · Score: 4, Funny

      Overhead at an outsourcing facility:

      Hand-coding agent: I hate this guy, he's refreshing his browser every minute on the same news. I can't keep up.

      Hand-coding supervisor: PrintScreen it!

      Hand-conding agent: Brilliant!

    4. Re:Hand-coding? by nxtr · · Score: 5, Funny

      Please refrain from alluding to such explicit language. For goodness sakes, Slashdot is not the Netherlands after 9 PM.

    5. Re:Hand-coding? by The+Clockwork+Troll · · Score: 1

      Yuck, the operative word being "disposal".

      You must keep Logitech in business!

      --

      There are no karma whores, only moderation johns
    6. Re:Hand-coding? by Anonymous Coward · · Score: 0

      Please mod the parent to funny!

    7. Re:Hand-coding? by dotancohen · · Score: 1

      That's the reason real coders of any kind (including HTML coders) have at least 2 keyboards at their disposal Real programmers use butterflies.
      --
      It is dangerous to be right when the government is wrong.
    8. Re:Hand-coding? by Russellkhan · · Score: 2, Funny

      Emacs has a mode for that.

      --
      Information doesn't want to be anthropomorphized anymore.
    9. Re:Hand-coding? by Anonymous Coward · · Score: 0

      Dammit, emacs.

  2. Yes, and? by Anonymous Coward · · Score: 1, Informative

    This is the case for almost any dynamic website. There's no story here.

    1. Re:Yes, and? by Anonymous Coward · · Score: 0

      What kind of person sits around raging about Fallout Boy fans on Slashdot?

    2. Re:Yes, and? by Jellybob · · Score: 3, Insightful

      How I wish that was true.

      It's the case for almost any *large* dynamic website, but having spent a couple of years doing web development in the design industry, I can tell you that at least in the UK, a large proportion of the small agencies are using Dreamweaver for most things.

      Fuck knows why - I'd rather be handed an Illustrator file and turn it into HTML then have the crap that Dreamweaver spits out given to me, and have to try and turn it into something dynamic.

    3. Re:Yes, and? by phlinn · · Score: 1

      Assholes with a superiority complex? Seems to fit the tone of your parent post.

      --
      "Pulling together is the aim of despotism and tyranny! Free men pull in all sorts of directions" -- Havelock Vetinari
    4. Re:Yes, and? by skuzzlebutt · · Score: 1

      Concur...I use Dreamweaver to come up with my static content and site layout, but then I break the html file apart into objects to be called by PHP, all manually coded and maintained. Dreamweaver is as bad as Frontpage at mangling what should be simple tasks; it can't even be trusted with style sheets.

      --
      My debut novel AMITY now available: http://jeremydbrooks.c
  3. Works for me too by mrbluze · · Score: 2, Interesting

    I find that hand-coding works for HTML/CSS, provided of course you include it in a scripting language like PHP.

    It's less work than it sounds and the results DO look better - you get a more original look and things can be made to look exactly how you want, instead of being restrained by the wysiwyg software's design limitations.

    --
    Do it yourself, because no one else will do it yourself. [beta blockade 10-17 Feb]
    1. Re:Works for me too by SanityInAnarchy · · Score: 0, Offtopic

      I agree, provided you use a language that doesn't make my eyes bleed. Die, PHP, die.

      --
      Don't thank God, thank a doctor!
    2. Re:Works for me too by kc2keo · · Score: 1

      I agree. Hand coding works for me. I created my site with a template design where I could adapt and add upon it easily. Its just a mix of HTML + CSS. I can't really go into too much detail on it as I'm tired and drunk but my main point is that if you design it right you could adapt it to other web sites easily with little modification. The site I have visually sucks but its undergoing a graphical redesign...

    3. Re:Works for me too by oni · · Score: 1

      I find that hand-coding works for HTML/CSS

      +1 from me too.

      I have no design sense, so I usually have an artsy person sketch up what they want (they do it in photoshop a lot of times). Then I do a prototype in bare HTML/CSS and make sure it validates against the strict DTD and renders correctly in the big five browsers (and I still test with IE6 too). They I write the code to make it dynamic.

      This is a winning strategy. Everybody should do it this way. WYSIWYG editors are never going to work until every browser uses the same rendering engine.

    4. Re:Works for me too by CastrTroy · · Score: 1

      I just had this conversation with my boss yesterday. He was saying that one of our web designers should use FrontPage. I was saying that, as was the web designer, that there was no problem with NotePad++, and that using it actually yielded much better results than any wysiwyg editor. Wysiwyg editors are nice if you don't know any HTML at all, and still need to get the job done. But if you ever have to tweak anything by hand, you'll wish you had just coded it by hand in the first place. Also, you can use the Wysiwyg editors and code everything by hand. It makes it easier to switch back and forth between the code and the design. However, once you do that, you're just spending a bunch of cash for a tool that lets you switch between windows.

      --

      Anthropic principle: We see the universe the way it is because if it were different we would not be here to see it.
    5. Re:Works for me too by Cjstone · · Score: 1

      Also, you can use the Wysiwyg editors and code everything by hand. It makes it easier to switch back and forth between the code and the design. However, once you do that, you're just spending a bunch of cash for a tool that lets you switch between windows. Actually, one of the best website development tools I've ever used was Quanta+, an open source program for the KDE desktop. No money required.
    6. Re:Works for me too by Yetihehe · · Score: 1

      Many do it this way (including me). Making pages (especially dynamic) in wysiwyg way is most often frustrating. I still use dreamweaver, but just to occasionally view effects. Otherwise for pure coding Zend studio is a lot better.

      --
      Extreme Programming - Redundant Array of Inexpensive Developers
    7. Re:Works for me too by Yetihehe · · Score: 2, Interesting

      It makes it easier to switch back and forth between the code and the design. However, once you do that, you're just spending a bunch of cash for a tool that lets you switch between windows.
      But tools like dreamweaver are good at showing layout of not yet completed code, it can be really useful sometimes.
      --
      Extreme Programming - Redundant Array of Inexpensive Developers
    8. Re:Works for me too by MightyYar · · Score: 1

      There is one semi-WYSIWYG editor that I really like for small projects: RapidWeaver. You can make pretty nice sites using it, and it works fairly well with PHP. It's especially good for sites where you just want SOMETHING up fast... you can use their templates. Later, you can customize the templates or even code one by hand. The built-in templates look the same on all the major browsers AFAIK.

      --
      W..w..W - Willy Waterloo washes Warren Wiggins who is washing Waldo Woo.
    9. Re:Works for me too by spun · · Score: 1

      It's not the language. You can write code in any language that sparkles and makes other coders smile, or you can write crap. Don't blame the tool for the schlock some people make with it.

      PHP is like BASIC, it happens to appeal to amateurs.

      --
      - None can love freedom heartily, but good men; the rest love not freedom, but license. -- John Milton
    10. Re:Works for me too by mweather · · Score: 2, Informative

      Not really, unless you're using tables for layouts. CSS layouts don't look right.

    11. Re:Works for me too by Lennie · · Score: 1

      And Java is for over-engineers. ;-)

      --
      New things are always on the horizon
    12. Re:Works for me too by billcopc · · Score: 1

      Funny, of all the web languages I've used, PHP is still my favorite. All these new ones are sugar-coated poop.

      PHP is far FAR from perfect, but it is expressive enough that I can build upon it in a structured and dependable manner. It lets me get things done quickly and painlessly, which is all that matters at the end of the day.

      --
      -Billco, Fnarg.com
    13. Re:Works for me too by thetoadwarrior · · Score: 1

      As much as I like hand coding (all my sites are hand coded) for a business it makes no sense and if you have a decent CMS, like Vyre Unify, and decent designers on hand then you site shouldn't look like some cookie cutter web site.

  4. It's not news by wal9001 · · Score: 1

    It's slashdot.org! /Wrong site?

  5. Great idea! by Anonymous Coward · · Score: 5, Funny

    Maybe we can use this idea to write programs, too.

    1. Re:Great idea! by Anonymous Coward · · Score: 0

      New York Times pumps out only the finest HTML, lovingly hand-coded by highly trained IT nerds who care.

      Of course, after the next round of layoffs, they may have to outsource it all to Bengali peasants or, more appropriately, a sweat shop full of old-school red book waving Chinese peasants!

  6. Another opportunity to post... by bennomatic · · Score: 3, Funny

    The badge I used to put on all my sites...

    --
    The CB App. What's your 20?
    1. Re:Another opportunity to post... by Anonymous Coward · · Score: 0

      Or this badge, heh.

    2. Re:Another opportunity to post... by Gerald · · Score: 1, Funny

      I used to use this one.

    3. Re:Another opportunity to post... by bennomatic · · Score: 4, Funny

      Nice. I once thought about making an image that said, "This site best viewed in Lynx."

      --
      The CB App. What's your 20?
    4. Re:Another opportunity to post... by yotto · · Score: 2, Informative
    5. Re:Another opportunity to post... by metlin · · Score: 1

      Well, that's poor design - blinking bright green on black? :-\

      ESR's HTML Hell page comes to mind.

    6. Re:Another opportunity to post... by MikeBabcock · · Score: 1

      That's just excellent :-)

      Personally, I do actually use vim, and I really need a good button for it.

      --
      - Michael T. Babcock (Yes, I blog)
    7. Re:Another opportunity to post... by IwantToKeepAnon · · Score: 1

      (link is an image)Any Browser .... it's close.

      --
      "Happy families are all alike; every unhappy family is unhappy in its own way." -- Anna Karenina by Leo Tolstoy
    8. Re:Another opportunity to post... by bennomatic · · Score: 1

      Yes, as a matter of fact!

      --
      The CB App. What's your 20?
    9. Re:Another opportunity to post... by ignavus · · Score: 1

      "This site best viewed in telnet."

      <put all your jokes inside tags - only the telnet users will be able to read them>

      --
      I am anarch of all I survey.
    10. Re:Another opportunity to post... by bennomatic · · Score: 1

      Nice.

      --
      The CB App. What's your 20?
    11. Re:Another opportunity to post... by Phantom+of+the+Opera · · Score: 1

      Plattdot? heheh. Wat O'Clock?

  7. W3C by FST · · Score: 4, Informative
    --
    46487 466780 252994 376409 96920 39622 205366 244315 622115 512361 668040 63608 259203 955314 811176 652718 166330 23922
    1. Re:W3C by Anonymous Coward · · Score: 0

      Interestingly, most of those errors seem to be related to their use of & instead of & amp;. Also, they use
      in HTML 4 and it is telling them that they shouldn't do that because some web browsers will think it's wrong. If you hand code everything, shouldn't you have checked for things like that?

    2. Re:W3C by Bogtha · · Score: 1

      It's awful, especially as these are easy errors that can be fixed without any problem whatsoever. The vast majority of errors are:

      • XHTML syntax for empty elements in an HTML page.
      • Unencoded ampersands.
      • Forgetting required attributes like alt and type.
      • Forgotten end tags.

      These are the kind of things any new developer would be able to fix in half an hour on his first day on the job. This demonstrates not that they cannot write valid code, but that they don't bother to check. It's like a newspaper editor not bothering to use a spelling checker — sloppy.

      --
      Bogtha Bogtha Bogtha
    3. Re:W3C by tepples · · Score: 2, Interesting

      Forgetting required attributes like alt What is the correct value of the alt attribute for the CAPTCHA image in a "free registration required" form?
    4. Re:W3C by Bogtha · · Score: 4, Informative

      Also, they use <br/> in HTML 4 and it is telling them that they shouldn't do that because some web browsers will think it's wrong.

      No, it's not telling them that some browsers will think it's wrong, it's telling them it is wrong. Validators don't check to make sure browsers can understand your document, they check if you have made any syntax errors. Writing <br/> in an HTML document is wrong, regardless of any particular browser's handling of it.

      --
      Bogtha Bogtha Bogtha
    5. Re:W3C by bcat24 · · Score: 1

      Mu. Said "free registration required" form should not exist, and neither should traditional CAPTCHAs. Problem solved.

    6. Re:W3C by FoolsGold · · Score: 1

      Does it really matter though? If the end result looks good, then it's only the geeks who really care about a few errors. The site itself still works fine and as was intended.

    7. Re:W3C by Anonymous Coward · · Score: 0

      Is it at least plausable they have better things to do with their time than lint HTML and fix whiney warnings that have no real world effect?

    8. Re:W3C by varmittang · · Score: 1

      /> is XHTML standard and <br> is the regular HTML 4 standard. Both are correct and most browsers know how to deal with XHTML or HTML 4, as well as the two mixed together.

      --
      -----BEGIN PGP SIGNATURE-----
      12345
      -----END PGP SIGNATURE-----
    9. Re:W3C by clem.dickey · · Score: 4, Interesting

      Just what I was wondering: "Maybe, because they hand-code everything, they will pass the validation that all the fancy tools fail at so badly." Anyway, they are not alone. Here are the error couns for the Fortume top 20 companies (top of the Fortune 1000 list) manage on the w3c validator:

          53 walmart.com
          36 exxon.com
          26 chevron.com
          33 gm.com
          76 conocophillips.com
            0 ge.com
          29 ford.com
          52 citigroup.com
        105 bankofamerica.com
          26 att.com
          28 www.berkshirehathaway.com
            8 jpmorganchase.com
        148 aig.com
          55 hp.com
            0 ibm.com
        144 valero.com
            2 verizon.com
        180 mckesson.com
            5 cardinalhealth.com
      1082 www.goldmansachs.com

    10. Re:W3C by JebusIsLord · · Score: 2, Funny

      oh gee, i dunno... how about... "captcha"??

      --
      Jeremy
    11. Re:W3C by Bogtha · · Score: 4, Informative

      fix whiney warnings that have no real world effect?

      I knew somebody would pop up with this misconception. Did you know that the web has already been through this — not once but twice — and proven you wrong?

      Netscape 2 was quite aggressive when it came to guessing when ampersands were mistakenly unencoded. Cue lots of people not bothering to do things correctly, and saying things exactly like you are — "What's the point? It makes no difference!"

      Then Netscape 3 came out. It wasn't as aggressive as Netscape 2. All those people who cut corners had to rush to fix all of their pages. All the people who did it correctly the first time around didn't have to do any extra work.

      Now Netscape 3 still guessed a little bit — if you left off the semicolon, it would pick up on it and guess correctly. So lots of the dumb people from the previous example didn't learn their lesson, and skipped the semicolon.

      Can you guess what happened? Yep, that's right, Netscape 4 came out and broke all their pages again. And all the people who did things correctly laughed at them.

      Sure, if you don't bother to do things right, today's major browsers will probably guess that you're an idiot and work around your bugs. But there's certainly no guarantee that tomorrow's browsers will do so. When you can do things correctly right now for no effort, why on earth would you risk incurring extra work in the future? Is it really so difficult to type &amp; instead of &?

      --
      Bogtha Bogtha Bogtha
    12. Re:W3C by MobyDisk · · Score: 1

      If a CAPTCHA is displayed, and no one is around to see it, does it have a correct answer?

      And yes, that's XHTML!

    13. Re:W3C by Anonymous Coward · · Score: 0

      ...and yet they get 455(!) errors. That's not very good. http://validator.w3.org/check?uri=http%3A%2F%2Fnytimes.com%2F&charset=%28detect+automatically%29&doctype=Inline&group=0. They are up to 471 errors now. I think you should bring it to their attention before it gets out of hand. ;-)
    14. Re:W3C by Bogtha · · Score: 4, Informative

      <br /> is XHTML standard and <br> is the regular HTML 4 standard. Both are correct

      No, one is correct for XHTML and incorrect for HTML, and one is incorrect for XHTML and correct for HTML. The NYTimes use HTML. That means the XHTML syntax is incorrect.

      --
      Bogtha Bogtha Bogtha
    15. Re:W3C by dgatwood · · Score: 3, Insightful

      Agreed. <br /> should be, AFAIK, guaranteed to work in any working HTML parser because all HTML browsers have to ignore unknown properties in tags, including potentially that slash, in order to be forward-compatible with future changes to the specification. Assuming they included the space, then IMHO the W3C validator is being way too pedantic (as usual). If they left out the space (<br/>), then the W3C validator is right to warn about it, as that form does choke some HTML parsers, IIRC.

      --

      Check out my sci-fi/humor trilogy at PatriotsBooks.

    16. Re:W3C by Kadin2048 · · Score: 1

      As Bogtha pointed out to a similar comment upthread, this is a shortsighted view. Just because the "end result looks good" today doesn't mean that it will look good tomorrow, or next year, or ten years from now.

      Unless you enjoy refactoring crappy HTML every time a new browser version comes out, it's a whole lot more pleasant to just do it right and conform to standards the first time.

      Browsers today may put up with their unencoded ampersands and other general laziness, but some browser in the future (maybe when they decide to use the ampersand for something special in HTML v15) may just spit out an error and stop rendering. Then they'll have to go through however-many million pages they have in their archives, fixing their mistakes.

      --
      "Ladies and gentlemen, my killbot features Lotus Notes and a machine gun. It is the finest available."
    17. Re:W3C by Pr0xY · · Score: 1

      to be fair, a lot of those errors are by using the XHTML style closing "/>" in non-paired tags...not a huge offense (though, if they claim HTML 4.01, they should use it and not XHTML!).

      Beyond that, the errors don't get much worse, a lot of things like using an ampersand instead of "& amp;" (space added so it shows here) and the like... easily fixed.

    18. Re:W3C by amRadioHed · · Score: 1

      They do actually leave out the space, so it is wrong by any standard.

      --
      We hope your rules and wisdom choke you / Now we are one in everlasting peace
    19. Re:W3C by ultranova · · Score: 1

      What is the correct value of the alt attribute for the CAPTCHA image in a "free registration required" form?

      A description of the sequence of letters required to pass it, in a form which is difficult to parse by a computer ? Failing that, the CATPCHA image in SVG form ?-)

      --

      Forget magic. Any technology distinguishable from divine power is insufficiently advanced.

    20. Re:W3C by Bogtha · · Score: 3, Insightful

      all HTML browsers have to ignore unknown properties in tags

      That reasoning would work if the people behind XML had chosen any other character to indicate empty elements. But unfortunately, they chose the slash. Not many people realise because browser support is rare, but a slash inside an opening tag means that it is the end of the tag and the contents follow. Basically, <foo/>x/ is equivalent to <foo>>x</foo> .

      So no, while parsers that don't implement HTML fully might mistakenly treat it like an attribute, a parser that fully implements HTML cannot do so, and a validator certainly shouldn't.

      the W3C validator is being way too pedantic (as usual).

      What on earth do you think a validator is for, if not to point out syntax errors? Do you complain that your spelling checker is being pedantic when it tells you that you have misspelt something?

      --
      Bogtha Bogtha Bogtha
    21. Re:W3C by njcoder · · Score: 1

      I'm sure they were very embarrassed when they received that big "search and replace" bill for that month. Too bad those credits don't roll over from month to month.

    22. Re:W3C by InlawBiker · · Score: 2, Insightful

      You guys are all wrong. the NYT is right, because the comment was, "...the Web site looks so consistently nice and polished no matter which browser or resolution is used to access it."

      In other words they worried about the user experience, not technically standard syntax or some parser's score.

      It's nice to see that not only does the New York Times hire the best writers, they also hire the best techs.

    23. Re:W3C by amRadioHed · · Score: 1

      The XHTML syntax was chosen with backwards compatibility in mind, so while XHTML syntax is not strictly speaking correct HTML it is still valid HTML.

      --
      We hope your rules and wisdom choke you / Now we are one in everlasting peace
    24. Re:W3C by Bogtha · · Score: 1

      One additional thing:

      all HTML browsers have to ignore unknown properties in tags

      HTML doesn't define error handling. It offers non-normative suggestions, but HTML parsers aren't required to follow them.

      --
      Bogtha Bogtha Bogtha
    25. Re:W3C by ultranova · · Score: 2, Insightful

      Sure, if you don't bother to do things right, today's major browsers will probably guess that you're an idiot and work around your bugs.

      They will try to work around your bugs. There's no guarantee that the heuristics of a given browser will succeed in correctly guessing what you actually meant in a given case.

      The best argument for writing bugless web pages is not that it takes less work (it does), nor that they works with more browsers (they do) and thus give you more customers. No, the best argument is simple: "Given how stupid computers are, do you really want the appearance and function of your website to be up to their guesses ?"

      --

      Forget magic. Any technology distinguishable from divine power is insufficiently advanced.

    26. Re:W3C by Rhapsody+Scarlet · · Score: 2, Informative

      What is the correct value of the alt attribute for the CAPTCHA image in a "free registration required" form?

      If all else fails, you could just specify alt="", which will satisfy the validator. Not every image needs alternate text.

    27. Re:W3C by Bogtha · · Score: 3, Informative

      while XHTML syntax is not strictly speaking correct HTML it is still valid HTML.

      This is simply not true. It's incorrect and invalid.

      What you may be thinking of is Appendix C of the XHTML 1.0 specification. It lays out a series of guidelines that minimise incompatibility with legacy user-agents. This means that it is relatively safe to transmit XHTML 1.0 documents following these guidelines as text/html. What it does not mean is that those XHTML 1.0 documents magically become valid HTML documents. They are not.

      --
      Bogtha Bogtha Bogtha
    28. Re:W3C by Bogtha · · Score: 1

      Search and replace doesn't cut it. It would screw up all the character entity references and numeric character references on your site. That's even more of a problem for a newspaper site than other sites, as they usually have decent typography, like proper dashes, etc, which are often implemented with character entity references.

      --
      Bogtha Bogtha Bogtha
    29. Re:W3C by njcoder · · Score: 1

      Time for you to upgrade to a text editor with good regular expression search and replace capabilities. I like Textpad myself.

    30. Re:W3C by pthisis · · Score: 1

      The problem with that is that coders get used to saying "here's the boilerplate to shut up that warning" rather than taking all warnings seriously.

      Early lints had significant similar problems. Linus has railed against (and successfully gotten the devs to turn off) warnings in "gcc -Wall" that were prone to false positives.

      Fals positives (e.g. flagging "no alt" as an error if, as you say, "not every image needs alternate text") should be considered a _major_ problem in validators, since they're only really useful inasmuch as they help make code better.

      --
      rage, rage against the dying of the light
    31. Re:W3C by PC+and+Sony+Fanboy · · Score: 1

      It's like a newspaper editor not bothering to use a spelling checker â" sloppy. ... actually, its like a newspaper editor not using end tags... except, no body cares if their code is sloppy, so long as the site is purdy when you visit it...
    32. Re:W3C by Bogtha · · Score: 1

      I have one thanks. Regular expressions don't fix things either. At best, you'd end up with a crude heuristic that would result in you reviewing each document to make sure it hadn't screwed anything up, and that's after you came up with the regexp to try to guess at what's appropriate. Heh. You'd quite literally now have two problems.

      --
      Bogtha Bogtha Bogtha
    33. Re:W3C by Anonymous Coward · · Score: 0

      regardless the w3c html4 spec was never implemented seriously by browser vendors, and never will be. so arguing so strenuously over the correctness of this makes you look like a huge tool

    34. Re:W3C by Anonymous Coward · · Score: 0

      The XHTML syntax was chosen with backwards compatibility in mind, so while XHTML syntax is not strictly speaking correct HTML it is still valid HTML.

      You're an idiot. The XHTML syntax is not valid HTML.

    35. Re:W3C by beav007 · · Score: 3, Informative

      Be that as it may, Bogtha is correct. We aren't talking about what works here, we are talking about what the standard says. The standard for XHTML says to use a slash, the standard for HTML 4 says not to. That is the discussion, and really, the end of it.

    36. Re:W3C by Anonymous Coward · · Score: 0

      Or you could just do it right the first time and stop being so incompetent. They're web developers and they should be able to make a web page that adheres to standards.

    37. Re:W3C by Sancho · · Score: 1

      This prompted an interesting question in my mind. Are there any browsers which incorrectly render the standards, and for which the only way to get the page to display as intended is to intentionally write code that breaks the standards?

      Such a situation would put the developer in a real pickle. I suspect I know the answer to this question, but I'll see if anyone responds (to avoid potentially poisoning the replies.)

    38. Re:W3C by Uncle+Focker · · Score: 0, Flamebait

      Do you complain that your spelling checker is being pedantic when it tells you that you have misspelt something? Apparently your spell checker wasn't pedantic enough to point you to the fact that "misspelt" is improper English. :P The correct term is misspelled.
    39. Re:W3C by swillden · · Score: 1

      0 ge.com
      0 ibm.com

      BTW, IBM handles much of GE's IT, including its web site.

      --
      Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
    40. Re:W3C by XanC · · Score: 1

      You don't have a problem with the validator, you have a problem with the specification. That's what demands an alt attribute for the img tag.

      And you notice how it's considered valid when you have alt=""? That's because you're right, not every image requires alternate text. But the spec does require that you make that determination for every image.

    41. Re:W3C by taylortbb · · Score: 1

      IE6 (and others, but none so widely used today) do make a real muck of the standards, but it is always possible to still follow them. I use conditional comments (they appear like comments to any non-MS browser) to include special (but still valid) style sheets designed specifically for IE6.

      These custom style sheets do pass validation, but if parsed by any browser that followed the standards would make a muck of things. For example IE6 doesn't understand auto margins for centering, but setting text-align to center will center divs. In a standards compliant browser you'd end up with centered text and no centered divs, but it displays right in IE6.

      I design my sites by first doing the design in Firefox, which will also cover all other standards compliant browsers. Then I write my IE6 (and sometimes IE7) custom style sheets.

    42. Re:W3C by Anonymous Coward · · Score: 0

      You forgot one website:

      over 9000! slashdot.org

    43. Re:W3C by ztane · · Score: 1

      "The alt attribute must be specified for the IMG and AREA elements. It is optional for the INPUT and APPLET elements." http://www.w3.org/TR/html401/struct/objects.html#h-13.8

    44. Re:W3C by Uncle+Focker · · Score: 1
      http://www.merriam-webster.com/dictionary/misspelt

      The word you've entered isn't in the dictionary. Click on a spelling suggestion below or try again using the search bar above. Suggestions for misspelt: Just look in any grammar book and you'll see my statement backed up.
    45. Re:W3C by TeraCo · · Score: 1

      What makes your dictionary more right than his? Is MW the official internet dictionary?

      --
      Not Meta-modding due to apathy.
    46. Re:W3C by Crazy_CorranH · · Score: 1

      Both are valid spellings of the past tense of misspell.

      http://www.answers.com/misspelt&r=67

    47. Re:W3C by Anonymous Coward · · Score: 0

      Even Google.com comes back with 62 errors.

    48. Re:W3C by Anonymous Coward · · Score: 0

      Or you just keep ampersands out of your HTML code like a normal person, and translate ampersands (and other character entities) correctly in the content.

      Then you can find/replace all you want.

    49. Re:W3C by ben+there... · · Score: 1

      0 ge.com
      0 ibm.com

      BTW, IBM handles much of GE's IT, including its web site.

      Both of whom cheated, by putting the majority of the site in Flash.

    50. Re:W3C by Anoraknid+the+Sartor · · Score: 1

      "Misspelt" is standard British English. "Misspelled" it also acceptable - and both are used.

        Have a look on the BBC website for evidence of it being in common use in the UK.

      http://search.bbc.co.uk/cgi-bin/search/results.pl?uri=%2F&scope=all&go=toolbar&q=misspelt

      --
      Find Japanese addresses in English on Google Maps Japan: http://diddlefinger.com/
    51. Re:W3C by maxume · · Score: 1

      That's so impossibly wrong-headed I don't even know what to say.

      --
      Nerd rage is the funniest rage.
    52. Re:W3C by dave420 · · Score: 4, Insightful

      The two are not mutually exclusive. It's perfectly possible to make even the most beautiful sites render accurately across all the major browsers and still contain perfectly valid markup. It smacks of being lazy, or just not knowing the importance of validating code.

    53. Re:W3C by locofungus · · Score: 1

      IIRC ECN caused similar problems for routers that didn't follow the specs.

      Some sites because unreachable for some users over that one.

      Tim.

      --
      God said, "div D = rho, div B = 0, curl E = -@B/@t, curl H = J + @D/@t," and there was light.
    54. Re:W3C by alx5000 · · Score: 1

      yu maie alzo understend dis, but that doesn't make my spelling any better.

      --
      My 0.02 cents
    55. Re:W3C by CastrTroy · · Score: 1

      Only if you don't know how to write a proper regular expression. Sure you could write an incorrect one, and then you would have to check all your pages over to make sure it replaced everything correctly. But if you did it properly the first time (like with, coding your character entities correctly), you wouldn't have any problems. Taking an extra hour (I'm exagerrating here) to ensure you have the regex written correctly can save you a lot of work in going threw all the pages to fix the mistakes from an incorrect regex.

      --

      Anthropic principle: We see the universe the way it is because if it were different we would not be here to see it.
    56. Re:W3C by POWRSURG · · Score: 1

      Forgotten end tags

      They are using HTML, not XHTML. Per the specification, omitted end tags are valid. The if an end tag is missing the element is closed at the end of the parent element or the start of the next block level element.

    57. Re:W3C by Bogtha · · Score: 4, Informative

      It may or may not be improper American English, but "misspelt" is certainly correct English. Consult the OED if you don't believe me.

      This is far from the first time I've had an ignorant American attempt to "correct" my proper English into your regional dialect. It's pretty annoying and reinforces negative aspects of your national stereotype.

      --
      Bogtha Bogtha Bogtha
    58. Re:W3C by Bogtha · · Score: 1

      For example IE6 doesn't understand auto margins for centering, but setting text-align to center will center divs.

      Internet Explorer 6 works just fine in this respect unless you kick it into quirks mode. It's 5.5 and below that can't handle auto margins.

      --
      Bogtha Bogtha Bogtha
    59. Re:W3C by Mikkeles · · Score: 1

      cf. learnt, spent, sent, burnt, bent, lent

      --
      Great minds think alike; fools seldom differ.
    60. Re:W3C by Bogtha · · Score: 1

      It's not obvious what you mean by "keep ampersands out", the distinction you draw between HTML code and content, or why you would do so when the alternative of doing things correctly from the beginning is so simple. Please clarify.

      --
      Bogtha Bogtha Bogtha
    61. Re:W3C by Anonymous Coward · · Score: 0

      Next you people are going to tell us we need to spell color with a 'u'.

    62. Re:W3C by gregraven · · Score: 1

      I was going to give TextMate a try, but if this is the best they can do with TextMate, I'm sticking with BBEdit. By the way, the awful formatting of the HTML files on the NYT site tells me that there is a machine involved somewhere. No human is going to "hand code" a page that's formatted this poorly. Well, at least I wouldn't.

      --
      Greg Raven
      As long as there's any left, I'll take mine first.
    63. Re:W3C by Anonymous Coward · · Score: 0

      I care, you insensitive clod!

    64. Re:W3C by everphilski · · Score: 1

      the distinction you draw between HTML code and content

      On a website, especially for a newspaper or a news feed, there is a distinction between the framework (code) and the content (articles). It's a good programming paradigm used not only on websites but often when building traditional programs. Make sense now?

      or why you would do so when the alternative of doing things correctly from the beginning is so simple

      Because maybe he doesn't have a magic time machine to go back and fix code written 1, 2, 5 or 10 years ago? Possibly code he did not write in the first place. And it really isn't that hard to separate code from content, which makes find-replace and regexp replacement straightforward, which you seem to have a hard time wrapping your head around.

    65. Re:W3C by Bogtha · · Score: 1

      Only if you don't know how to write a proper regular expression.

      No, the problem with using a regular expression is the ambiguity, not writing the regexp. When faced with &shy do you leave it alone or escape the ampersand? It looks like a soft-hyphen, so it should be left alone, right? But then you run it over your personal ads and you miss things like "Looking for somebody cute&shy". The reverse is also a problem. If you do account for situations like that, then you can end up double-escaping, which ends up displaying unintelligible code to the end-user. Are you sure you're going to consider all possible combinations of encoded/unencoded/trailing-shitespace/trailing-characters/etc before running the regexp?

      If software could reliably tell the difference, there wouldn't be a need to encode them in the first place, would there? If software could reliably tell the difference, you wouldn't be scrambling to deal with the browser failing to do so, would you? It's a harder problem than you think and just blindly running a regexp you cooked up in an hour over hundreds of thousands of pages of content is a recipe for disaster.

      --
      Bogtha Bogtha Bogtha
    66. Re:W3C by Jellybob · · Score: 1

      After a long time I've come to a simple conclusion.

      Who gives a shit if you validate or not?

      I'm a big supporter of web standards, but sadly there are certain browsers (hint: it has a big blue icon) that are not, and to make a site work reliably in them, you're probably going to have to build a site that doesn't validate.

      So get over it, and get on with life, because what the client thinks is always more important then what the W3's validator thinks.

    67. Re:W3C by ewanm89 · · Score: 1

      IE8 Beta 1 has mucked up handling...

    68. Re:W3C by Anonymous Coward · · Score: 0

      AFAIK,
      is html-only,
      is xhtml-only, and /> is valid on both.

    69. Re:W3C by Anonymous Coward · · Score: 0

      Not to mention [one of] the most visited pages on the Internet, www.google.com: 63 Errors (without any search results)

    70. Re:W3C by Jellybob · · Score: 1

      Have you ever heard of a content management system.

      It's just a hunch, but I think the NY Times is probably using one. That's where you handle things like translating & to &amp;, and making the typography look good.

    71. Re:W3C by Jellybob · · Score: 1
      You seem to be fairly misguided here (or possibly just inexperienced).

      1. TextMate is a text editor. Nothing more, nothing less. It does have some very nice automation features - I'd put it almost on a par with Vim (let the flame wars commence!), but with a much shallower learning curve. At the end of the day though, it still only does what you tell it to do.
      2. Of course there's a machine involved somewhere. I havn't RTFA, but I would imagine that the overall design, and any templates being used are hand coded, but they're then pulled together by a content management system, so that the reporters can publish new articles without having to call up the web development team and get them to hand type it as HTML.
    72. Re:W3C by Jellybob · · Score: 1

      Grrr... why did /. decide to turn off the numbering on <ol> tags?

      The whole point of them is that you get numbers...

    73. Re:W3C by Bogtha · · Score: 1

      Per the specification, omitted end tags are valid.

      No, omitted end tags are valid only for some element types, as the section you link to clearly says. The HTML specification lists exactly which element types it is permissible to omit end tags for. The NYTimes are omitting end tags for <div> elements, which are required.

      --
      Bogtha Bogtha Bogtha
    74. Re:W3C by Bogtha · · Score: 1

      On a website, especially for a newspaper or a news feed, there is a distinction between the framework (code) and the content (articles). It's a good programming paradigm used not only on websites but often when building traditional programs. Make sense now?

      Of course I know about the separation between layers. But I fail to see why he thinks all ampersands in the content need encoding and all ampersands in the code should be left alone.

      Because maybe he doesn't have a magic time machine to go back and fix code written 1, 2, 5 or 10 years ago?

      I think you might have lost track of the context. This sub-thread was caused by somebody responding to me saying:

      When you can do things correctly right now for no effort, why on earth would you risk incurring extra work in the future?

      Of course if you are stuck with a load of legacy data a regexp can come in handy. That doesn't mean that it's easy or that it's a good alternative to doing things properly.

      And it really isn't that hard to separate code from content, which makes find-replace and regexp replacement straightforward, which you seem to have a hard time wrapping your head around.

      The separation is obvious, it's the bald assertion that it makes find-replace straightforward that I have the problem with. Ampersands can appear in code and content in both encoded and unencoded forms. Separating the two doesn't help.

      --
      Bogtha Bogtha Bogtha
    75. Re:W3C by D+Ninja · · Score: 1

      What makes your dictionary more right than his? Is MW the official internet dictionary? No, but this is Official Internet Dictionary

      Hmmm...misspelt isn't a word, but apparently ROFLMAO is. Sweeeeeeet...
    76. Re:W3C by DahGhostfacedFiddlah · · Score: 1

      It smacks of being lazy, or just not knowing the importance of validating code.

      Either that, or they *do* know the importance of validating code - almost no importance at all. If it works in 99% of browsers, what do 99% of people care if it matches standards?

    77. Re:W3C by Bogtha · · Score: 1

      Have you ever heard of a content management system.

      Yes, I've worked on my fair share of them.

      That's where you handle things like translating & to &amp;

      Doing so would immediately result in incorrect, ugly code being presented to the end user, as character entities get double encoded.

      --
      Bogtha Bogtha Bogtha
    78. Re:W3C by Jellybob · · Score: 1

      Doing so would immediately result in incorrect, ugly code being presented to the end user, as character entities get double encoded.


      Only if the people publishing content havn't been told not to use them, and since it's probably an in-house system, you can incorporate that into the training course that people will inevitably go on to be taught how to use it.
    79. Re:W3C by poot_rootbeer · · Score: 1

      Screw W3C validation suites. What's important is that the nytimes.com markup passes the one truly critical validation test: "web site looks consistently nice and polished no matter which browser or resolution is used to access it."

    80. Re:W3C by Bogtha · · Score: 1

      Only if the people publishing content havn't been told not to use them

      And why would you tell them any such thing? By what mechanism would you suggest they input special characters, and why is implementing such a mechanism better than simply encoding ampersands correctly in the first place?

      you can incorporate that into the training course

      You seem to want to go to an awful lot of trouble to avoid typing &amp;.

      --
      Bogtha Bogtha Bogtha
    81. Re:W3C by Uncle+Focker · · Score: 1

      The fact of the matter is that Merriam-Webster is a more authoritative dictionary than some random webpage.

    82. Re:W3C by Anonymous Coward · · Score: 0

      Said "free registration required" form should not exist

      Neither should you, and yet here we are. Perhaps we could kill two birds with one stone by killing you, and thus the existance of "free registration required" forms will no longer trouble you?

    83. Re:W3C by Anonymous Coward · · Score: 0

      I guess &shy would probably come up as something that needs to be turned in to &shy, seeing as how there is no semicolon after it.

    84. Re:W3C by Culture20 · · Score: 1

      You could

      find . -name \*.html -exec sed -i -e "s/ \& / \& /g" {} \;
      since you can be sure that any " & " is an ampersand (or at least mangled markup anyway)

      Then grep -ri -A1 -B1 '&' . to manually scan through for &'s that look like they should be &'s (with context, although you would have been hard pressed to find recursive grep on systems in those days) Time consuming, yes, but far less than using vi/emacs/nano/pico on every file.

    85. Re:W3C by elrous0 · · Score: 1
      In the real-world no one gives a shit HOW you get there, only THAT you get there.

      Seriously, you anal-retentive developers are truly annoying. You not only miss the forest for the trees, you miss the forest for the bark on an individual tree. You're like that little snot in grad school, who when asked to critique someone's paper, focuses on every formatting error, grammatical error, spelling error, etc. down the the millimeter. You know, the guy who, when asked about the actual ARGUMENT and SUBSTANCE of the paper, responds with "Argument?"

      --
      SJW: Someone who has run out of real oppression, and has to fake it.
    86. Re:W3C by elrous0 · · Score: 1

      And what makes you so sure the browsers of tomorrow will conform to the "standards" of today? They never have before.

      --
      SJW: Someone who has run out of real oppression, and has to fake it.
    87. Re:W3C by Bogtha · · Score: 1

      I'm afraid not. The semicolon is not always required, it depends on what immediately follows. For instance, if it's whitespace, the semicolon is not necessary.

      --
      Bogtha Bogtha Bogtha
    88. Re:W3C by elrous0 · · Score: 0, Flamebait
      And I should give a fuck what the W3C thinks, if their "standards" cause problems for 90% of my customers?

      No thanks.

      --
      SJW: Someone who has run out of real oppression, and has to fake it.
    89. Re:W3C by Bogtha · · Score: 1

      since you can be sure that any " & " is an ampersand

      That's one of the few cases where you don't need to encode the ampersand.

      Time consuming, yes, but far less than using vi/emacs/nano/pico on every file.

      But far more than doing things correctly in the first place.

      --
      Bogtha Bogtha Bogtha
    90. Re:W3C by Geno+Z+Heinlein · · Score: 1

      All those people who cut corners had to rush to fix all of their pages.... So lots of the dumb people from the previous example didn't learn their lesson, and skipped the semicolon.... Yep, that's right, Netscape 4 came out and broke all their pages again. Moderation +2: Cluestick of Justice!!!

    91. Re:W3C by Phisbut · · Score: 1

      In the real-world no one gives a shit HOW you get there, only THAT you get there.

      Seriously, you anal-retentive developers are truly annoying. You not only miss the forest for the trees, you miss the forest for the bark on an individual tree.

      The problem is, because of how some people choose to get there, some people don't get there at all, or get there with bruises. Not having a specification, or having one that is not enforced, lead to the web we've seen in the late 90's. "This page is optimized to be viewed with Internet Explorer with a resolution of 640x480".

      Microsoft has quite a record of trying to "get there" by any means, while never caring about "how" to "get there". "Getting there" was having a computer system that even grandma could use. They managed to pull that one off alright, but without caring about "how" they got there, they now have a completely insecure and easily hacked computer system that even grandma can use.

      In the long run, doing it right is always better than doing it fast.

      --
      After 3 days without programming, life becomes meaningless
      - The Tao of Programming
    92. Re:W3C by xevioso · · Score: 1

      I see. How many of these sites you speak of where people had to go back and make changes after each consecutive version of a browser came out actually kept their sites looking the same over that time? Int he real world, corporations often update the look and feel of their site on a fairly regular basis so as to keep the site "fresh". It is much more likely in the real world to go back and completely redo the look and often the content of the site, than to have to go back to fix ampersand issues to work with new versions of browsers. IMHO, websites are changed more rapidly in drastic ways more often than broswer revisions come out.

    93. Re:W3C by Dekortage · · Score: 1

      he two are not mutually exclusive. It's perfectly possible to make even the most beautiful sites render accurately across all the major browsers and still contain perfectly valid markup. It smacks of being lazy, or just not knowing the importance of validating code.

      I agree that it is possible. I disagree that lacking 100% valid markup is somehow "lazy" or "not knowing the importance" of it. I've worked on several very large dynamic sites (thousands of pages), leading teams of programmers and designers. Simply put, you must balance the level of effort and the user experience with pure markup validation -- "This looks and works as we want it to, in all the browsers we support, and the code is fast, optimized, and bug-free. It's only 95% valid HTML according to the strict specs, but it is sufficient for now." It is not laziness to say this. It's common sense, and a good business practice. There are better things on which we should spend our time.

      --
      $nice = $webHosting + $domainNames + $sslCerts
    94. Re:W3C by dave420 · · Score: 1

      Because non-validating code negatively affects page rankings in Google, for one thing. A page's content doesn't matter if you can't find it.

    95. Re:W3C by Reziac · · Score: 1

      Validation software doesn't read websites. Real people, using real browsers, read websites.

      So if it were my site, I'd care very little about how many validation errors it has, and a great deal about how it ACTUALLY looks to REAL users, using a wide variety of REAL browsers.

      And I don't think it's coincidence that the NYTimes site also functions perfectly in a TEXT-ONLY browser.

      --
      ~REZ~ #43301. Who'd fake being me anyway?
    96. Re:W3C by dave420 · · Score: 1

      I wouldn't say it's a good business practice to only get things 95% correct. The difficulty of making 100%-validating code is not hard at all. Fair enough if it took months to achieve, but it doesn't. A competent HTML/CSS coder can take a design and turn it into 100%-validating code just as long as it takes them to make it to 95%. There are not better things for a client-side coder to spend their time on, as that's their job.

    97. Re:W3C by Anonymous Coward · · Score: 0

      This is far from the first time I've had an ignorant American attempt to "correct" my proper English into your regional dialect. It's pretty annoying and reinforces negative aspects of your national stereotype.

      You may have a complaint against the few people who attempted to correct you, but your slam against Americans makes you sound like a bigot. I won't be making some nasty comment about the validity of English stereotypes now because it's only your comment that I find snobbish and rude.

    98. Re:W3C by Oligonicella · · Score: 1

      And apparently you're too damn dumb to check the dictionary.

      Webster's Unabridged

      mis.spell (mis spelÃ), v.t., v.i., -spelled or -spelt, -spell.ing.

    99. Re:W3C by Bogtha · · Score: 1

      your slam against Americans makes you sound like a bigot.

      I didn't slam Americans. Read it again.

      The American stereotype is that they are arrogant and ignorant of the rest of the world. Do you disagree?

      An American correcting an English person on his use of the English language — when in fact it is proper English and only incorrect American English — reinforces that stereotype. Do you disagree?

      Acknowledging that a stereotype exists and pointing out when somebody is making it worse does not mean that you agree with it.

      --
      Bogtha Bogtha Bogtha
    100. Re:W3C by umrguy76 · · Score: 1

      ...and yet they get 455(!) errors. That's not very good. In the Real World(tm) where customers are, functionality beats correctness. I don't like it any more than you do, but that's the way it is.
    101. Re:W3C by Bogtha · · Score: 1

      It's only 95% valid HTML according to the strict specs, but it is sufficient for now." It is not laziness to say this.

      That depends on what the 5% is. If it's something that actually requires work, fair enough. If it's something trivial that can be fixed in ten seconds, that shows that they haven't even bothered to look what errors there are. That's lazy. It's one thing to prioritise other tasks higher, it's another thing entirely to ignore a handy list of errors altogether.

      Pick any other random industry and tell them you have a magic device that will automatically catch them when they make a mistake, that it's free, and that it works instantly, and they'd welcome it with open arms. It amazes me that some developers resent such a useful tool so much.

      --
      Bogtha Bogtha Bogtha
    102. Re:W3C by dgatwood · · Score: 1

      That reasoning would work if the people behind XML had chosen any other character to indicate empty elements. But unfortunately, they chose the slash. Not many people realise because browser support is rare, but a slash inside an opening tag means that it is the end of the tag and the contents follow

      Citation, please? I've read the HTML spec and see nothing of the sort. According to the spec, the tag ends when a > is encountered, period.

      What on earth do you think a validator is for, if not to point out syntax errors? Do you complain that your spelling checker is being pedantic when it tells you that you have misspelt something?

      The purpose for checking attributes is to avoid running into conflicts with future attributes that might be declared as part of the standard. Otherwise, browsers are expected to ignore any unknown attributes for compatibility with future versions of the standard. Since the user of attributes for formatting, etc. is pretty much obsoleted by CSS and adding new attributes is so strongly discouraged, coming up with tags that conflict with a future version of the standard is basically a non-issue, so strict attribute checking is a waste of time and effort.

      More to the point, the HTML standard is fundamentally flawed in that it did not provide a clean, standard way of providing arbitrary tagging of elements with additional information except through attributes, and a strict attribute check makes that impossible. In fact, the HTML spec (http://www.w3.org/MarkUp/html-spec/html-spec_4.html) explicitly says:

      "To facilitate experimentation and interoperability between implementations of various versions of HTML, the installed base of HTML user agents supports a superset of the HTML 2.0 language by reducing it to HTML 2.0: markup in the form of a start-tag or end-tag, whose generic identifier is not declared is mapped to nothing during tokenization. Undeclared attributes are treated similarly. The entire attribute specification of an unknown attribute (i.e., the unknown attribute and its value, if any) should be ignored."

      Emphasis mine. Now admittedly, it goes on to say that this is non-binding, but in practice, any browser that doesn't ignore unknown attributes will fail to successfully display the vast majority of web pages, including the HTML 4.0 specification page that I linked to in the previous paragraph.

      I don't know any definition of pedantic that strict attribute validation doesn't meet, and I find it very obnoxious that the W3C validator doesn't allow you to disable that check, as it really doesn't contribute anything useful except in cases where an attribute's usage is known to conflict with a later version of the specification.

      --

      Check out my sci-fi/humor trilogy at PatriotsBooks.

    103. Re:W3C by dgatwood · · Score: 2, Insightful

      Browsers that don't comply are pretty much worthless. You can't even view the W3C specification without ignoring unknown attributes. Good luck with almost any web page on the planet. The following sites all either have nonstandard attributes or are missing required attributes:

      • www.google.com
      • www.yahoo.com
      • www.excite.com
      • www.altavista.com

      You get the picture. Good luck using the web with a browser that performs strict attribute validation.... It may technically be non-binding, but in reality, any browser that doesn't follow that guideline isn't going to work with the overwhelming majority of web pages in existence today. And in the end, a browser that won't even let you view the Google front page is not going to be used by... well... anybody.

      --

      Check out my sci-fi/humor trilogy at PatriotsBooks.

    104. Re:W3C by Bogtha · · Score: 1

      How many of these sites you speak of where people had to go back and make changes after each consecutive version of a browser came out actually kept their sites looking the same over that time?

      Netscape were releasing a new major version about once per year at that point, so I'd say approximately 100% of them.

      Int he real world, corporations often update the look and feel of their site on a fairly regular basis so as to keep the site "fresh".

      Yes, and when they do so, it's incredibly rare for them to recode all their content. Mistakes like unencoded ampersands tend to stick around.

      in the real world

      You've said that twice now. I'm a web developer. I deal with real-world web development every day. Saying "in the real world" doesn't magically make your argument any more valid. As far as I can tell, it's code for "I haven't experienced what you are talking about, so it doesn't exist". More experience tends to fix that opinion.

      It is much more likely in the real world to go back and completely redo the look and often the content of the site, than to have to go back to fix ampersand issues to work with new versions of browsers.

      Oh, it's not just ampersands. They are just an example of a very long trend that started in the early 90s and continues to this very day. It was only recently that I heard somebody complaining that their invalid code was breaking due to a software upgrade.

      IMHO, websites are changed more rapidly in drastic ways more often than broswer revisions come out.

      It's not the frequency that matters, it's the latency between discovering you have a problem and fixing it that is important, and outside of people who redesign their blog once a week, you cannot simply wait and hope the redesign you have planned fixes your broken site, you need it fixed immediately. Let's pick a ludicrous value, and say you redesign every month. The worst case scenario is that you have to wait a month until your site gets fixed. Think that's acceptable?

      Another thing you are forgetting is that it's not just browsers that deal with HTML. The person I just mentioned complaining that their invalid code was breaking — that was down to a change in a webmail provider. Search engines change their parsers on a regular basis too. Not to mention feed readers, aggregators, etc that your HTML might end up in.

      --
      Bogtha Bogtha Bogtha
    105. Re:W3C by Anonymous Coward · · Score: 0

      The raw #s with the errors is not statistically useful.

      For example,
      The Goldman Sachs one is mostly use of non-SGML character 0. In fact all but 3 of the 3,000 something errors were that.

      And by contrast, the verizon website, with only 2 errors, handles like a monkey's ballsack.

    106. Re:W3C by Smauler · · Score: 1

      Actually, you're wrong. Misspelt is perfectly good English. It may not be perfectly good American English, but hardly anyone uses misspelled in England (though it is also valid). It is wise to research things you are correcting people on prior to doing the correction. The OED backs this up, since you complained about another link to a "random" website.

    107. Re:W3C by Bogtha · · Score: 1

      Citation, please?

      If you want the authoritative source, you'll have to buy the ISO 8879:1986 standard, it costs around EUR140. Aren't "open standards" like HTML great?

      I've read the HTML spec and see nothing of the sort.

      The HTML specification defines the content model, not how the syntax should be parsed. It gives a brief overview in the introductory material for people unfamiliar with SGML, but it's incomplete and refers readers to the SGML standard I just mentioned. It does, however briefly mention the shorthand syntax in the appendix, which is probably why you missed it.

      The purpose for checking attributes is to avoid running into conflicts with future attributes that might be declared as part of the standard.

      No, that might be your reason to use a validator, but it's not the validator's purpose in checking them. The validator's purpose in checking them is because it is a syntax checker, and the syntax defines which attributes are acceptable. To complain that a syntax checker is pointing out syntax errors is ludicrous. If you don't want to know about syntax errors, don't use a syntax checker.

      strict attribute checking is a waste of time and effort

      This has nothing to do with strict attribute checking. The validator doesn't reject XHTML-style empty elements because it thinks the slash is an attribute it doesn't recognise, it rejects it because the element is opened and the greater-than sign becomes character data. This gives rise to problems such as having character data within the <head> element where it isn't permissible, which is a problem quite different to an incorrect attribute.

      the HTML standard is fundamentally flawed in that it did not provide a clean, standard way of providing arbitrary tagging of elements with additional information except through attributes, and a strict attribute check makes that impossible.

      Look up the class attribute. That's exactly what it's for.

      I don't know any definition of pedantic that strict attribute validation doesn't meet

      But of course the validator is being pedantic! That's the entire purpose of its existence! What good would it be if it didn't pedantically go through your markup, looking for all the errors it could find?

      I'm not disagreeing about the validator being called pedantic, I'm pointing out that complaining about it is like complaining water is wet. It's part of its fundamental nature.

      If you want some kind of checker that doesn't check validity, but uses heuristics to point out potential problems, then you want a linter, not a validator.

      I find it very obnoxious that the W3C validator doesn't allow you to disable that check

      I haven't looked at the source in quite a while, but last time I checked it would be pretty difficult to do so, because the SGML feature that allows those shortcuts is also the SGML feature that allows minimised attributes.

      But the validator is open-source, so if you think it's easy, download it and do it yourself. It's pretty obnoxious to use their free service all the time when you could be running it locally anyway.

      --
      Bogtha Bogtha Bogtha
    108. Re:W3C by bishiraver · · Score: 1

      If you're validating to strict xhtml, everything needs an end tag. No ifs, ands or buts.

    109. Re:W3C by Bogtha · · Score: 1

      They don't use XHTML, they use HTML 4.01 Transitional.

      --
      Bogtha Bogtha Bogtha
    110. Re:W3C by bishiraver · · Score: 1

      Then the problem might be that they're using the wrong doctype, and not coding to standards ;) Which is the easier thing to fix. (things like unescaped ampersands are inexcusable, though)

    111. Re:W3C by Anonymous Coward · · Score: 0


      foreach "&"
          replace "&amp;"
      end
      foreach character-entity-pattern
          foreach "&amp;"+character-entity-pattern+";"
              replace character(character-entity-pattern)
          end
      end

    112. Re:W3C by dgatwood · · Score: 1

      The HTML specification defines the content model, not how the syntax should be parsed. It gives a brief overview in the introductory material for people unfamiliar with SGML, but it's incomplete and refers readers to the SGML standard I just mentioned. It does, however briefly mention the shorthand syntax in the appendix, which is probably why you missed it.

      No, I missed it because the word "slash" does not appear anywhere in that section, and searching for the actual slash character in a document about HTML is like searching for the word "the" in Google.... :-)

      Look up the class attribute. That's exactly what it's for.

      No, it isn't. The class attribute is a heavily overloaded attribute that also controls presentation. Further, it has no foo=bar syntax, so you can't store arbitrary pieces of non-boolean data there in any useful fashion.

      --

      Check out my sci-fi/humor trilogy at PatriotsBooks.

    113. Re:W3C by CaptainPinko · · Score: 1

      No... but I am going to tell you that youa re wrong when[/if] you say 'colour' is misspelt.

      --
      Your CPU is not doing anything else, at least do something.
    114. Re:W3C by Haeleth · · Score: 1

      "...the Web site looks so consistently nice and polished no matter which browser or resolution is used to access it."
      Except it doesn't; for me the text in the far left column overflows its space, so e.g. "ALL CLASSIFIEDS" is overlapping with the headline to the right. Not exactly what I'd call "polished". (The problem, in case any NY Times folks are reading this and care, is that my eyesight isn't perfect, so I use largish fonts, which the NY Times website apparently doesn't account for.)

      It's nice to see that not only does the New York Times hire the best writers, they also hire the best techs.
      It would be nice to see that, but if their techs can't even cope with people who use the "Increase Font Size" option in their browser, they hardly qualify as "the best".

      (Your fundamental point is sound, of course; the specific problem I have with their site is one that would still occur even if they were using 100%-compliant XHTML Strict and CSS. It's a flaw of the type that standards cannot prevent. But it's one that "the best techs" wouldn't have any trouble handling...)
    115. Re:W3C by amRadioHed · · Score: 1

      What I mean is that HTML parsers are supposed to ignore any additional attributes that they don't understand so the slash at the end of the tag would be safely ignored by any properly written HTML parser.

      --
      We hope your rules and wisdom choke you / Now we are one in everlasting peace
    116. Re:W3C by Bogtha · · Score: 1

      Did you miss my example? One of the problems of ignoring the escaping of ampersands is that you are never sure if something is meant to be an entity reference or not. You'd put a soft hyphen into the example where there shouldn't be one.

      --
      Bogtha Bogtha Bogtha
    117. Re:W3C by Anonymous Coward · · Score: 0

      Oops. Obviously that's supposed to be
      replace "&"+character-entity-pattern+";"

    118. Re:W3C by Bogtha · · Score: 1

      The class attribute is a heavily overloaded attribute

      Not really, it's a generic classifier, a way to "arbitrarily tag elements" as you put it. The fact that arbitrarily tagging elements is a technique that can be applied for a wide range of purposes is, well, the entire point, and hardly something to complain about.

      that also controls presentation

      It doesn't really control presentation at all. Stylesheets can reference the arbitrary tags. The "arbitrary tagging of elements" that you desire can be used for presentational purposes, among others.

      Further, it has no foo=bar syntax

      Sure it does. class="foo=bar baz=qux".

      --
      Bogtha Bogtha Bogtha
    119. Re:W3C by Anonymous Coward · · Score: 0

      No I wouldn't. Please recheck the program logic and your input.

    120. Re:W3C by Bogtha · · Score: 1

      Ah yes, I automatically corrected for one of your bugs without even noticing. Character entity references don't always end with a semicolon. Your code still doesn't work, but for a different reason than the one I originally thought. You are now double-escaping character entity references and causing ugly code to be presented to the end-user.

      Rather than play with pseudocode, why don't we skip straight to the heart of the matter. Given the text fragment "&shy " can you tell me whether that is supposed to be a soft-hyphen or an ampersand followed by the word "shy"? Remember, this is an environment where people may be using character entity references and are also placing ampersands directly into the text without encoding them properly.

      --
      Bogtha Bogtha Bogtha
    121. Re:W3C by Bogtha · · Score: 1

      the slash at the end of the tag would be safely ignored by any properly written HTML parser.

      Untrue, as I've posted elsewhere in the thread, the slash signifies the end of the opening tag, and the following greater-than sign is character data. It can't be treated as an unrecognised attribute by "any properly written HTML parser" because the slash has a special purpose in that position.

      --
      Bogtha Bogtha Bogtha
    122. Re:W3C by dgatwood · · Score: 1

      Sure it does. class="foo=bar baz=qux".

      Only insofar as the className in JS is nothing more than a string. Turning that string into something remotely useful (e.g. an key-value array) requires you to roll your own parser, which opens up room for truckloads of bugs, all to avoid just using <div foo="bar"> and elt.getAttribute('foo'). That's just not reasonable.

      --

      Check out my sci-fi/humor trilogy at PatriotsBooks.

    123. Re:W3C by Anonymous Coward · · Score: 0


      It may or may not be improper American English, but "misspelt" is certainly correct English. Consult the OED if you don't believe me.



      This is far from the first time I've had an ignorant American attempt to "correct" my proper English into your regional dialect. It's pretty annoying and reinforces negative aspects of your national stereotype.

      touche (or in proper English--touched).
    124. Re:W3C by PC+and+Sony+Fanboy · · Score: 1

      nah, its only important to do it cost-effectively. at least, thats the message that capitalism gives...

    125. Re:W3C by Anonymous Coward · · Score: 0

      BS. Google doesn't check W3C validation and certainly not for this sort of trivial error.

      Only if you have a mess of missing/open tags would it be a big problem.

    126. Re:W3C by Bogtha · · Score: 1

      Only insofar as the className in JS is nothing more than a string.

      It really shouldn't be. The HTML content model is a space-separated series of values, so it's the DOM at fault for not providing it in array form, and I'm pretty sure all the major JavaScript libraries offer a better interface.

      Turning that string into something remotely useful (e.g. an key-value array) requires you to roll your own parser, which opens up room for truckloads of bugs

      I've personally done just this, it was quite a while ago, but I don't remember any difficulties at all. You urlencode the values and split on whitespace. It's almost a one-liner, it even automatically handles quotes, spaces in values, unicode characters, etc if I remember correctly. I agree that having to parse it yourself is sub-optimal, but it's not as difficult or fragile as it first seems.

      In any case, this objection is going away as HTML 5 will probably include this facility. On its face, it seems useful, but I have to say, when I want to embed data in an HTML document, there's usually a perfectly appropriate element type or attribute ready and waiting, and I can't think of a time when I'd have actually used this.

      --
      Bogtha Bogtha Bogtha
    127. Re:W3C by dgatwood · · Score: 1

      On its face, it seems useful, but I have to say, when I want to embed data in an HTML document, there's usually a perfectly appropriate element type or attribute ready and waiting, and I can't think of a time when I'd have actually used this.

      The place I've done that most is apple_ref markup. Pretty neat thing, really. It's used for building up a website in which you don't explicitly link to other documents by path. Instead, you do something like <a logicalPath="//apple_ref/cpp/header/foo.h">link here</a> and elsewhere in some other doc, you have < a name="//apple_ref/cpp/header/foo.h" />. Then, you run a tool that does a two-pass process over the content and creates the links, but the original attributes are preserved. Whenever a document moves, the links can be corrected programmatically because the content is referenced semantically rather than positionally. Trying to wedge that into a class tag would be really, really ugly, particularly when multiple potential destinations come into play (e.g. you know from context that you are linking to a typedef or a class, but you can't tell which). See the documentation for HeaderDoc for more info.

      The other place I find myself using this frequently is in web apps that support drag-and-drop. I have a folder icon and I'm dragging something to it. I need to support an alternative path to a grey folder icon if it is valid to drop the item there, a red folder icon if it is not valid. Yes, I could hard-code that in the JavaScript, but it's much cleaner if you encode it in the tag so that you can support multiple kinds of drop targets. (In my case, you can drop on a folder or on the dumpster of doom.)

      It is also really convenient to have a second copy of the value of a form field (origValue="IMG_1394.JPG") so that if the user renames a file and the rename is disallowed (trying to change the file extension, for example), you can reset the name to its previous value.

      Those are just the three cases where this was useful in code I've touched in the last couple of weeks.

      --

      Check out my sci-fi/humor trilogy at PatriotsBooks.

    128. Re:W3C by bugg · · Score: 1

      There's actually a big difference between not specifying an alt tag and setting alt="" - it's similar to the difference between a NULL and an empty string in a database.

      Specifying alt="" is explicitly telling the user agent that no text is needed (just an empty string will suffice!) to replace this image if you can't/won't display the image. Not specifying an alt tag gives no direction at all to the useragent about what to do if it can't handle the image itself.

      --
      -bugg
    129. Re:W3C by everphilski · · Score: 1

      It sure does, because it separates the context under which ampersands appear. I don't think I can state it any more clearly than that.

    130. Re:W3C by Anonymous Coward · · Score: 0

      I'm an American college student majoring in English Literature and I am regularly criticized and marked off by my professors when I opt for the British spelling of words (i.e. "dialogue" rather than "dialog"). I learned to spell words this way from reading Literature, not having Word spellcheck my documents. Of course most English professors (especially Americans teaching Brit Lit) do not like to be exposed when you contest these "corrections".

    131. Re:W3C by Anonymous Coward · · Score: 0

      yo, Asbo-boy! it's called Soccer.

    132. Re:W3C by Lord+Flipper · · Score: 1

      Apparently your spell checker wasn't pedantic enough to point you to the fact that "misspelt" is improper English. :P The correct term is misspelled.

      Apparently you are another in a huge, long line of illiterates. Try an online dictionary. This is a good example of why reading/proofreading, with a brain that has something besides what passes for an 'education' in America, comes in so handy, and is much more dependable than your erroneously revered 'spell-checker.'

    133. Re:W3C by Anonymous Coward · · Score: 0

      Is it really so difficult to type & instead of &? Yes, because you get into an infinite loop!
    134. Re:W3C by Keeper+Of+Keys · · Score: 1

      alt="captcha image"? Not very helpful.
      How about:
      alt="" longdesc="{{url of audio captcha}}"?

      Yep, the alt attribute is compulsory, but there are legitimate cases where it should be left empty - eg on an image that plays a part in the visual presentation of the site but has no intrinsic meaning, such as a rounded corner.

    135. Re:W3C by Keeper+Of+Keys · · Score: 1

      Agreed. Plus, IIRC self-closing tags actually do have a meaning in HTML 4 (can't remember what) and would render differently from how the author probably intended if that part of the spec was actually followed.

      These discussions seem academic because we are used to very forgiving user-agents, which follow certain spec-flouting conventions. That's no reason to write syntactically wrong code.

      Interestingly, the quality of code on the www has improved quite a bit since the rise of Firefox, because it is a less forgiving browser than IE. When I first started using FF in 2004 many sites looked wonky, or just plain didn't work. This is a rare experience, nowadays. Maybe we need even stricter browser behaviour in future?

    136. Re:W3C by Keeper+Of+Keys · · Score: 1

      If any typo is justified, it's 'mispellt'.

    137. Re:W3C by Da_Biz · · Score: 1

      This is far from the first time I've had an ignorant American attempt to "correct" my proper English into your regional dialect. It's pretty annoying and reinforces negative aspects of your national stereotype.

      I found great amusement in your haughty, pedantic response: I posit that it's impossible to maintain "ownership" over a language when it's spoken by over 285 million people in a little country called the US.

      In the grand scheme of things, what makes you think that "misspelt" won't be a colloquialism relatively soon?

      To call your English more "proper" is a shallow-minded view of the world. Language changes over time: it is this reality that drove the development of the OED in the first place. American English, with both literary successes and embarrassing travails, is just as authoritative as your "dialect" is.

      The US hasn't been a British colony for well over 200 years. Your imperialistic attitude about language has apparently not had enough time to catch up.

      P.S. How's your Received Pronunciation doing these days?
      http://en.wikipedia.org/wiki/Received_Pronunciation

    138. Re:W3C by xZgf6xHx2uhoAj9D · · Score: 1

      Do blind users count as real users? They often don't use "real browsers" and their screen readers often depend on mark-up being valid, not just "looking nice".

    139. Re:W3C by Anonymous Coward · · Score: 0

      "Your code still doesn't work, but for a different reason than the one I originally thought. You are now double-escaping character entity references and causing ugly code to be presented to the end-user."

      Wrong. Code does work. You're encoding character entities wrong. SGML allows them to skip the final semi-colon in certain circumstances (before whitespace or a tag). HTML may. XHTML does not.

      "Rather than play with pseudocode, why don't we skip straight to the heart of the matter."

      Pseudocode is the heart of the matter. An implementation of the algorithm IS the heart of the matter. There is no more "heart" than the algorithm.

    140. Re:W3C by NotZed · · Score: 1

      Actually misspelled is just another example of a grating Americanism. Like 'I could care less' which makes no literal sense in the places they insist on using it.

      Misspelt is the correct English spelling, and shows up as correctly spelt in my editor (as does spelt, of course).

      --
      _ // `Thinking is an exercise to which all too few brains
      \\/ are accustomed' - First Lensman
    141. Re:W3C by Bogtha · · Score: 1

      You're encoding character entities wrong.

      In what way?

      SGML allows them to skip the final semi-colon in certain circumstances (before whitespace or a tag). HTML may. XHTML does not.

      Who said anything about XHTML? We've been talking about HTML up to this point. The NYTimes use HTML. So do most people. Your objection that skipping the semicolon isn't valid in XHTML because your code can't handle HTML syntax seems to be nothing more than a dodge to me.

      An implementation of the algorithm IS the heart of the matter.

      No, it isn't. An algorithm is designed to do something. If you don't know what it is you are supposed to be doing, then you can't write a correct algorithm to do it. If you can't figure out what to do with "&shy ", then how do you expect to write an algorithm to handle it correctly?

      --
      Bogtha Bogtha Bogtha
    142. Re:W3C by Bogtha · · Score: 1

      I found great amusement in your haughty, pedantic response

      Haughty — perhaps. Pedantic — no. What's pedantic about disagreeing when somebody mistakenly attempts to correct you when there is nothing wrong?

      I posit that it's impossible to maintain "ownership" over a language when it's spoken by over 285 million people in a little country called the US.

      I agree completely. There's nothing in my comment that attempted to claim ownership over any language.

      In the grand scheme of things, what makes you think that "misspelt" won't be a colloquialism relatively soon?

      It's not a colloquialism today, so what's your point?

      To call your English more "proper" is a shallow-minded view of the world.

      I didn't do that. Read my comment again. You'll see that you mistakenly saw the word "more" where there was none. That changes the meaning of the sentence significantly.

      The US hasn't been a British colony for well over 200 years. Your imperialistic attitude about language has apparently not had enough time to catch up.

      The only imperialism here is the attempt to define American English as the only correct dialect. There's nothing about my attitude that is imperialistic, all I want is to be able to speak English without being criticised for not speaking American English.

      P.S. How's your Received Pronunciation doing these days?

      I don't see the relevance.

      --
      Bogtha Bogtha Bogtha
    143. Re:W3C by Bogtha · · Score: 1

      I'm sorry, that's not clear at all. Here's an example I used earlier: "&shy ". How does separating the framework from the content tell you whether that is supposed to be a soft hyphen or an ampersand followed by the word "shy"?

      --
      Bogtha Bogtha Bogtha
    144. Re:W3C by Bogtha · · Score: 1

      Then, you run a tool that does a two-pass process over the content and creates the links, but the original attributes are preserved. Whenever a document moves, the links can be corrected programmatically because the content is referenced semantically rather than positionally. Trying to wedge that into a class tag would be really, really ugly

      Yes, it would. But I think discarding the source and trying to preserve the information in the processed output is ugly too. If you're moving stuff around, then you presumably need to re-run the processor to fix the links, and if you're doing that, why don't you use the original source?

      As for your other examples, the information doesn't need to touch the markup at all, does it? If you change something and you want JavaScript to be able to change it back, then why don't you save the information with JavaScript objects rather than in the markup?

      As I say, I'm not totally against the idea of generic data handling, I just don't find it useful personally.

      --
      Bogtha Bogtha Bogtha
    145. Re:W3C by taylortbb · · Score: 1

      You are correct, my mistake. But the point that IE6 has random rendering bugs is still valid.

    146. Re:W3C by joggle · · Score: 1

      For the record, the only word I'm aware of as being spoken 'correctly' in American English rather than British English is aluminum. I'm not aware of any words that are spelled correctly in one dialect over the other since one set of spelling rules does not have priority over the other.

      Most Americans are very ignorant of British spelling rules since usually our only exposure is classic English works that are mainly read in higher-level English classes in school. Heck, if you go to an American website with more average demographics than here at slashdot (say rockymountainnews.com for example), many can't even apply American spelling rules correctly.

  8. Snooze by EkriirkE · · Score: 1

    Is NYT some godly thing I've never heard of before? Why is this news? Maybe if this was an article about the benefits of blah blah blah, maybe citing NYT as an example.

    --
    from 09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0
    to 45 2F 6E 40 3C DF 10 71 4E 41 DF AA 25 7D 31 3F
  9. I have new respect for the NYTimes by Brandee07 · · Score: 1, Interesting

    Registration evils aside, that's a viewpoint I can respect. I was taught to code webpages when my father handed me an HTML manual and taught me how to look up the source code of a webpage that did something I liked (I was probably 10). This was long before CSS, but I learned those the same way.

    I can't say my webpages are as elegant or polished as NYTimes.com, but I'm sure they work on every browser. What's important is that I understand how and why they work.

    I also recently inadvertently triggered an argument between my parents on the virtues of IDEs in software development. My dad likes them, my mom regards them as the bane of true programmers everywhere. What does /. think?

    1. Re:I have new respect for the NYTimes by snl2587 · · Score: 1

      I also recently inadvertently triggered an argument between my parents on the virtues of IDEs in software development. My dad likes them, my mom regards them as the bane of true programmers everywhere. What does /. think?

      IDEs? I love 'em. Granted, I only use them to manage multiple source code files and compile everything automatically, but still, I like using them for the quality-check utilities and debugging.

      Now, to stay relatively on topic: a major company hand-coding is not news. I do it for my company all the time, and I know plenty of other people who also hand-code. And only one that does not.

    2. Re:I have new respect for the NYTimes by Asmor · · Score: 1

      I love IDEs, for 3 reasons.

      1. GUIs: Always a pain in the ass, always tedious. Unlike web development, I think there's no problem with using WYSIWYG for app development.

      2. Memory aids: I know how to program. I don't, however, have every method of every object memorized. Being able to look through a list is often quite helpful. It's also a good way to find things you never knew existed.

      3. Compiling: I fail at compiling. I don't know how to do it-- I'm sure I could learn, if I had to, but that's the thing. At least so far, I haven't had to.

    3. Re:I have new respect for the NYTimes by krazytekn0 · · Score: 1

      10? Damn I'm tired of being reminded that I'm not young anymore.

      --
      Not all life is cyber. Extra Income
    4. Re:I have new respect for the NYTimes by quanticle · · Score: 1

      Personally, I like IDEs if its easy to get them up and running. If I can sit down at the IDE and have it working with my project in 5 minutes or less, then I'll use the IDE. Otherwise, I find that I'm sometimes taking longer to get my workspace set up than I'm spending on the actual task.

      --
      We all know what to do, but we don't know how to get re-elected once we have done it
    5. Re:I have new respect for the NYTimes by Anonymous Coward · · Score: 0

      I wish I could talk to my parents about IDEs...

    6. Re:I have new respect for the NYTimes by TapeCutter · · Score: 1

      "I also recently inadvertently triggered an argument between my parents on the virtues of IDEs in software development. My dad likes them, my mom regards them as the bane of true programmers everywhere. What does /. think?"

      I think finding a slashdotter who's parents can both code is a sign I am getting old. I taught my Dad to code in the same way as your parents taught you. Dad is a retired mechanical engineer, he's now 77 and has been programming childrens games as a hobby for the last 10yrs or so. He has also created web sites and other bits and pieces for both of my younger siblings bussinesses, one is a wholesale nursery the other is a safari operator in Kakadu.

      I'm also self taught in what I know about the web, when I did my CS degree HTML didn't exist and a 'browser' was someone in a shop who was 'just looking'.

      --
      And did you exchange a walk on part in the war for a lead role in a cage? - Pink Floyd.
    7. Re:I have new respect for the NYTimes by i.of.the.storm · · Score: 1

      Hmm, both my parents can code and I learned to program from my mom's textbooks. Yeah, I suppose that is a sign of the times. Although my mom never really liked software, preferred hardware apparently (EE major) and now she says she doesn't remember any programming. So in the end, I still wish I could get my parents to argue about IDEs.

      --
      All your base are belong to Wii.
    8. Re:I have new respect for the NYTimes by Anonymous Coward · · Score: 0

      My dad likes them, my mom regards them as the bane of true programmers everywhere. What does /. think?

      Can I have your mom's number?

    9. Re:I have new respect for the NYTimes by hobo+sapiens · · Score: 1

      Depends. Coding something like C# is a bummer when you have to include all the crap the IDE writes for you. The IDE is actually very good, let it do it's thing with writing all of the class instantiation for forms and whatnot. Write your application logic and leave that crap to the IDE.

      As for web code, IMO you are a poser if you use an IDE for anything than syntax highlighting while you write code by hand. I have never seen an IDE that writes clean code. And often said code is not cross browser, and if it is, then it's done in the ugliest possible way. Sure, many folks wall say that it doesn't matter. Those folks are called "consultants", you know, the guys who claim they can do anything and then proceed to kludge together crap and then leave others to support it. Don't be one of those. Code written by an IDE is practically unmaintainable, and is written in such a way that minor browser changes can break it. I am talking about stuff like user-agent string sniffing and the like. Utter crap, and it sounds like you know how to do it the right way anyway.

      I write web pages with lots of javascript and ajax, valid html and xhtml, and written with php or coldfusion or a little ASP (not proud of coldfusion, but alas...) I don't use an IDE for any of it, and would actually be hindered by using one. I'd rather learn a programming language, and not some IDE. I use jEdit as my "IDE", so I have all kinds of powerful text manipulation tools and my knowledge of the language. And it works great!

      Of course, some IDE jockey will reply to this with venom. But I guarantee I understand how my program works better than said IDE jockey, and that pays dividends if there are ever problems or changes that need to be made which are beyond the scope of an IDE. If you are a professional, you can code by hand.

      --
      blah blah blah
    10. Re:I have new respect for the NYTimes by Anonymous Coward · · Score: 0

      black people use teh internets? Ohhh... that explains the ALL CAPS POSTS. ... its kinda like rapping, only MORE obnoxious. (as if that was possible...) (yes, makin' you CAPS LOVERS waste your mod points)

    11. Re:I have new respect for the NYTimes by s7uar7 · · Score: 1

      I can't say my webpages are as elegant or polished as NYTimes.com, but I'm sure they work on every browser. You'd be surprised - even html that looks completely innocuous can display differently in different browsers, especially when you add css in to the mix. I've learnt the hard way that you can never assume it will work just because it is standards compliant, you have to also check it yourself.
    12. Re:I have new respect for the NYTimes by Anonymous Coward · · Score: 0

      we have your women. soon we will have the white house. it's our time now.

    13. Re:I have new respect for the NYTimes by grcumb · · Score: 1

      My dad likes [programming IDEs], my mom regards them as the bane of true programmers everywhere. What does /. think?

      To the extent that Linux itself can be considered an IDE, I love them. 8^)

      No, seriously: The beauty of Linux is that you have everything you need for any imaginable coding scenario right there at your fingertips, all the time.

      As far as editors are concerned, I use vim and emacs in roughly equal proportions, depending on the task.

      --
      Crumb's Corollary: Never bring a knife to a bun fight.
    14. Re:I have new respect for the NYTimes by PenguSven · · Score: 0

      black people use teh internets? Ohhh... that explains the ALL CAPS POSTS. ... its kinda like raping, only MORE obnoxious. (as if that was possible...) Fixed that for ya
      --
      What is...?
    15. Re:I have new respect for the NYTimes by GDI+Lord · · Score: 1

      I also recently inadvertently triggered an argument between my parents on the virtues of IDEs in software development. My dad likes them, my mom regards them as the bane of true programmers everywhere. What does /. think? I think that you're privileged to have programmers/geeks/computerpeoplethings as parents!!!
      --
      You know its love when you memorize her IP address to skip DNS overhead.
    16. Re:I have new respect for the NYTimes by Jellybob · · Score: 1

      Be careful... they might come and bust a CAP in yo' ass.

      </rimshot>

    17. Re:I have new respect for the NYTimes by Anonymous Coward · · Score: 0

      wasn't wrong. rapping >= raping.

    18. Re:I have new respect for the NYTimes by edalytical · · Score: 1

      I have to admit I'm a little jealous. My mom can write a tinny bit of HTML, but still has to call me for help with links and image tags. My dad doesn't even have his own email address, he was a janitor. I taught myself to program when I was 13...would have been nice to have some guidance.

      --
      Win a signed Stephen Carpenter ESP Guitar from the Deftones: http://def-tag.com/?r=0008781
    19. Re:I have new respect for the NYTimes by i.of.the.storm · · Score: 1

      Yeah, I guess I'm pretty lucky I had those books around, and my parents encouraged me to get more from the library whenever I could. Not many of my friends had that, and I'm living in the suburbs of silicon valley.

      --
      All your base are belong to Wii.
  10. Benefits vs Issues by freedom_india · · Score: 2, Interesting

    Let's look 'objectively' at this:
    1. Handcoding takes a lot more effort and needs more 'actual' writers than before. So more techies keep their jobs in a recession.
    Score: Hancoding 1: Dreamweaver: 0
    2. Hancoding requires extensive knowledge of all CSS and DHTML codes plus javascript/JScript. So only the really good techies get the job, and not some script monkey. Survival of fittest.
    Score: Hancoding 2: Dreamweaver: 0
    3. Handcoding takes far more time than is necessary in a changing scenario of today's news. Effort not proportional to returns. As a shareholder, i would sue them for wasting money.
    Score: Hancoding 2: Dreamweaver: 1
    4. Dreamweaver allows preview easily and pretty much automates repeatable tasks. Handcoding requires a Mechanical Turk.
    Score: Hancoding 2: Dreamweaver: 2

    So its a tie.
    I appreciate NYTimes sticking to manual tasks for an electronic page as an end user and a techie.
    I hate them for wasting my money as a shareholder.

    --
    "Doing what i can, with what i have." ~ Burt Gummer
    1. Re:Benefits vs Issues by Punto · · Score: 1

      why would you buy shares of a newspaper anyway? never heard of the internet?

      --

      --
      Stay tuned for some shock and awe coming right up after this messages!

    2. Re:Benefits vs Issues by njcoder · · Score: 1

      Just because he said they hardcode the HTML, CSS and javascript doesn't mean they create each page from scratch. They have some sort of content management system based on a number of templates that do most of the grunt work.

      I haven't used Dreamweaver in a while and it was only to check it out but I never found an easy way to easily preview dynamic content.

    3. Re:Benefits vs Issues by Iamthecheese · · Score: 1

      So what you're saying is, "requires more effort" is better than "requires less effort" because we can keep jobs? buggy whips, broken window fallacy, etc.

      --
      If video games influenced behavior the Pac Man generation would be eating pills and running away from their problems.
    4. Re:Benefits vs Issues by fm6 · · Score: 1

      1. Handcoding takes a lot more effort and needs more 'actual' writers than before. So more techies keep their jobs in a recession. Typical Slashdot economics.

      When recessions happen, people look for ways to cut costs. What's a good way to cut costs? Automate your operations.
    5. Re:Benefits vs Issues by Anonymous Coward · · Score: 0

      Score: Hancoding 1: Dreamweaver: 0

      YOU, for one, should definitely stick to using a tool to help you code.


      Unless your coding is better than your spelling and syntax.

    6. Re:Benefits vs Issues by rhavenn · · Score: 5, Insightful

      Let's look 'objectively' at this:
      1. Handcoding takes a lot more effort and needs more 'actual' writers than before. So more techies keep their jobs in a recession.
      Score: Hancoding 1: Dreamweaver: 0 No, given a good IDE with some basics it takes less effort. Every time I want to use Dreamweaver I end up losing some hair. It's a frustrating piece of software if you know what you're doing or want to do and it won't let you.

      2. Hancoding requires extensive knowledge of all CSS and DHTML codes plus javascript/JScript. So only the really good techies get the job, and not some script monkey. Survival of fittest.
      Score: Hancoding 2: Dreamweaver: 0 This is a good thing. Your designers SHOULD know the ins and outs of 80-90% of their code and tags.

      3. Handcoding takes far more time than is necessary in a changing scenario of today's news. Effort not proportional to returns. As a shareholder, i would sue them for wasting money.
      Score: Hancoding 2: Dreamweaver: 1 I doubt they hand code every story into the page. They have a template / publishing system for all articles / layouts. It's probably far, far faster to do it by hand then trying to wrap Dreamweaver into it.

      4. Dreamweaver allows preview easily and pretty much automates repeatable tasks. Handcoding requires a Mechanical Turk.
      Score: Hancoding 2: Dreamweaver: 2 dual monitors, sshfs mounted file system and vim will do it far faster then Dreamweaver.. alt-tab works okay if you're stuck with one monitor.

      So its a tie. Nope, I would say hand-coding: 3.5 and Dreamweaver .5

      I appreciate NYTimes sticking to manual tasks for an electronic page as an end user and a techie.
      I hate them for wasting my money as a shareholder. I would applaud them for not wasting your money on software licenses and doing the job correctly.

    7. Re:Benefits vs Issues by TubeSteak · · Score: 1

      3. Handcoding takes far more time than is necessary in a changing scenario of today's news. Effort not proportional to returns. As a shareholder, i would sue them for wasting money.
      Score: Hancoding 2: Dreamweaver: 1 Things like brand perception & recognition are worth money.

      If you think of the hand coding as an investment in brand value, then it instantly makes a ton of sense.

      This value normally shows up in SEC filings as part of a lump sum called "Goodwill and Other Intangible Assets"
      --
      [Fuck Beta]
      o0t!
    8. Re:Benefits vs Issues by progprog · · Score: 1
      You're seriously rating handcoding vs Dreamweaver as a tie?

      3. Handcoding takes far more time than is necessary in a changing scenario of today's news. Effort not proportional to returns. As a shareholder, i would sue them for wasting money.

      Ummm... ever hear of the term CMS? You handcode the template, and editors/writers/journos who don't grok HTML use the CMS to enter it. They can add/change stories as often as they like without affecting the layout.

      4. Dreamweaver allows preview easily and pretty much automates repeatable tasks. Handcoding requires a Mechanical Turk.

      Handcoding allows preview easily too. It's called Alt-Tab to Firefox then F5. And I don't think you could convince anyone that Dreamweaver's viewing tools are better than the Firefox + Firebug combination. As for automating repeatable tasks -- there's scaffolding, commands like sed, writing small scripts... all sorts of things designed to easily manipulate huge chunks of text.

      Besides the most basic 10-page-or-less-I-have-a-web-page-woohoo situation that last existed 10 years ago, I don't see any reason to use Dreamweaver. Go ahead and sue the NYT -- we could all use a good laugh.

    9. Re:Benefits vs Issues by francium+de+neobie · · Score: 1

      WYSIWYG is just a form of abstraction - all the underlying (X)HTML, JavaScript and CSS are abstracted away by WYSIWYG graphics. There's nothing preventing you from trying other kinds of abstraction with code. Saying WYSIWYG web authoring is always faster/cheaper than web authoring by coding is like saying modern programming is a waste of time because every programmer has to write in machine code.

    10. Re:Benefits vs Issues by francium+de+neobie · · Score: 1

      Handcoding allows preview easily too. It's called Alt-Tab to Firefox then F5. There's an easier way to do that - use two monitors, move your mouse over and F5. You won't even lose sight of the code for a moment. ;)
    11. Re:Benefits vs Issues by Anonymous Coward · · Score: 0

      Using Dreamweaver isn't antithetical to handcoding. If you don't use the preview tab and stick to the code view, even in Dreamweaver, you are in fact handcoding. I used Homesite and loved it at my 1999 dot.com job. When the layoffs hit I went to work for a Mac shop. The only decent Mac editor then was BBEdit, which I used until Macromedia bought Allaire and incorporated all best the coding features from Homesite. It was only a short time until I was able to get the graphic designers to stop using the preview tab/WYSIWYG garbage once they saw how much more efficient it was to maintain a site with well written code (Global find replace did most of that negotiating for me). Dreamweaver was the Trojan Horse I used to wean a bunch of design school grads off WYSIWYG.

      Now we use more dynamic CMS and allow clients to maintain their sites via custom backend systems, but the base HTML and CSS are still created in Dreamweaver first.

      Also, how else would you generate CSS if not by hand. I don't imagine a PHP, ASP, Rails, etc. script that randomly generated styles would look very professional.

    12. Re:Benefits vs Issues by Dirtside · · Score: 1

      3. Handcoding takes far more time than is necessary in a changing scenario of today's news. Effort not proportional to returns. As a shareholder, i would sue them for wasting money.
      Score: Hancoding 2: Dreamweaver: 1
      Then you'd be a foolish shareholder. They're not handcoding the HTML and CSS for every single story; they're handcoding the HTML and CSS for the story templates they use.
      --
      "Destroy science and religion. Science would re-emerge exactly the same; but not religion." - Penn Jillette, paraphrased
    13. Re:Benefits vs Issues by Scrameustache · · Score: 1

      4. Dreamweaver allows preview easily How to preview in two clicks of your mouse whilst handcoding html: Click out of text editor, into an browser with your work open in it, click on reload button.

      It's THAT easy.
      --

      You can't take the sky from me...

    14. Re:Benefits vs Issues by RedWizzard · · Score: 1

      As a shareholder, i would sue them for wasting money. You'd lose, and get laughed at for trying it. Management in publicly held companies have an ethical responsibility to maximize value for the shareholders, but they have no obligation to agree with those shareholders as to how to go about it. As a shareholder you have two options if you don't agree with the job management is doing: you can sell or you can try to change the management by exercising your voting rights.
    15. Re:Benefits vs Issues by Firehed · · Score: 1

      Or screw the mouse, since you're hand-coding. Taking your hands off the keyboard slows you down a surprising amount.

      I'm partial to a widesceeen monitor in portrait mode with Coda's split view live previewing. Keep the eyes on the code and the preview, and generally no manual refreshing.

      Just because I'm hand-coding doesn't mean I have to waste my time using inadequate tools. At work I use Dreamweaver occasionally in split view for the same reason, though only because there's no good equivalent to Coda for Windows (and our CMS controls integrate with DW and I don't really feel like learning dozens of parameters and risking stupid typos)

      --
      How are sites slashdotted when nobody reads TFAs?
    16. Re:Benefits vs Issues by MillionthMonkey · · Score: 1

      The NYT has a set of automated tools that generate the stories that they will print.

      Basically as a monkey turns a crank, text is pulled out of drudgereport.com and sent through various filters to remove the ALL CAPS and the sirens and the less compelling rumors. Then the content management system takes over and this is where a bunch of geeks apply hand-coded styling to the result so that you have all the distortions in one document and the markup cleanly separated in another. Then they run the result through a bunch of shell scripts to generate the Bill Kristol and David Brooks columns which get their own styles applied with their portraits included as inline images.

    17. Re:Benefits vs Issues by nametaken · · Score: 1

      See, I don't mind writing everything by hand and doing it as cleanly and precisely as possible, since nowadays content is often inserted programmatically. I only have to do a few pages, the code makes it 100's... so I don't mind taking the time to do it exactly the way I want it. And really, doing it manually is the only way you're going to get EXACTLY what you want.

    18. Re:Benefits vs Issues by Anonymous Coward · · Score: 0

      Correct me if I'm wrong, but won't the implementation of a CMS (Content Management System) automate the addition of articles, editing pages (including the home page), and so forth? If so, then it's 2-1 for hand coding.

    19. Re:Benefits vs Issues by hobo+sapiens · · Score: 1

      "Handcoding takes far more time than is necessary in a changing scenario of today's news."
      Meh. Changing text on a page seldom involves much markup. It's not like you are designing a layout, after all. Just adding, removing, or changing text. Maybe a <p> tag here and there. Not a big deal.

      Plus, consider the fact that markup isn't new to newspaper folks. Markup has been used by newspapers for ages for formatting text for the printer. Markup is part of the vernacular for newspaper folks.

      If you do any web development, then you have templates and so on to make your job easier. I'd bet these guys just pull a template, insert content, and add paragraphs and headers as needed. No time at all.

      Dreamweaver loses...again.

      --
      blah blah blah
    20. Re:Benefits vs Issues by SanityInAnarchy · · Score: 1
      Here's what I see as more important: Handcoding requires you to understand what is actually going on under the hood. Once you do, Dreamweaver is going to hurt more than it helps -- provided you're also allowed to have a decent template language on the backend.

      Handcoding takes far more time than is necessary in a changing scenario of today's news. They're not handcoding every article, from what I can tell. See above about a templating language.

      Dreamweaver allows preview easily and pretty much automates repeatable tasks. See above about a templating language. I like Haml (and Rails/Merb), but there are others -- even PHP can be bludgeoned into something useful.

      Now, it's true that, for someone who doesn't know what they're doing, Dreamweaver could probably get you from zero to a working site in far less time. But for someone who does, proper HTML/CSS is a better choice in the long term, especially if you ever plan to do anything more with it than serve up static content -- or static templates with the story of the day.
      --
      Don't thank God, thank a doctor!
    21. Re:Benefits vs Issues by Eskarel · · Score: 1

      Do you really think they hand code the news? I'll bet you dollars to donuts that they hand coded a content engine(or at least the front end to one), and the news gets automatically rendered into that content framework. No waste of money, in fact a savings of money.

    22. Re:Benefits vs Issues by beav007 · · Score: 1

      He was using a program similar to Dreamweaver* to create the post, and it looked OK in the preview. That's how it is with WYSIWTF editors...

    23. Re:Benefits vs Issues by Anonymous Coward · · Score: 0

      No, unfortunately giving someone a tool like Dreamweaver means that employers are more likely to hire someone nowhere near as well trained, who will spend just as much time as the people who handwrite on the website, but wind up with lower quality markup. Often a well trained tech can write a page and style it much faster than someone who uses Dreamweaver.

      Preview is also best done in each of the browsers, not Dreamweaver's preview mode, which can never reproduce all the quirks that appear.

      I'm not really sure what you mean by repeatable tasks, though something like changing data in an immense table might fit. Either way you go about it, inputting a large amount of data takes a long time, and I don't think Dreamweaver has any feature that can really help with that.

    24. Re:Benefits vs Issues by jake_fehr · · Score: 1

      5. Trying to handcode update someone else's work done in a WYSIWYG editor is ridiculous.
      Score: Handcoding: 3 Dreamweaver: 2

      Handcoding wins.

      I'm a student in a library technician diploma program, and we've had to make websites for various courses. I handcode every one of them, including template pages for the other members in my groups so we can have some consistancy across the site. Then they generally edit my template pages in some WYSIWYG editor and send it back to me to put it together with the other pages. Inevitably there are some screwups somewhere, but they're easy to fix in my hand-coded pages. The ones changed in an editor however... A basic webpage with text, a few images (without specialized locations), and basic tables should not require thousands of lines of HTML.

      It's like taking someone's dissertation, translating it through Babelfish from English into Japanese, then translating it back.

    25. Re:Benefits vs Issues by Anonymous Coward · · Score: 0

      3 and 4 aren't necessarily true any more with tools like coda it's and cssedit, it's possible to see changes live as they happen. if you know what you're doing handcoding can be much more efficient than dreamweaver...

    26. Re:Benefits vs Issues by Anonymous Coward · · Score: 0

      I would argue that reinvesting into the company for a superior website is not wasting your money.

    27. Re:Benefits vs Issues by Dirk+van+der+Broek · · Score: 1

      I hate them for wasting my money as a shareholder.
      The NY Times is privately owned, no shareholders to consider.
    28. Re:Benefits vs Issues by dave420 · · Score: 1

      We use dreamweaver to code XHTML and CSS where I work. We don't use the WYSIWYG feature, just the code view. Since Macromedia bought Allaire, and since Adobe bought Macromedia, Dreamweaver is now HomeSite's direct descendant and latest incarnation. Implying that Dreamweaver==WYSIWYG is clearly not very fair.

    29. Re:Benefits vs Issues by dave420 · · Score: 1

      I feel I have to wade in here. I'm not usually one for blowing software's trumpet, but here goes.

      You can use Dreamweaver to hand-code. I do it daily, using the code-view. Its site management is a great feature, allowing you to specify the local location of your code, a test server, and the live server, the URL the dev/test/live sites are visible at, among many other things. It supports version control, FTP, SFTP, IPv6, etc. Its code-colouring is also excellent, as well as its built-in O'Reilly references for HTML, ASP, APS.NET, CSS, JavaScript, PHP, XML, and XSLT. It also has options for hotkey-launching of specific browsers for testing (which works wonders with multiple monitors). At work we have an intranet where we define our websites (remote login details for the testing/live servers, custom apache directives, etc), and whenever one site is updated, the intranet spits out a Dreamweaver .STE file (or, rather, two - one for a PC and one for a Mac), which can simply be imported into Dreamweaver, and all the configuration is done. You can switch between different site definitions very simply, so working on multiple projects at once is a snap (even with multiple monitors non-Dreamweaver users would still have to use alt-tab to go to their browser, then hit F5 to refresh it, as opposed to pressing one key).

      I've yet to find one thing Dreamweaver won't let me do, but please enlighten me :)

      Classing Dreamweaver as just another FrontPage clone is ridiculous, as it's come a long way as a simple code editor. I've yet to find a faster solution for developing XHTML and PHP, espcially in the workplace.

    30. Re:Benefits vs Issues by ultranova · · Score: 1

      Handcoding takes far more time than is necessary in a changing scenario of today's news. Effort not proportional to returns. As a shareholder, i would sue them for wasting money.

      Since a properly made page has all the representational data on a separate CSS file, the actual HTML page can be very simple - a list of articles at simplest. This makes it very easy and fast to update, either by cut'n pasting the article by hand or pulling it from a database.

      I repeat: a handcoded page is faster, not slower, to update than a WYSIWYG-generated mess.

      Dreamweaver allows preview easily and pretty much automates repeatable tasks. Handcoding requires a Mechanical Turk.

      As noted above, hand-coding allows the stories to be kept in a database and inserted into a template HTML file from there. This process is trivial to automate, to the point where the reporter pushes a "publish" button in their text editor, and scripts take care of everything.

      --

      Forget magic. Any technology distinguishable from divine power is insufficiently advanced.

    31. Re:Benefits vs Issues by mobby_6kl · · Score: 1

      If you were using a proper browser, such as Opera, you could just leave the browser window open to the side of the editor and have it automatically reload the page. No need to take your hands off the keyboard.

    32. Re:Benefits vs Issues by edalytical · · Score: 1

      You're exactly right, thanks for replying to this dude.

      --
      Win a signed Stephen Carpenter ESP Guitar from the Deftones: http://def-tag.com/?r=0008781
    33. Re:Benefits vs Issues by Bobb+Sledd · · Score: 1

      I am truly perplexed at the angst for DW. How do you find it confusing exactly? Maybe you have it misconfigured?

      I have used DW for years and I love the way it seamlessly understands you are coding PHP, ASP, HTML, Javascript, or CSS. It suggests the syntax for most functions, and even has an extensive library of its own.

      In fact, I can't even think of a faster way of creating a web-form tied to a database (which is the majority of what I do) than drawing your form up in DW (dragging your form elements where you want them and sizing the properly), then add PHP and Javascript as necessary. (If you use PHP and JS). (I do because I think it's polite to do client-side form validation, but also have server-side in case JS is disabled).

      Then go back and attach your style sheet as needed. You do have a good template, don't you?

      --
      "They said I probly shouldn't fly with just one eye," "I am Bender. Please insert girder."
    34. Re:Benefits vs Issues by cogito1002 · · Score: 1

      4. Dreamweaver allows preview easily and pretty much automates repeatable tasks. Handcoding requires a Mechanical Turk. Score: Hancoding 2: Dreamweaver: 2 Anyone who relies on dreamweaver to preview their site should not be writing code. Any decent html editor will have hotkeys for previews in multiple browsers. Not only is previewing in a browser a more accurate glimpse as to what the page will look at, but any web designer knows that they need to preview in multiple environments. I personally stick with the most recent standards compliant browser to preview sites for individual and minor changes, then every 10 or so minor additions, go back and double check it in IE6 IE7 and Safari (Yes firefox and safari sometimes render differently, example: divs containing floated items often do not interpret margin css tags correctly in Safari.
    35. Re:Benefits vs Issues by Anonymous Coward · · Score: 0

      agreed... VIM, once learned, is faster than any other editor i've used. and honestly, all wysiwyg editors really, really drive me up a wall. they should only really be used by content publishers (nytimes news stories, for example), while the templates, layout, etc is done by the devs in a source editor.

    36. Re:Benefits vs Issues by LKM · · Score: 1

      You forgot:

      Dreamweaver creates crappy, non-semamtic code. This increases bandwidth costs, makes your site slow, will break your site in future browsers, makes it hard for Google to figure out what the hell is going on on your page, and makes it hard to make changes later.

      In other words, you're free to use Dreamweaver for your hobby site, but let the professionals do their job, please.

  11. Dreamweaver/Homesite by l810c · · Score: 1

    Dreamweaver basically incorporated Homesite several years ago.

    While I do like the split development window(code/WYSIWYG), being a coder I spend most of my time in the code window and always have to check against multiple browsers.

    I think having the WYSIWYG view is a benefit, although I hate having to hit F5 to refresh the WYSIWYG continuously.

    1. Re:Dreamweaver/Homesite by im_thatoneguy · · Score: 1

      Little trick I picked up a few years back. Embed an autorefresh javascript--first thing. Then you can just let the page sit in a window on a second monitor. Code away. Every 3 or 4 seconds you get an updated view.

      Really great for tweaking image placement and other little minutia.

    2. Re:Dreamweaver/Homesite by Anonymous Coward · · Score: 0

      Or use Firefox's Reload Every extension

    3. Re:Dreamweaver/Homesite by Keeper+Of+Keys · · Score: 1

      I have used Dreamweaver in the past, but always in code mode. I never saw the WYSIWYG view as a benefit, as it didn't use a proper renderer and, inevitably, had many bugs of its own. If they'd integrated Gecko or Presto, *that* would have beeen a benefit. With the advent of Firebug, such things are no longer necessary.

  12. [GIANT FOOT ICON GOES HERE] by A+beautiful+mind · · Score: 1

    The title says it all, that's what's missing from the writeup.

    --
    It takes a man to suffer ignorance and smile
    Be yourself no matter what they say
    1. Re:[GIANT FOOT ICON GOES HERE] by Anonymous Coward · · Score: 0

      The title says it all, that's what's missing from the writeup. Huh? GNOME isn't mentioned anywhere in the linked article.
  13. I "hand coded" both of my kids by gc8005 · · Score: 1

    I just couldn't get the HTML to render AT ALL until I went to a specialist. He suggested that I "hand code" and they'd implant my HTML into my web server. It worked - twice! But it wasn't as fast as the NYTimes; it took almost 10 months to render.

    1. Re:I "hand coded" both of my kids by PC+and+Sony+Fanboy · · Score: 2, Funny

      translation: my 'wife' got pricked with a needle, instead of being needled with a prick.

  14. How much work does that involve? by menace3society · · Score: 2, Informative

    How much work does that actually involve? I don't read their online edition, but I imagine that they have all their articles in a database and put its contents into an HTML wrapper. That involves coding the wrapper once, and maybe a couple of conversions in the article text to make it HTML-friendly. You can do this when the article is converted into the database, or you can do it on the fly in your scripts, but the point is it shouldn't be that difficult to do.

    1. Re:How much work does that involve? by Anonymous Coward · · Score: 1, Informative

      Posting anonymously just to just to protect myself from my friend. *wave*

      They use a CMS of course. Probably developed in-house. My friend works for NYT and worked on the relaunch of the site. Based on her previous work experience and her skillset, I would say the bulk CMS was coded in java. I don't think she's going to tell me what she worked on however. I would wager a guess that they were previously using some kind of open source solution before she got hired, then migrating over to their in-house platform in order to accomodate scalability, but this is all speculative based on her working hours and the stuff she mentioned.

      What suprised me was that they used wordpress for their blogs, likely modified to it can be integrated with their backend. Wordpress was probably used for two reasons 1)the editors (esp the less tech saavy) would find the interface appealing, and 2)developer resources to create one from scratch would be a waste of time, if a good solution already exists.

      I don't think it's all that suprising that more and more publishing companies are using open source solutions. I myself work for a publishing company, and we developed our own CMS based on the business requirements given to us using perl mason.

      Most large scale solutions are seperated into 3 parts: the CMS itself, the templating system and editorial content. This is a clean seperation so the three parts can maximize their skillset, the three parts being 1) the editor creating the content 2) the designer creating the front-end look and 3) the developer(s) creating the system that bridges both the content and design to deliver something that looks nice and is rich in content.

      I work on templating system, we hand-code everything as well. Of course, some people on the team are more proficient than others. Some are extremely procifient js coders, others are employed for their flash, but pretty much all are required to know their html and css if they expect to keep their job. We're a pretty good group of geeks, we mock each other for being unaware of certain browser quirks caused by unsupported css features or wacky inheritance issues, or writing something that isn't ecmascript compliant. Keeps us pretty sharp.

      that being said, I'm would have expected that NYT handcoded their html and css, if anything to control the pagewieght.

  15. On WYSIWYGs vs. text editors by bjdevil66 · · Score: 1

    I agree with the person in the article about hand-coding. Even today, I still do my sites by hand with CSS/XHTML in the early stages because it IS faster to pin down bugs when you know what every tag is doing. Because of this, I've resisted changing to "Design View" in Dreamweaver. (Even in CS3, Dreamweaver still doesn't render exactly the way I want it to most of the time, and when it doesn't quite match what you get in browsers).

    With that said, I have found that Dreamweaver's autocompletion of closing tags is nice in most cases in "Code View". It does speed up the coding process a bit, and it helps you find potential mistakes in your several layers of div-driven layouts when things get a little dicey.

    Also, saying "I have used Dreamweaver" on your resume is probably going to be handy someday when decision-makers (i.e. PHBs) are looking for a web developer with Dreamweaver experience.

    1. Re:On WYSIWYGs vs. text editors by SanityInAnarchy · · Score: 1

      With that said, I have found that Dreamweaver's autocompletion of closing tags is nice in most cases in "Code View". If that's all you like about Dreamweaver, I'd strongly suggest something like Haml if you can use it, or Eclipse if you can't. Both have the advantage of being free and open source. Eclipse has the additional advantage of an XML "design view", in which the XML (or XHTML) is turned into a tree (think Firebug). Haml has the additional advantage of having embedded Ruby and of just looking really freaking cool.

      Also, saying "I have used Dreamweaver" on your resume is probably going to be handy someday when decision-makers (i.e. PHBs) are looking for a web developer with Dreamweaver experience. I hope I'm never so desperate I have to work either as someone who is using Dreamweaver, or with a PHB who thinks Dreamweaver is a good idea.
      --
      Don't thank God, thank a doctor!
    2. Re:On WYSIWYGs vs. text editors by Jellybob · · Score: 1

      Also, saying "I have used Dreamweaver" on your resume is probably going to be handy someday when decision-makers (i.e. PHBs) are looking for a web developer with Dreamweaver experience.


      I got burned by that one before. I now ignore any job advert that includes the word "Dreamweaver". It's usually synomous with designers who think that clicking buttons == web development, and everything that entails.
    3. Re:On WYSIWYGs vs. text editors by bjdevil66 · · Score: 1

      If that's all you like about Dreamweaver, I'd strongly suggest something like Haml if you can use it, or Eclipse if you can't. Both have the advantage of being free and open source. Eclipse has the additional advantage of an XML "design view", in which the XML (or XHTML) is turned into a tree (think Firebug). Haml has the additional advantage of having embedded Ruby and of just looking really freaking cool.

      I'll check out Haml - thanks.

  16. Why??? by Enahs · · Score: 1, Redundant

    Templates, a decent text editor, and a Markdown or Textile reader with the option of macros. Maybe a short Perl, Python, or Ruby script to cherry-pick your macros (I do something similar at work with vim, erb, and RedCloth.)

    Hand-coding everything is just plain silly.

    --
    Stating on Slashdot that I like cheese since 1997.
    1. Re:Why??? by Repton · · Score: 1

      I doubt he's saying they build every single page from scratch, banging away at their favourite text editor. It would be madness not to use templates or something similar to avoid repeating work. He's saying that they build the templates by creating the HTML/CSS manually, rather than using some code-generation tool like Dreamweaver.

      --
      Repton.
      They say that only an experienced wizard can do the tengu shuffle.
    2. Re:Why??? by MikeBabcock · · Score: 1

      Hand coding is never silly. Hand coding is simple and fast and works much better than Dreamweaver et al if you know what you're doing.

      Hand coding also lets you avoid all the wasteful javascript and CSS crap those editors embed in their HTML and you can intelligently reorganize that information in your templates, etc.

      PS Hand-coding does not mean editing each HTML page by hand, it means coding the HTML for output by hand.

      --
      - Michael T. Babcock (Yes, I blog)
  17. To you and me, that's 49 years by BorgCopyeditor · · Score: 1

    So, what is that in man-hours? Sorry, I mean web-monkey-hours.

    --
    Shop as usual. And avoid panic buying.
  18. Duh by DigitalisAkujin · · Score: 1

    Any self respecting web developer that is any good already knows this. The editor though is essentially all preference. He could have said Notepad.

    I personally use Dreamweaver but only because I like it's project management. Never find myself in design view ever. Especially since with PHP Dreamweaver has no idea what to display.

    1. Re:Duh by Bobb+Sledd · · Score: 1

      Ah, I think that is because you don't know how to code PHP in a way that is renderable for DW.

      If you code your page right, you should be able to display even multiple branches without screwing up the whole layout. It takes practice but can be done. My pages used to look unrenderable in DW until I figured out how. If you want more details, I'll elaborate.

      I even have a view pages that just keep posting back to themselves and rendering what looks like a new document. In DW, it just looks like one long page with little tags throughout.

      --
      "They said I probly shouldn't fly with just one eye," "I am Bender. Please insert girder."
  19. That's nothing. by Anonymous Coward · · Score: 1, Funny

    I once built a child with my bare hands using nothing but some spare protein strands I had lying around.

    1. Re:That's nothing. by Anonymous Coward · · Score: 5, Funny

      That's not coding by hand, that's compiling by hand ;-p.

    2. Re:That's nothing. by i.of.the.storm · · Score: 0

      Parent is rather funny. Just thought I'd say that, since I don't have mod points.

      --
      All your base are belong to Wii.
    3. Re:That's nothing. by Anonymous Coward · · Score: 0

      It actually was pretty funny... mod him up or I'll compile another Richard Stallman by hand

    4. Re:That's nothing. by Anonymous Coward · · Score: 0

      No it is linking. And it is definitely not by hand!

    5. Re:That's nothing. by ronocdh · · Score: 1

      That's weird. I used my bare penis.

      Also protein strands.

    6. Re:That's nothing. by mike2R · · Score: 1

      I don't even want to think about how you acquired the source code.. ugh.. I said I *didn't* want to think about it.

      --
      This sig all sigs devours
    7. Re:That's nothing. by Anonymous Coward · · Score: 0

      I imagined you'd need a child-building framework for that rather than just hands.

      Posting anonymously due to the extremely bad quality of the joke.

    8. Re:That's nothing. by Darinbob · · Score: 1

      I'm sure you had help.

  20. Dreamweaver is an excellent tool by davebarnes · · Score: 5, Interesting

    Stupid comment by Vinh about Dreamweaver.
    1. DW lets you code at the source code level if you choose.
    2. DW is much faster--in Design View--at creating tables.
    3. DW allows for flipping back and forth or split view.
    4. DW does not rewrite your code (for the most part).

    I use DW every day. I am not even conscious of flipping between the 2 views. Some things are done better in Design View and some in Code View.

    CSS support is very good in DW.

    --
    Dave Barnes 9 breweries within walking distance of my house
    1. Re:Dreamweaver is an excellent tool by AndrewNeo · · Score: 1

      I always use Dreamweaver, but almost (almost) never use its WYSIWYG feature. The only time I do is to preview a layout quick to make sure the spacing is right. Otherwise, I just stick with it for syntax highlighting and Sites/FTP for putting it up on the server.

    2. Re:Dreamweaver is an excellent tool by Anonymous Coward · · Score: 0

      2. DW is much faster--in Design View--at creating tables.


      The Internet, you're doing it wrong.
    3. Re:Dreamweaver is an excellent tool by Demiansmark · · Score: 1

      I don't understand point #2. I would agree that if you're using tables for layouts Dreamweaver is better than handcoding. But if you're using tables as they should be used, in the display of tabular data I don't see any difference in speed and if you're doing things right and semantically, while leaving appropriate CSS classes to style the table later it's going to a much bigger pain to do it in design view.

      If you know how to do things properly it always comes out better, and usually quicker, by hand.

      The only times I've switched into design view is when working on a site that was poorly coded by someone else and I just need to modify some content and don't want to wade through hundreds of lines of whatever proprietary tags were left in there by whatever MS product they exported it from.

      Or in rare occasions when I'm entering content, sometimes it's more convenient to start, say, an unordered list in code view then switch over to enter the content because I know DW wont much up the code.

    4. Re:Dreamweaver is an excellent tool by njcoder · · Score: 2, Interesting

      Stupid comment by Vinh about Dreamweaver.
      1. DW lets you code at the source code level if you choose.
      2. DW is much faster--in Design View--at creating tables.
      3. DW allows for flipping back and forth or split view.
      4. DW does not rewrite your code (for the most part).

      I use DW every day. I am not even conscious of flipping between the 2 views. Some things are done better in Design View and some in Code View.

      CSS support is very good in DW. 1. Why use a heavy tool like DreamWeaver if you're mostly just editing the source directly?
      2. Nobody uses tables anymore, at least not as much as they incorrectly used to before for formatting since CSS gives you a lot more control. This practice thankfully died out.
      3. Alt-Tab is just as fast if you have your browser open, or multiple browsers. I usually check IE and FF when I'm working on layout.
      4. For some people, even a little bit of code changes is too much.

      If I'm working on a php or jsp page that retreives content from a database how does DreamWeaver get it? Does it have a php engine or a servlet engine? If I want to include a page fragement from a php or jsp page or text from a java bean can it do that?

      Back when I was playing around with it, it couldn't do any of that. Even if it can now, I'm better off testing it directly in the servlet engine or php/apache setup I plan to deploy on to make sure there are no problems with db connections, unexpected session behavior, etc.

      When dealing with sites that have a lot of dynamic content and or more complex interactive attributes, like more and more sites are having, DreamWeaver seems to get in the way for me. I have, on ocassion used it to generate the initial design and then cut and paste the pieces in the appropriate php/jsp files then work from there. It never seemed necessary though.

      It's not a big deal to install Apache, mod_php, tomcat, database on a development server or even locally to be able to test things out in a real environment.

      For simple sites, or for the initial design of the site it may have it's place but for me that's not worth the price.
    5. Re:Dreamweaver is an excellent tool by Cl1mh4224rd · · Score: 1

      4. DW does not rewrite your code (for the most part). It'll screw up your indentation pretty thoroughly, though, if you make any changes in Design View.

      I use DW every day. I am not even conscious of flipping between the 2 views. Some things are done better in Design View and some in Code View. With the exception of inserting objects (like images, tables, etc.) everything is better in Code View.

      I despise Dreamweaver 8 when pasting text copied from a Word document. The vast majority of the time, it decides to wrap paragraphs in div tags. If I'm lucky, it merely confuses paragraph breaks for line breaks.

      Also, the fact that I can't use it to access files outside of the document root makes it a pretty frustrating tool.

      And since it uses God-knows-what rendering engine, what you see in Design View isn't what you're going to see in either IE, Firefox, or Opera. So, other than inserting objects, as I mentioned before, and getting the cursor to the right spot in Code View (although even this is pretty inconsistent), I pretty much ignore Design View.

      WYSIWTF
      --
      People will pass up steak once a week, for crap every day.
    6. Re:Dreamweaver is an excellent tool by Ansoni-San · · Score: 1

      I always use Dreamweaver, but almost (almost) never use its WYSIWYG feature. The only time I do is to preview a layout quick to make sure the spacing is right. Otherwise, I just stick with it for syntax highlighting and Sites/FTP for putting it up on the server. Try Aptana Studio. It's really come along nicely. If you're not using the WYSIWYG part of Dreamweaver then maybe you want to consider switching. It has way more features, is most certainly the Javascript king, and since it runs on eclipse (you can get standalone or as an eclipse plugin, standalone probably the way to go if you don't have eclipse already) you can use the eclipse plugins as well, so SFTP/FTP, subversion, or any other strange protocol that eclipse happens to have plugins for are also available.

      In-fact, any other random functionality that eclipse happens to have plugins for also become available to you. It's really useful in work environments because then both designers and developers standardise on Eclipse, designers only using different plugins.
    7. Re:Dreamweaver is an excellent tool by Cl1mh4224rd · · Score: 1

      Yes, I'm replying to myself, but...

      My God, Dreamweaver. If you don't recognize the type of the file I double-clicked on in your Files pane pass it on to the fucking OS!

      --
      People will pass up steak once a week, for crap every day.
    8. Re:Dreamweaver is an excellent tool by G-funk · · Score: 1

      2. Unless of course you want to vertically centre something... Then tables are your only option on most browsers.

      --
      Send lawyers, guns, and money!
    9. Re:Dreamweaver is an excellent tool by Anonymous Coward · · Score: 0

      I also use Dreamweaver everyday and I can assure you there isn't a single thing that is better to do in design view than in code view (possibly auto setting width and height attributes for images). Dreamweaver is a perfectly fine tool, but the WYSIWYG side of it is still a WYSIWYG.

      Also, why are you using tables? Seriously there are enough examples of the box model out there that any web designer worth half their weight in shit shouldn't be using tables for layout any more.

    10. Re:Dreamweaver is an excellent tool by jollyreaper · · Score: 1

      Stupid comment by Vinh about Dreamweaver.
      1. DW lets you code at the source code level if you choose.
      2. DW is much faster--in Design View--at creating tables.
      3. DW allows for flipping back and forth or split view.
      4. DW does not rewrite your code (for the most part).

      I use DW every day. I am not even conscious of flipping between the 2 views. Some things are done better in Design View and some in Code View. I always saw it as similar to what the teacher said about using calculators on math tests -- you don't get the calculator when you're learning your arithmetic, you get it when you go to algebra. Why? Because teaching arithmetic is about getting you used to working with numbers and thus have a feel for how things work and can recognize when things aren't working. How would you know that 550 x 200 = 400 is wrong if you have no idea what's going on with the numbers when you hit enter?

      So as far as Dreamweaver goes, it is useful for generating layouts, tables, etc. But at the end of the day, you still need to have an understanding of how the code works and what it's doing. Sometimes dreamweaver can be great for catching where mistakes are cropping up in rendered pages, it will show orphaned tags, where the table structure is breaking, let you see where to go in with the code to fix it.

      There's always going to be the eternal struggle between the fans of the old school and the haters of the new stuff. When I took my first programming class, the instructor was livid about the C compilers the school was using because they were part of that first step towards IDE's, they would give you error codes and bring you back to the line if the compiling didn't work. The instructor said that people would just keep fiddling the lines until it compiled and consider that to be good without understanding why the error cropped up in the first place and thus not being sure if what they did truly fixed the problem or just made it too subtle for the compiler to catch. Again, that's a matter of best standards and practices and I can respect it. At the same time, professionals need to "get shit done." So the prudent course is a compromise between those two positions.
      --
      Kwisatz Haderach
      Sell the spice to CHOAM
      This Mahdi took Shaddam's Throne
    11. Re:Dreamweaver is an excellent tool by njcoder · · Score: 1

      That's still no reason to make your whole site one big table.

      This is definitely something that should have been taken care of with CSS a while ago. There is a vertical-align property but only works in some browsers if you define the display property as table-cell or something like that. Another trick is to create three nested divs and set the top property to 50% and -50% for two of them. I forget the details but it's a pain in the ass to work consistently across browsers for something that used to be so simple before.

    12. Re:Dreamweaver is an excellent tool by dmsuperman · · Score: 1

      Or so you think. I used to work with a design team that would use Dreamweaver to design it. They'd send me the code, and not only would it make absolutely no sense (just looking at the source code) but it would be INSANE to try to implement in a real-world scenario. It once gave me 19 consecutive divs with each relying on the other's position for the output. These divs all contained things such as menu items, the content, the copyright. None of them were seperated, it was literally after . To add another item to the menu, I had to first go through and edit all the other successive divs and increment which class they implemented, then create a new class with it's own special positioning. I'll stick with Notepad++ for windows, and Eclipse (or Kate) for Linux. Eclipse has all the great code-completion features, without auto-coding it (which is bad for those of us who actually care about the output).

      --
      :(){ :|:& };: Go!
    13. Re:Dreamweaver is an excellent tool by Z34107 · · Score: 1

      DW does not rewrite your code (for the most part).

      Neither does the new Microsoft Frontpage! (ducks)

      --
      DATABASE WOW WOW
    14. Re:Dreamweaver is an excellent tool by brezel · · Score: 1

      well, i really doubt, that anyone, who needs to code a highly dynamic website will use DW. most of these people (including me) use frameworks like jsf, adf or something like that and use "real" IDEs that are "really" integrated such as netbeans, which includes its own instance of glassfish or tomcat or whatever.

      in my opinion WYSIWYG editors have their place in quite static or/and 'stupid' (meaning that they do not have to react to a lot of user input) websites, but interactive web applications are clearly a different pair of shoes.

      i personally tend to solve most things with jsf/icefaces, since i am comfortable with it, and i know, that with more advanced technologies you can create simple apps but also complicated ones...this is where WYSIWYG fails. of course i would not use jsf to code a guestbook or something like that ;)

      purely my opinion ^^

    15. Re:Dreamweaver is an excellent tool by sxtxixtxcxh · · Score: 0

      dreamweaver uses opera to render the design view.

      --
      for a minute there, i lost myself...
    16. Re:Dreamweaver is an excellent tool by TheDeivix · · Score: 1

      you can write a javascript that centers your content vertically when the page loads and everytime it's resized, something like:

      window.onresize = function(){
      my_div.style.top = ((window.innerHeight - my_div.style.height) / 2).toString() + "px";
      }

      the above code is just an example, i just wanted to illustrate the idea

    17. Re:Dreamweaver is an excellent tool by Anonymous Coward · · Score: 0

      2. Unless of course you want to vertically centre something... Then tables are your only option on most browsers. Centered (horizontal and vertical) box using only CSS:
      http://www.wpdfd.com/editorial/thebox/deadcentre4.html
    18. Re:Dreamweaver is an excellent tool by G-funk · · Score: 1

      Centering content of known-height is not difficult in CSS, but that's not all that useful, either.

      --
      Send lawyers, guns, and money!
    19. Re:Dreamweaver is an excellent tool by SanityInAnarchy · · Score: 1

      If you only want to vertically center one thing, that's hardly a reason to load all of Dreamweaver -- that's only one table.

      And that's also something which can be done in CSS, and does, in fact, work on most browsers. It might not work on IE, but Firefox is up to what -- 20%? 30%?

      --
      Don't thank God, thank a doctor!
    20. Re:Dreamweaver is an excellent tool by Anonymous Coward · · Score: 0

      Glad you went into detail on this.
      I have had to explain this many times to other developers (including superiors) who like to go on about things they don't actually know about.

    21. Re:Dreamweaver is an excellent tool by sehryan · · Score: 1

      1. Because DW has some great code hinting and completion options when writing HTML and CSS.
      2. Actually, I still use tables...when formatting tabular data. That is what tables are for, so it is no where near dying out.
      3. I doubt he is using split view to preview what the site is going to look like, since DW's rendering engine stinks. He is probably using it to quickly find places in the design, then adjust the code by hand.
      4. DW will not rewrite your code unless tell it to.

      "It's not a big deal to install Apache, mod_php, tomcat, database on a development server or even locally to be able to test things out in a real environment."

      Depending on your corporate environment, it can be a huge deal.

      Basically, it boils down to this: Some people like it, some people don't. There is no right or wrong way to create a site, as long as at the end of the day the code is clean, the design is effective, and the end user is happy.

      --
      The world moves for love. It kneels before it in awe.
    22. Re:Dreamweaver is an excellent tool by mgblst · · Score: 1

      I have had problems with dreamweaver changing the code for no apparent reason. I guess it doesn't do this if you created everything in dreamweaver, but it does if you don't and it broke the page. I won't touch it anymore.

    23. Re:Dreamweaver is an excellent tool by Jellybob · · Score: 1

      Yes, it's possible.

      No, it's not as simple as it would be if people just supported the vertical-align property, which was intended for precisely that purpose.

    24. Re:Dreamweaver is an excellent tool by Jellybob · · Score: 1

      but Firefox is up to what -- 20%? 30%?


      I don't know the precise numbers at the moment, but that's fairly irrelavent.

      I also don't know of any client who would quite happily turn around and say "Well, if it works for 20% of people, lets not worry about the other 80% of our customers who it won't work for. Viva la Web Standards!"

      This is the real world, where a large proportion of sites are there to make a profit, not to stroke your ego.
    25. Re:Dreamweaver is an excellent tool by njcoder · · Score: 1

      "It's not a big deal to install Apache, mod_php, tomcat, database on a development server or even locally to be able to test things out in a real environment."

      Depending on your corporate environment, it can be a huge deal. If you're not properly staging the site/application on an equivalent platform that you are deploying to production you run the risk of major problems. I don't see why anyone wouldn't do this.

    26. Re:Dreamweaver is an excellent tool by FatMacDaddy · · Score: 1

      I like DreamWeaver, too, and use if almost every day. But I think I've been in the design view maybe once or twice over the past few years. The editor is much nicer than using simple Notepad or Wordpad, and it includes some nice 508 accessibility reminders. But that design view is something to be avioded in most cases, since the DreamWeaver-generated code is mostly unsupportable garbage.

      --
      This space intentionally left blank.
    27. Re:Dreamweaver is an excellent tool by elrous0 · · Score: 1

      Did you just seriously say that it shouldn't matter that it doesn't work in IE?!?!? Are you retarded? You seriously think a real-world business should have a website that looks like dogshit for 75% of their customers just because a bunch of anal-retentive developers don't like tables?

      --
      SJW: Someone who has run out of real oppression, and has to fake it.
    28. Re:Dreamweaver is an excellent tool by Anonymous Coward · · Score: 0

      > I despise Dreamweaver 8 when pasting text copied from a Word document.

      Well Office 2008 and DW CS3 have come to your rescue. Copy and paste just plain fails, unless you use 'plain text' and don't mind losing all your line breaks!

      I agree with your point below though about DW refusing to deal with files it doesn't recognise, but you can tweak the config files - mine now opens Drupal .module files without complaining.

    29. Re:Dreamweaver is an excellent tool by Anonymous Coward · · Score: 0

      Stupid comment by Vinh about Dreamweaver.
      2. DW is much faster--in Design View--at creating tables. Tables? Ewww.
      I respect all of your answer apart from that.

      Anyway, I'm a XHTML and CSS guy.
      I also have 3 monitors so I don't need silly DW or anything to flick between "views". Surely using the browsers the end-user will have is better?
    30. Re:Dreamweaver is an excellent tool by Bobb+Sledd · · Score: 1

      IMHO, CSS is still not completely fully thought-out. There are still some attributes that cannot be set with CSS, and not every browser displays CSS the same way. I have backed myself in a corner several times trying to just use CSS only.

      Tables may be predicated, but do you honestly think anything is going to refuse displaying them? Ever?

      Further, the fastest way to build a page:
      1. Design it in PS.
      2. Slice it up
      3. Export as HTML and images slices
      4. Load in DW
      5. Knock-out images where content should go.
      6. Profit.

      My pages always took forever to build and still looked like an amateur did them until someone showed me how to do this effectively. Knock it out and get it done, get on to the next project.

      Does DW know how to get data from a database? As a matter of fact, it does! If you don't know what you're doing with databases, this is a great way to start out until you do.

      Yes, it can do includes also.

      --
      "They said I probly shouldn't fly with just one eye," "I am Bender. Please insert girder."
    31. Re:Dreamweaver is an excellent tool by SanityInAnarchy · · Score: 1

      Did you just seriously say that it shouldn't matter No, I didn't. Read my signature.

      I also said that one table -- with one cell -- is hardly a reason to load up Dreamweaver.
      --
      Don't thank God, thank a doctor!
    32. Re:Dreamweaver is an excellent tool by Bogtha · · Score: 1

      There are still some attributes that cannot be set with CSS

      CSS doesn't set any attributes. What do you mean?

      not every browser displays CSS the same way.

      Not every browser displays HTML the same way either. They aren't supposed to. Displaying things the same way is impossible on the web. It's a good thing.

      Tables may be predicated

      The only thing I can guess you mean by this is "deprecated", but tables aren't deprecated at all.

      do you honestly think anything is going to refuse displaying them? Ever?

      Refuse to display them the way you want? It's already happened.

      When Netscape 6 came out, people using table layouts complained that it left gaps everywhere. I believe some other browsers act this way as well now. It was due to people assuming that images would be treated specially in table cells rather than being vertically aligned to the baseline like the specification describes.

      When Internet Explorer 6 came out, its standards mode didn't treat centring specially like previous versions did, so alignment broke for lots of people using table layouts.

      I know table layout advocates like to tell people that table layouts are robust, that they work the same everywhere, and that support for them is everlasting, but it simply isn't true. They are quirky, they work differently in different browsers and browsers have dropped special handling for them on several occasions. Sure, you've picked up workarounds for them over the years, but if you'd have been using CSS, you'd have picked up the workarounds for those problems over the years instead.

      --
      Bogtha Bogtha Bogtha
    33. Re:Dreamweaver is an excellent tool by Bobb+Sledd · · Score: 1

      Yes I meant "deprecated." (sheesh.) (Aherently, I have a riding inpedermant remendering the wrong syllabus.)

      Anyway, I had vaguely recalled having trouble setting either the the border color or the background cell color of a table.

      Now as I look, I can't figure out what it was I had trouble with...(shrugs)

      I guess my only gripe though is that, with CSS it always seems you get to something you want to change and cant find that one attribute(?) that fixes it for you. And for tables there are many configurables, and they aren't intuitively named.

      Anyway, if the table, tr, and td tags are not deprecated, then I suppose I don't have much of a beef with CSS. Perhaps it was using tables for LAYOUT that most people have a gripe with.

      bah. Just get off my lawn.

      --
      "They said I probly shouldn't fly with just one eye," "I am Bender. Please insert girder."
  21. I feel OLD. by Valdrax · · Score: 3, Funny

    wysiwyg (what you see is what you get) I remember when this acronym was so frequently used as a selling point in the 80s that you wouldn't have had to explain it.
    --
    If it's for-profit but free, you're not the customer -- you're the product (e.g., the Slashdot Beta's "audience").
    1. Re:I feel OLD. by atraintocry · · Score: 1

      I think it was still in heavy use in the early 90s. In any case for me it always seemed to stand for "run while you can".

    2. Re:I feel OLD. by Anonymous Coward · · Score: 0

      WYSIWYG... WTF? (What's that for?)

      echo '<html><body> ... </body><html>' > home.html

  22. The Failure of Web Newspapers by fm6 · · Score: 1, Offtopic

    A lot of newspapers, including the NYT, realized early on that they had to move onto the web in order to retain their readers. But despite this early insight, and 10+ years struggling to get viewers to come to their sites, none of them have figured out how to do a proper news web site. Not one.

    Absurdities like use of hand-coded HTML and CSS are just the tip of the iceberg. What really bothers me is that nobody seems to have thought of a way, or even tried to think of a way, to properly use the Inverted Pyramid on a web site.

    The Inverted Pyramid, for those of you who didn't take Journalism (I took it in high school) is a stylistic technique where you put the most important and newsworthy details of a story in the first paragraph. Slight less important stuff goes in the next paragraph, and the next, until you trail away with trivia at the end. That makes it easier for your editor to trim a story so it fits in the available space. More importantly (especially for an online newspaper, where space is not finite), it makes it easier for the reader to graze the news. You can be your own editor, on stop reading a story when the details are too fine to attract your interest.

    You'd think that this would actually be easier to support online than in a physical newspaper. But news sites don't even try. They just dump the print edition online, then provide link farms for the stories, with a few stories getting special summaries.

    And they're been similarly stupid with their classified ads. These used to make up something like a third of their income, before Craigslist stole all their customers. Now, you might think that there's no hope of competing with Craigslist, since most of its advertisers get a free ride. But classified ads aren't all that expensive, and advertisers wouldn't have stopped using them if Craigslist didn't do a better job of connected the right advertisers with the right customers.

    The print classifieds were doomed in any case, but newspapers were ideally set up to turn their print classifieds business into an even more lucrative online classifieds business. But, as with so many other things, they never really tried.

    Probably most of you don't care — you get your news from blogs. Me, I prefer to get my news from somebody who knows something about finding stuff out, who has some sense of professional ethics, and who doesn't simply regurgitate every rumor that sounds vaguely plausible. Unfortunately, that option is rapidly disappearing.

    1. Re:The Failure of Web Newspapers by deek · · Score: 1

      Does the Sydney Morning Herald fit your criteria for a good online newspaper, from a traditional paper news company? I certainly like it, and I feel like they've adapted their online version well.

    2. Re:The Failure of Web Newspapers by stewbacca · · Score: 1

      Probably most of you don't care â" you get your news from blogs. Me, I prefer to get my news from somebody who knows something about finding stuff out, who has some sense of professional ethics, and who doesn't simply regurgitate every rumor that sounds vaguely plausible. Unfortunately, that option is rapidly disappearing. The last sentence in your otherwise outstanding comment ruins the entire concept.
    3. Re:The Failure of Web Newspapers by fm6 · · Score: 1

      It's as good as any of the online papers I read. Maybe a little more interesting than most, because they seem to have a photo editor with a good eye.

      But see my previous post re link farms and lack of support for the inverted pyramid. The SMH is pretty standard in that respect.

    4. Re:The Failure of Web Newspapers by fm6 · · Score: 1

      The last sentence in your otherwise outstanding comment ruins the entire concept. I don't follow.

      I have to note that I committed the standard Slashdot sin of not reading TFA. The NYT doesn't handcode entire pages, as the headline suggests. They just handcode the templates that the articles get inserted into. I stand by my other comments though.
    5. Re:The Failure of Web Newspapers by stewbacca · · Score: 1

      No, YOU didn't ruin it, the notion that the number of dependable news sources has eroded over the years did. You said nothing wrong, and I agree with everything you said! I forgive you though, since this is slashdot, we have grown to expect that every comment is satirical, self-indulgently condescending, ego-pumping, argumentative time-wasters.

    6. Re:The Failure of Web Newspapers by immcintosh · · Score: 1

      I'm not sure I really buy your complaints here.

      Sure, newspapers in general missed something of a business opportunity by not moving their classified ads online, but really, in that market space I really don't think it's clear that there was much profit to be made. The classified ad of old was a seller because it really was the best way to get your ad seen by the broadest number of potential customers. With the internet, that's not the kind of distribution papers have a monopoly on anymore, so there's really no reason they should have led the market there. Anybody could have done it (and Craigslist did).

      As for the inverted pyramid, I really just don't see your argument. News stories I read, whether online or not, generally all employ the technique in the actual content of individual stories. Are you claiming that online news stories have the useful information scattered throughout to a greater extent than written print stories? If so, I guess I'm going to have to just disagree. Beyond that, I'm not sure how you "apply" the inverted pyramid to online stories in any different manner than print stories. In other words, I don't see (for example) nytimes.com providing any less organization to their online material than is present in their paper material. Are you arguing they should be doing more? If so, what?

      Also, what is your definition of a "proper" news site? You claim that no single traditional news company has managed to construct one, but fail completely to indicate what you consider their actual failings to be with respect to your supposed ideal. I may as well just go and start bitching that no American auto maker has yet managed to make a "proper modern car." Nevermind what that actually is, they've failed!

  23. Good by spikedvodka · · Score: 1

    Hand coded gets you smaller pages, they load faster, and generally look better

    I do feel vindicated though... I hand-code everything...

    nano, notepad++, emacs... vi, I use them all

    --
    I will not give in to the terrorists. I will not become fearful.
    1. Re:Good by Warll · · Score: 1, Funny

      nano, notepad++, emacs,vi... ...Needles, Butterflies...
    2. Re:Good by Jellybob · · Score: 1

      nano, notepad++, emacs... vi


      Wow... any reason for that? Between emacs and vi you've got all the bases covered, and you'd probably be much more efficient if you learnt to use *one* of them well, instead of all of them averagely.
    3. Re:Good by colinrichardday · · Score: 1

      What if his office machine is a Windows box with neither emacs nor vi? What if he needs a small editor like nano? Also, some his of pages may benefit more from the capacities of vi over those of emacs (and vice versa).

    4. Re:Good by spikedvodka · · Score: 1

      office machine is windows... as the Parent suggested... for a quick fix, nano is superb, some machines have vi, some have emacs... it's all about what is there, and what isn't

      each one has advantages, and disadvantages

      --
      I will not give in to the terrorists. I will not become fearful.
  24. Well it looks great by grrrl · · Score: 2, Interesting

    Personally, I have come to really enjoy reading the online NY Times (and I don't even live in the US).

    The re-design they did a couple years ago is a pleasure to navigate, to read (I love the fonts) and while the photos are always top notch, I must say the award goes to whoever makes the graphs. They have the most fantastic and unique ways of presenting data - far beyond a boring Excel bar graph. I am really really impressed by the interesting and informative graphs which are often highly interactive, and I would love to know who thinks them up.

    At the end of the day, they use templates (I believe he says as much in TFA, IIRC, I read it a week or so ago) and hand tweak the site to make it sure it stays cross-platform pretty. Each story has a similar layout so it can't be hard for them to simply tweak by hand where needed.

    1. Re:Well it looks great by Hemogoblin · · Score: 2, Interesting

      If you like cool graphs, you might enjoy this Economist article.

      Summary: "A good graphic can tell a story, bring a lump to the throat, even change policies. Here are three of history's best."

    2. Re:Well it looks great by Mex · · Score: 1

      Indeed! The graphs and interactive content is some of the best of any online newspaper. Recently they had one explaining the "Game Show Dilemma", and it was actually easy to understand, and also educational.

      Much respect to their designers.

    3. Re:Well it looks great by Anonymous Coward · · Score: 0
  25. News? I thought everyone knew WYSIWYG sucked... by PC+and+Sony+Fanboy · · Score: 1

    great! ... but I thought that any website worth its stuff was already doing at least SOME hand coding to ensure viewability... if not all.

  26. To you and Me... and real developers by Anonymous Coward · · Score: 0

    What are the man-hours to get some newbie web devels to try and troubleshoot spacing issues, what are the hours to look through countless contextual menu's to find the code that's bugging out, ever searched for a CSS bug through 1500 lines of CSS? Try it with an wisywig editor, it wont even pick up the error!

    I don't know about you but as for me and my experience doing things right the first time is far more prudent and far more efficient then cleaning up after a wisywig editor, I have written entire web applications via 'vim'. What do I have to show for it? No 'browser' issues, other than known bugs!

    The advent of WSYWIG editors have proven good in some ways but when dealing with high-profile sites, I gotta say, if you use a WSYWIG editor to do anything other than basic layouts and to let it handle production code is really irresponsible, furthermore I would argue that anyone that does not have the knowledge to clean up after the editor is underqualified to be a web developer. And designers ARE NOT developers! :)

  27. Doesn't everyone? by consumer · · Score: 3, Informative

    He doesn't mean that they hand-code every page -- he says very clearly that they use a CMS with templates. All he said is that they don't use a GUI tool to create the templates. This is true of just about any significant site. What is the imagined news here?

    1. Re:Doesn't everyone? by Revotron · · Score: 1

      What is the imagined news here? About half of the articles in the Times, to be precise.
    2. Re:Doesn't everyone? by MMC+Monster · · Score: 1

      To paraphrase Colbert, the liberal news outlets have a bias towards reality.

      --
      Help! I'm a slashdot refugee.
    3. Re:Doesn't everyone? by nine-times · · Score: 1

      Headline should read something like, "NYTimes.com uses web developers who are good designers and at least semi-competent coders in order to develop their site".

      Really, since when has it been considered acceptable for professional web developers to *not* write HTML and CSS by hand? If I was paying someone and then caught them using a WYSIWYG editor, I'd be pretty unhappy.

    4. Re:Doesn't everyone? by Anonymous Coward · · Score: 0

      You're right. The editors in the CMS platforms are generally pretty good. But they're not perfect.

      However, the biggest problem they have is actually MS Word. When you copy and paste text from Word, the formatting markup is hideous. I mean just flat terrible and useless. Font tags, spans, divs, all over the place.

      If people just paste plain text into the editor, and then add some styles to it within the CMS, the results are much better. Still not perfect, but 10 times better than the MS Word scenario.

  28. text editors by Chris+Burkhardt · · Score: 2, Funny

    The pages would look even better and load even faster if they used Vi or Emacs. Obviously.

    --
    "And there be unix which have made themselves unix for the kingdom of heaven's sake." - Matt. 19:12
    1. Re:text editors by rossz · · Score: 3, Funny

      No Way! If they coded it with emacs, the average reader wouldn't know what 12 keys to hit simultaneously to get to the story.

      --
      -- Will program for bandwidth
    2. Re:text editors by soulsteal · · Score: 1

      Ctrl-Alt-Shift-Esc-N-E-W-S-P-L-Z-!

  29. Good Choice in Web Design Techniques... by Anonymous Coward · · Score: 0

    Now if only their journalistic ethics would catch up, they'd be a great news site for any browser, any platform and any reader.

  30. Well, it works. by Kingrames · · Score: 1

    I really don't give a crap how it gets done if it gets done right, and I don't suppose they should either.

    Tools are meant to be used when they help, not just because they're there.

    --
    If you can read this, I forgot to post anonymously.
    1. Re:Well, it works. by stewbacca · · Score: 1

      I really don't give a crap how it gets done if it gets done right, and I don't suppose they should either. Tools are meant to be used when they help, not just because they're there. Interestingly enough, a major concept in all the work I do (computer based training, rapid e-learning) is that the end user doesn't give one CRAP about what authoring tool you used. They just want stuff to work when they click on it. We remove every "Made with Flash" or "Captivate 3" logo we can, try to avoid any and all Microsoft PowerPoint cliches (clip art and stock templates are the first casualties) and pretty much make everything not identifiable to any one package/suite.
  31. What really goes on by cmod2 · · Score: 1

    Most web sites are hand-coded. Dreamweaver is a great editor too. Sites can have errors and still work fine since the css standards and browsers are still not in sync.

  32. Homesite?! by Khan · · Score: 1

    Holy shit! I used to use Homesite back in '96. I had no idea it was still in existence. Then again, I used to use Notepad and it's still around, too. I always got a kick out of the "Made with Notepad" websites :-)

    --

    "Klaatu, verada, necktie!" -Ash

    1. Re:Homesite?! by Anonymous Coward · · Score: 0

      There is no excuse for using Notepad for anything these days. There are a gaggle of light-weight, free text editors that are several orders of magnitude better than Notepad.

  33. NYtimes.com and hand coding by jkirby · · Score: 1

    Is there any other way? Hell, it is CSS and HTML for Christ's sake.

    Jamey

    --
    Jamey Kirby
  34. Link Management by joeflies · · Score: 2, Interesting

    For all the pros/cons on using a web site editor package vs writing code in a text editor, there's one issue that's been overlooked - how to manage links in a website with a large degree of depth and complexity.

    As much as it may work in principle to build highly optimized pages by hand markup, it must be a nightmare to make any changes to something as tightly constructed as a hardwired web site.

    1. Re:Link Management by Anonymous Coward · · Score: 0

      ... how to manage links in a website with a large degree of depth and complexity ... it must be a nightmare to make any changes to something as tightly constructed as a hardwired web site. He's only saying they hand-code ... not hard-code! The site is still dynamically generated through templates and database driven - this includes links. Any decent site is 'hand-coded' - ie. write your code (prompted/unprompted) instead of letting GUI tools generate it while you drag and drop pretty elements to your unreliable preview page.

      His comments are for the masses - not for the knowledgeable programmer or techie.

      This is not even news! ... but it is some how comical reading through the replies.
  35. For what is done in house this may be true by Maudib · · Score: 1

    However I know that certain sections are outsourced to consulting firms. Mostly the aggregated content.

  36. Free advertisement? by Anonymous Coward · · Score: 0

    Way to many hits if you ask me:

    Google eldavojohn nytimes

  37. Re:Dreamweaver is a mediocre tool by Animats · · Score: 2, Informative

    CSS support is very good in DW.

    Actually, no, it's not. At least through Dreamweaver 8, CSS is sort of a bolted-on afterthought. The Dreamweaver "Properties" pane and the CSS system do not play well together. Dreamweaver has a useful GUI for table-based layout, but falls down on DIV-based layout. (This isn't entirely Dreamweaver's fault. DIV-based "float" and "clear" just weren't a well chosen set of primitives. It's trying to solve a 2D problem with a 1D mechanism.)

    Dreamweaver 3 was easier to use.

  38. The story hits the nail on the head by Anonymous Coward · · Score: 0

    One thing the story forgets to mention is the reason WYSIWYGs exist, for the stupid fucktards. Those who must use WYSIWYGs and not a normal text edictor are obviously too fucking stupid to even exist let alone use a computer.

    1. Re:The story hits the nail on the head by Miseph · · Score: 1

      Yes, heaven forbid somebody has a skill set other than programming. I cannot fathom how people who don't know HTML 4 can walk down the street without falling down and breaking their necks, they might as well not know how to breathe.

      --
      Try not to take me more seriously than I take myself.
  39. Valid Markup != Good Code by DigitalisAkujin · · Score: 4, Interesting

    While the purists are going to argue that valid markup defines the quality of the code on a given website the reality of the real world always tends to rear it's ugly head and debunk that fantasy.

    In the real world us web developers have to deal with interoperability on many different levels. We have to make sure the layout looks the same on Internet Explorer, Firefox, Opera, and Safari with Windows XP & Vista, OSX, and Linux using the same code base. Most of this however has a lot to do with how talented your CSS developer is. And unfortunately for you kiddies, any less isn't perfect.

    So to spell it out for those that don't know, here's the real difference between WYSIWYG and pure text:
    In a WYSIWYG editor you tend to do everything the same way every time you do it. That means that all your links, images, and code snippets come from the same code base and therefore have all the same pitfalls and good points. Unfortunatly the wonderful world of DOM doesn't work that way. HTML, CSS, JavaScript, and objects like Flash, Quicktime, and Java have very specific ways that they interact with each other and the browser and so what you generally find is that the reason you code by hand is not for the specific reason of coding by hand but simply put you really can not build good, quality websites with WYSIWYG editors. At some point you will most assuredly find yourself digging in the HTML.

    Finally, on the topic of validating your markup. The Markup validaters that are out there are only good as tools of the trade and shouldn't be used as the end-all be-all certification of quality markup. They are tools that should be used by a web developer to run through and make sure they can be as close to valid as possible but I am willing to bet that out of the top 100 sites on the internet, the front page of all of them will produce Markup validation errors. The reason is simple: The validation rules are so restrictive that there is no point even worrying about them. It would be impossible to make a working website by being totally loyal to the markup rules.

    Especially with the validator's stupidity in treating & signs in the href attribute of my a elements as the beginning of an entity which it's not! /rant >.>

    1. Re:Valid Markup != Good Code by Bogtha · · Score: 2, Interesting

      I am willing to bet that out of the top 100 sites on the internet, the front page of all of them will produce Markup validation errors. The reason is simple: The validation rules are so restrictive that there is no point even worrying about them.

      You're right about valid code being rare, but wrong about the reason. Sturgeon's Revelation applies to developers.

      It would be impossible to make a working website by being totally loyal to the markup rules.

      That's not even close to being true. Take the NYTimes for example. Would you care to point out a syntax error they've made that is actually necessary, where the valid alternative wouldn't work?

      The same goes for those "100 top sites" you mentioned. They aren't invalid because valid code is impossible to get working, they are invalid due to apathy and ignorance. In practically every case, you could take a mildly competent developer, throw the code at him, and have it valid in next to no time. Hell, in many cases, a program can do it automatically! The cases where invalid code is actually required to achieve a particular effect are far and few between these days.

      Especially with the validator's stupidity in treating & signs in the href attribute of my a elements as the beginning of an entity which it's not!

      The validator is completely correct. That's a syntax error and the job of a validator is to point out syntax errors to you.

      --
      Bogtha Bogtha Bogtha
    2. Re:Valid Markup != Good Code by Anonymous Coward · · Score: 0

      well...your rant "markup" says it all for your skills. Your whole post was spoke like someone who should stick with HR or marketing. If you aren't ready to develop professional quality code, then you shouldn't be a web developer. Stop complaining about how hard it is and suck it up, or continue writing crap.

    3. Re:Valid Markup != Good Code by DigitalisAkujin · · Score: 1

      An & sign in a link to a URL isn't a syntax error and treating it as such would nullify all GET parameters after the first one.

      The above example alone debunks your entire argument so try again ;)

    4. Re:Valid Markup != Good Code by Anonymous Coward · · Score: 0

      Believe it or not I agree with both of you.

      Just stop calling designers developers.

    5. Re:Valid Markup != Good Code by Hes+Nikke · · Score: 1

      The same goes for those "100 top sites" you mentioned. They aren't invalid because valid code is impossible to get working, they are invalid due to apathy and ignorance. In practically every case, you could take a mildly competent developer, throw the code at him, and have it valid in next to no time. Hell, in many cases, a program can do it automatically! The cases where invalid code is actually required to achieve a particular effect are far and few between these days. Or you could pay the same mildly competent developer to do something useful, like fix bugs that cause problems or add features. Or do it right the first time!
      --
      Don't call me back. Give me a call back. Bye. So yeah. But bye our, well, but alright we are on a shirt this chill.
    6. Re:Valid Markup != Good Code by Bogtha · · Score: 3, Informative

      An & sign in a link to a URL isn't a syntax error

      Yes, it is. Don't just take my word for it, take a look at what the HTML specification has to say on the matter.

      treating it as such would nullify all GET parameters after the first one.

      You are confusing a URI with the representation of that URI within an HTML document. Just because it appears as &amp; in the document, it doesn't mean that's what you end up with after it has been parsed.

      --
      Bogtha Bogtha Bogtha
    7. Re:Valid Markup != Good Code by beav007 · · Score: 1

      But "designers designers designers designers" doesn't have the same ring...

    8. Re:Valid Markup != Good Code by Eivind · · Score: 1

      They are tools that should be used by a web developer to run through and make sure they can be as close to valid as possible but I am willing to bet that out of the top 100 sites on the internet, the front page of all of them will produce Markup validation errors.



      How much do you feel like betting ? You are wrong. You are -right- that it is quite -rare- for a site to have a completely validationg frontpage. But it's not unheard of, and infact among the top 100 there are pages with 100% valid HTML/XHTML. One example is Wikipedia, both www.wikipedia.org and en.wikipedia.org (which is the nr 7 website on the planet if you believe Alexa. Even if you -dont- believe Alexa, its not really possible to deny that Wikipedia is a top100 site)
    9. Re:Valid Markup != Good Code by Anonymous Coward · · Score: 0

      Have you ever tried to validate Google's homepage? It fails miserably, specifically because they removed every unnecessary bit of markup and javascript to save on their bandwidth bill. It looks fine. They save enough on bandwidth in a year to hire a chump to fix it when a new version of IE comes out.

    10. Re:Valid Markup != Good Code by riceboy50 · · Score: 1

      Especially with the validator's stupidity in treating & signs in the href attribute of my a elements as the beginning of an entity which it's not! /rant >.> That's 'cause it should be &amp;. ;)
      --
      ~ I am logged on, therefore I am.
    11. Re:Valid Markup != Good Code by BZ · · Score: 1

      Try putting this as a form action:

          http://www.example.com/?gt;&lt;

      Then try submitting the form. Take a close look at what actually got submitted.

      Note that in HTML you don't need a ';' to terminate entities. For example, consider this action URL:

          http://www.example.com/?foo=bar&gt=something

      What do you think will get submitted? What actually gets submitted?

      Given browser behavior, you're currently safe not escaping the '&' as long as you avoid param names that happen to match any of the 255 character entity references the HTML 4.01 spec defines. Oh, and avoid any other entity references that might get introduces to HTML in the future. Like the several thousand MathML ones, say.

      As long as you're willing to take that gamble, no need to escape. But that doesn't make the document valid. You're just relying on very specific error-recovery behavior in browsers.

    12. Re:Valid Markup != Good Code by Anonymous Coward · · Score: 0

      Yet they still use #ffffff instead of white, and #000000 instead of black

    13. Re:Valid Markup != Good Code by shutdown+-p+now · · Score: 2, Interesting

      It would be impossible to make a working website by being totally loyal to the markup rules.
      This is quite wrong. You absolutely can make a site that validates, and (what's more important, in fact) is actually semantically correct HTML, yet displays properly in all the major browsers out there. A good example is the Opera website (validates as XHTML 1.0 Strict). Also, if you have a browser that has such feature, try disabling CSS and JavaScript entirely, and see how it looks then - I was pretty surprised to find out that drop-down menus are actually defined as a hierarchy of nested unordered lists, which is why it is fully navigable in Lynx and similarly restricted browsers.
    14. Re:Valid Markup != Good Code by Bogtha · · Score: 1

      Have you ever tried to validate Google's homepage?

      Would that be the famously sparse Google homepage? Regardless, what works for Google and what works for everybody else are two very different things. If Microsoft released a version of Internet Explorer that choked on Google's syntax errors, there would be a huge outcry, a Microsoft manager would get a bollocking, and a new version of Internet Explorer would be promptly released. Do your clients have the kind of popularity that can make Microsoft jump through hoops?

      It fails miserably, specifically because they removed every unnecessary bit of markup and javascript to save on their bandwidth bill.

      This has been received wisdom for years, but I haven't seen any evidence of it. A few years back I went through the code and saw many obvious places where they could save a hell of a lot more bandwidth than the fraction saved by invalid code, but they chose not to. Sure, the code's compact and clearly not intended for human consumption, but that could just as easily be an artefact of code generation or similar. Even if they do bother with minimal optimisation, that doesn't mean they would go to the lengths of using syntax errors for that purpose. Do you have anything to back up this claim?

      --
      Bogtha Bogtha Bogtha
    15. Re:Valid Markup != Good Code by Anonymous Coward · · Score: 0

      FAIL.

    16. Re:Valid Markup != Good Code by elrous0 · · Score: 1

      I would say that you cannot build good, quality websites ONLY with WYSIWYG editors. I personally use a combination of a WYSIWYG editor and hand-coding. For simple stuff, the WYSIWYG editor saves me a lot of time and effort (specifically on tedious crap like table layout). But nothing beats hand-coding for more complex tweaks.

      --
      SJW: Someone who has run out of real oppression, and has to fake it.
    17. Re:Valid Markup != Good Code by elrous0 · · Score: 1

      They're not invalid because of apathy and ignorance, they're invalid because the people coding them aren't a bunch of anal-retentive obsessives who care more about the "validity" of their code than the real-world appearance and functionality of the webpage in a browser.

      --
      SJW: Someone who has run out of real oppression, and has to fake it.
    18. Re:Valid Markup != Good Code by Anomylous+Howard · · Score: 1

      ...it's not really possible to deny that Wikipedia is a top100 site Wikipedia is NOT a top100 site!

      There. I just did the impossible! That's number 6 for this morning.
      ....It's off to breakfast at Milliway's for me!
    19. Re:Valid Markup != Good Code by Anonymous Coward · · Score: 0
      if you're writing your web page with some degree of care, then making it largely w3c correct isn't actually too much of a burden, and can also help you ensure you meet accessibility criteria.


      I've also found since I made sure my HTML templates were compliant that I've tended to produce nicer sites because it slows the process down a small amount and gives more time to think about the end result.

    20. Re:Valid Markup != Good Code by Dekortage · · Score: 1

      they are invalid due to apathy and ignorance. In practically every case, you could take a mildly competent developer, throw the code at him, and have it valid in next to no time.

      So... you've just insulted all the web programmers at Google, Yahoo, Apple, YouTube, Windows Live, EBay, Amazon, etc.?

      Well, at least MSN passes the validator. They must have competent programmers!

      --
      $nice = $webHosting + $domainNames + $sslCerts
    21. Re:Valid Markup != Good Code by Reziac · · Score: 1

      Perhaps not coincidentally, MSN is also, of your list, the site LEAST likely to work with an unusual or older browser.

      I use a lot of deprecated tags and structures myself -- because they work the same for EVERY visitor using ANY browser. If that makes my code 100% "invalid" -- oh well!! Validators don't read websites anyway!

      --
      ~REZ~ #43301. Who'd fake being me anyway?
    22. Re:Valid Markup != Good Code by dave420 · · Score: 1

      No, it's possible to make a great-looking website that adheres to the markup rules, if the design isn't fantastically insane (and I've yet to see one that is too complicated). You're spot-on when you say that valid markup isn't necessarily good code, but it *is* syntactically correct, which is half of the battle.

      As for ampersands in href attribute, you should use the html entity (&) for that, if you want to make valid code. It's not being stupid, it's doing its job :)

    23. Re:Valid Markup != Good Code by prockcore · · Score: 1

      No, it's possible to make a great-looking website that adheres to the markup rules


      But if you have any object tags on the page, you get the fun choice of following the xhtml spec, or supporting non-IE browsers, since the embed tag is invalid in xhtml.
    24. Re:Valid Markup != Good Code by Bogtha · · Score: 1

      You missed the "apathy" part. I don't believe they have even attempted to make their code valid. I do believe that you could take anybody from each of those teams and have them make their code valid with ease, without sacrificing any functionality. If you disagree, please give examples of problematic code.

      --
      Bogtha Bogtha Bogtha
    25. Re:Valid Markup != Good Code by BenoitRen · · Score: 1

      While the purists are going to argue that valid markup defines the quality of the code on a given website the reality of the real world always tends to rear it's ugly head and debunk that fantasy.


      Valid markup is the start of quality code. Invalid markup leads to unpredictable rendering.

      They are tools that should be used by a web developer to run through and make sure they can be as close to valid as possible but I am willing to bet that out of the top 100 sites on the internet, the front page of all of them will produce Markup validation errors. The reason is simple: The validation rules are so restrictive that there is no point even worrying about them. It would be impossible to make a working website by being totally loyal to the markup rules.


      Total bullshit. It's very much possible to have a working website that validates with the W3 Validator. Anyone who says it's not is most likely too lazy to follow the rules.

      Especially with the validator's stupidity in treating & signs in the href attribute of my a elements as the beginning of an entity which it's not! /rant >.>


      An ampersand is a special character. Encode it. The validator is right; it's the beginning of an entity. This is no different from programming languages were special characters have to be escaped.

    26. Re:Valid Markup != Good Code by Dekortage · · Score: 1

      You missed the "apathy" part.

      Not at all; I included that in the comment about insulting them. To a good programmer, being called apathetic is as much an insult as being called ignorant.

      I don't believe they have even attempted to make their code valid.

      If so, it is not because of apathy: they simply made the decision that it was not important. Google, in particular, has stripped down their web code to the bare minimum that will still render correctly, regardless of formal standards.

      If you are going to insist that "apathy" is the same thing as "making a choice to ignore deviations from a specification which result in no noticeable effects", then I have to disagree. Apathy is being indifferent; this is an intentional decision.

      You might say that browsers change, thus breaking these non-fully-standard sites, but it's a spurious argument: everyone *will* make the changes, it won't them take very long, and they *still* won't care about the deviations from the new spec. They have different goals than you do.

      --
      $nice = $webHosting + $domainNames + $sslCerts
    27. Re:Valid Markup != Good Code by Bogtha · · Score: 1

      Google, in particular, has stripped down their web code to the bare minimum

      I don't believe that's true. Please see this comment. I'd be interested to hear of any evidence otherwise though.

      Apathy is being indifferent; this is an intentional decision.

      Apathy isn't something that happens by mistake you know, you can be intentionally apathetic. They made the decision to pay no heed to the specifications. That's apathy. Feel free to disagree, but there's not much point in arguing word definitions, my meaning is clear by now.

      You might say that browsers change, thus breaking these non-fully-standard sites, but it's a spurious argument: everyone *will* make the changes, it won't them take very long, and they *still* won't care about the deviations from the new spec.

      So syntax mistakes you made earlier for no good reason may cause more work at an undetermined point in the future, and you feel confident in saying that it will be easy to fix. Care to back that up? For a lot of organisations, making any changes to their sites whatsoever entails hiring a consultant. That's not an expense you want popping up at inopportune moments.

      --
      Bogtha Bogtha Bogtha
    28. Re:Valid Markup != Good Code by Bogtha · · Score: 1

      I use a lot of deprecated tags and structures myself -- because they work the same for EVERY visitor using ANY browser.

      No they don't, nor should they. The web doesn't work that way.

      If that makes my code 100% "invalid" -- oh well!

      No, using deprecated element types (not "tags") does not make your code invalid, so long as you pick a document type that uses them. <font> and friends are all perfectly valid.

      --
      Bogtha Bogtha Bogtha
    29. Re:Valid Markup != Good Code by bishiraver · · Score: 1

      which is why it is fully navigable in Lynx and similarly restricted browsers, like screen readers and other helper technology for unsighted users.
      For more on accessibility, read Jakob Nielson's books. If you rather read blogs, read 456bereastreet.
    30. Re:Valid Markup != Good Code by Reziac · · Score: 1

      I stopped using the DOCTYPE declaration after discovering that it causes some pages to be rendered blank in some older browsers... it is probably an interaction with some other tag (er, element if you insist), but I never did pin that part down. However, simply deleting the DOCTYPE line fixed the problem -- for the visitor, at least. If W3C is unhappy about it... well, their validator is not reading web pages!

      --
      ~REZ~ #43301. Who'd fake being me anyway?
    31. Re:Valid Markup != Good Code by Dekortage · · Score: 1

      We'll disagree about the definition of apathy. You are referring to things done "for no good reason" when in fact they have a good reason (in their opinion).

      Regarding Google... OK, I'll bite. Looking at Google's deviations from spec, I note mostly deliberate omissions: no DOCTYPE declaration; style and script tags don't include TYPE attributes; most tag attributes do not have quotes around them (e.g. bgcolor=#ffffff and width=25% and onclick=gbar.qs(this)) which, in turn, causes a lot of additional errors in the validator (since # and % are not valid except when quoted); and ampersands in linked URLs are flagged as errors.

      So, since it is so easy to change this to spec, I copied the home page source, corrected the errors, and ran it back through the validator. That resulted in 9 errors (down from 63), and almost all of them involve nonstandard attributes used by old nonstandard browsers -- so, in theory, we might forgive their presence for the sake of backward compatability. In any case, the home page footprint increased by 466 bytes (6990 bytes before, versus 7456 bytes after). I can't immediately find hard numbers about how many visitors Google gets, but I'll make a guesstimate at 200 million per day, which would translate to a savings of roughly 90gb of data a day.***

      Is that worth it? I don't know. If saving bandwidth and improving data transmission efficiency are your top priorities, then yes, it's worth it. Perhaps Google thinks those are more important than meeting formal HTML specifications.

      *** My back-of-the-napkin math may be totally flawed. Feel free to correct it.

      --
      $nice = $webHosting + $domainNames + $sslCerts
    32. Re:Valid Markup != Good Code by Anonymous Coward · · Score: 0

      Actually, an & sign in an href needs to be escaped as & amp ;, otherwise it's not valid HTML.

      For instance, how else are you going to specify a special entity in a URL (ignoring the fact that nobody would ever do this in practice; imagine it's some other, less trivial case)? Attribute content is still subject to the same encoding rules as all the other content in an HTML document, and entities are perfectly valid parts of that content.

      The validator is right on this one, which is why validators exist. If your text passes a validator, you can at least blame the browser if it doesn't work correctly. If you're relying on behavior that doesn't conform to spec, the blame lies squarely on you if the browser does something bizarre.

      I actually ran into this problem on some automatically-generated pages I created, and eventually had to perform an escaping pass on the URLs to fix it.

      One of the great things about the W3C validator is that it provides links describing why common errors are errors, and how you can go about fixing them.

    33. Re:Valid Markup != Good Code by Bogtha · · Score: 1

      Regarding Google... OK, I'll bite.

      With all due respect, I wasn't looking for guesswork, I was looking for a quote from some Google engineer. As I posted in the other comment, I find the fact that they don't take some other very obvious steps to cut down on code size to be evidence that they really aren't that bothered. Sure, it may seem obvious that skipping quotes for bgcolor=#ffffff is trading validity for bandwidth, but they could save even more bandwidth, remain valid, and have more readable code if they used bgcolor=white instead. I don't think it's at all the obvious truth people claim it to be, and I've never heard anybody from Google weigh in on it, which is why I think claims like "Google, in particular, has stripped down their web code to the bare minimum" are just hot air. If I recall correctly, there were a few valid redesigns for Google a couple of years ago, and most of them would have saved bandwidth.

      --
      Bogtha Bogtha Bogtha
    34. Re:Valid Markup != Good Code by Kethinov · · Score: 1

      I have worked for Google and while I cannot speak for the homepage, I do know that they're very concerned as a company about code compression and obfuscation. It is a required practice to run code through in-house compressors after it is completed.

      I've also worked for Yahoo!, who don't do this (to their HTML at least), but their HTML and CSS still is invalid. I recall participating in internal company debates about the whether or not it is advantageous to use the W3C-valid IE Conditional Comments approach to doing IE-only CSS hacks or to use CSS-validator-breaking CSS hacks to keep all CSS, even the hacks, in a single stylesheet.

      I advocated the Conditional Comments approach, citing many of the reasons you do now - that it scales well to future browsers, that it is more semantically correct, that it does not depend on browser bugs to be successful, etc. However, I lost this argument and the company consensus is to currently use the CSS hack approach. For reasons of it being less HTTP requests. You can see it in YUI's CSS library, in particular the CSS resets.

      For the record, I agree with you. I am in complete disagreement with what appears to be a majority consensus lately in webdev that W3C standards are irrelevant. I am delighted that my current employer (PayPal) has seen the light and is moving in the direction of web standards purism after what used to be one of the worst offending codebases on the net.

      --
      You're right, I wouldn't steal a car. But if it were possible, I sure as hell would download one!
    35. Re:Valid Markup != Good Code by Bogtha · · Score: 1

      Thanks for the info. I find it intriguing that Google really are concerned with bandwidth; there must be reasons why they miss so many optimisations, but they certainly aren't obvious to me.

      I used to prefer CSS hacks (just the valid ones) for the same reason of it being fewer requests, however when they brought Internet Explorer out of retirement and broke a bunch of the hacks, I realised that approach wasn't sustainable in the long run. It's a shame there's nothing similar to conditional comments / conditional compilation for CSS that would allow switching within a single stylesheet.

      --
      Bogtha Bogtha Bogtha
    36. Re:Valid Markup != Good Code by pipingguy · · Score: 1

      We have to make sure the layout looks the same on Internet Explorer, Firefox, Opera, and Safari with Windows XP & Vista, OSX, and Linux using the same code base.

      I've had success with my site looking (essentially) the same in Win and Mac with IE, FF, Safari and Opera without trying too hard and I'm not a pro. Is it because I code with a text editor?

    37. Re:Valid Markup != Good Code by Keeper+Of+Keys · · Score: 1

      An & sign in a link to a URL isn't a syntax error and treating it as such would nullify all GET parameters after the first one. The above example alone debunks your entire argument so try again ;) You only think this is the case because most browsers are kind enough to correct this coding error and return an ampersand character when they see a lone '&' in the markup, not obviously paired with an entity-closing ';'.
    38. Re:Valid Markup != Good Code by Dekortage · · Score: 1

      With all due respect, I wasn't looking for guesswork, I was looking for a quote from some Google engineer.

      Fair enough. I did e-mail a couple of programmers at Google, but have not received a quotable response about this; thankfully another Slashdotter made some comments.

      --
      $nice = $webHosting + $domainNames + $sslCerts
    39. Re:Valid Markup != Good Code by jrumney · · Score: 1

      Especially with the validator's stupidity in treating & signs in the href attribute of my a elements as the beginning of an entity which it's not! /rant >.>

      According to every HTML spec ever produced, it is. The fact that browsers handle unknown entities by printing verbatim to the output saves your ass, but it is incorrect to use an ampersand without escaping it as &amp;

    40. Re:Valid Markup != Good Code by dave420 · · Score: 1

      Which is why you should always use javascript to create the correct tags in the right place. That also gets around the click-to-use patent issues that affected IE.

  40. hand coding is no big surprise... by jnichols959 · · Score: 1

    Having been a professional webdev for about a decade I don't find this surprising at all. I've never worked with a great webdev that used a wysiwyg editor for coding. Simple code reuse and templating can go a long way toward keeping code consistent and centralized while minimizing repetitive coding. When things go wrong with your code, as they inevitably will, not knowing what code a wysiwyg editor generated and why can leave you high and dry... Besides, how can you personally evolve web development practices if you're limited to the widgets a wysiwyg editor provides :)

  41. And that's not all... by swm · · Score: 5, Funny

    I hear they have people who hand-write the news stories: sentence by sentence, word by word. Can you imagine?

    1. Re:And that's not all... by Jeff+DeMaagd · · Score: 1

      Oddly, I hear computers are harder to please. You miss a closing parenthesis and they'll spit a few hundred errors at you.

    2. Re:And that's not all... by senor_burt · · Score: 1
      I doubt it. Did you read Judith Miller? She's the intellectual equivalent of WYSIWYG. Colour me flame-bait - sorry.

      For the record, I code in Notepad++ and nano.

    3. Re:And that's not all... by houghi · · Score: 1

      Not only that, but they have editors that actualy read, understand and correct the stories.

      --
      Don't fight for your country, if your country does not fight for you.
    4. Re:And that's not all... by nEoN+nOoDlE · · Score: 1

      Nah, in these days, reporters just outsource that part to the government.

      --
      Don't trust a bull's horn, a doberman's tooth, a runaway horse or me.
    5. Re:And that's not all... by Anonymous Coward · · Score: 0

      I hear they have people who hand-write the news stories: sentence by sentence, word by word. Can you imagine?

      You got a +5 Funny, but there's an important point here. Most "news" articles online these days are just an Associated Press (AP) story copy and pasted onto the news website. There is very, very little original news reporting from the online news publications. So a reporter that actually wrote their own stories would be a bit of a novelty.

  42. What you see is not the crap you get. by PeanutButterBreath · · Score: 1

    I swore off WYSIWYG HTML editors with the first version of GoLive. I thought it was pretty slick until I looked at the HTML it was creating -- what a mess! I am sure the technology has advance since then. . . ? Still, I have been hand coding HTML or using some other tool to generate it ever since. This disincentives HTML overly complex layouts, which I think is a good thing.

    Personally I hate the kind of fluff that WYSIWYG editors tend to encourage. Too easy to create pages that take way longer to load and way more effort to "interact" with in order to get the information that they are supposed to contain. I realize that these editors only enable bad presentation, but still.

    If you have a content framework in place, fancy editors don't offer anything other than a way to add needless clutter and make things more difficult to manage.

    1. Re:What you see is not the crap you get. by stewbacca · · Score: 1

      I swore off WYSIWYG HTML editors with the first version of GoLive. I thought it was pretty slick until I looked at the HTML it was creating -- what a mess! Are you talking about GoLive CyberStudio, the German product that Adobe bought out, or Adobe's GoLive? If I remember correctly, the original GoLive CyberStudio produced pretty good html and only started getting a bad rap when Adobe bastardized it to make it fit better into their design suites.
    2. Re:What you see is not the crap you get. by PeanutButterBreath · · Score: 1

      This was Adobe's initial version.

      IIRC, this was also a point when "designers" were establishing demand for a lot of questionable capabilities from editors that was probably a nightmare to provide for. I'm not blaming GoLive or Adobe specifically for this.

  43. Slashdot is hand-coded by mrbluze · · Score: 1

    That explains why it takes so long for new stories to arrive. This one's been up for an hour already!

    --
    Do it yourself, because no one else will do it yourself. [beta blockade 10-17 Feb]
  44. The "captain obvious" award goes to... by rtilghman · · Score: 1

    The guy who wrote this news piece, seconded by the guy who submitted it to Slashdot with an honorable mention to the admin who posted it. I mean really, what respectable developer or consulting team that delivers custom software DOESN'T hand code HTML? Dreamweaver is ATROCIOUS garbage, and only hacks or folks working low-end brochure sites would even attempt to build a site with a WYSIWIG application (maybe a dirty prototype, but not production code). As a UE consultant who designs sites for Fortune 500 companies I can testify that EVERYONE hand codes their apps, if only because its the only way to get even remotely uniform presentation on FF, IE6/7, and Safari. The centrality of AJAX/DHTML and RIA solutions only makes this even more critical since their are that many more moving parts and performance optimization is just that much more critical. I did find the mention of Homesite funny... I spoke with some folks recently on this topic (I have a deep bg in client side tech), mentioned that all my teams use Homesite for CS dev, and lierally saw jaws drop (this was a group of senior mgrs who were around when Homesite was young.. read Allaire). People were amazed that Homesite was still in use, but the truth is that these tools kind of reached their zenith in the early 2000s, and the market just isn't really big enough to merit chasing. The funny thing is that, from a hand-coding perspective, the combination of Homesite and Topstyle (both by Bradbury, oddly enough) simply can't be beat (at least on Windows). I can only imagine what a client would say if my team took their $2 mil and built a solution with Dreamweaver type code... HA! -rt

    1. Re:The "captain obvious" award goes to... by Anonymous Coward · · Score: 0

      Well if you're such an expert at web design, you wouldn't be using Windows! Sites are made on Mac. Personally, I like to use Dreamweaver when I'm doing quick mock ups or editing other people's shitty code so I can quickly clean it up. It works wonders on word generated HTML. It's also handy for link checking and management. There are alternatives, but the combination is worth it. I tend to use source view most of the time and edit anything dreamweaver generates for the final in dreamweaver or bbedit.

  45. In short,... by tyrione · · Score: 1

    DUH!

  46. Dreamweaver is great for starters, but... by TheDeivix · · Score: 1

    I hand code everything by hand too, it's the best way for me.

    I used to use Dreamweaver years ago when i was learning html and i think it's really great for starters, cause you don't have to learn lots of different tags and their attributes to start making websites, in fact i think it actually helped me to learn html.

    But as soon as i got a good grasp of html and started coding in php DW just didn't feel right, plus i got tired of all the crappy html it generates automatically, so i started trying different text editors until i found Emacs.

    Today i code every single piece of code i write in any language using Emacs and i totally love it, for me it has several advantages:

    1 - you don't have to use the mouse to move fast in your files, (in fact you don't have to use a mouse at all)

    2 - there are editing modes for php, css, javascript, html, xml etc....

    3 - you can automate common tasks by writing your own skeletons and lisp functions, this makes you even faster

    4 - it's already installed in almost every linux desktop or server

    5 - you can make quick adjustments by logging to your webserver via ssh and running emacs there, instead of editing, uploading, editing, uploading, editing, uploading....

    So in my own experience i would recommend Dreamweaver or other wysiwyg editor to anyone just starting in html, and i think most of those will drop DW eventually.

    1. Re:Dreamweaver is great for starters, but... by dave420 · · Score: 1

      Or just go to "Code View" in Dreamweaver and stay out of "Design View". Dreamweaver is the best text editor for HTML/CSS/PHP I've ever seen, plus it removes the need for a FTP application when moving content to/from dev/test/live servers. Branding Dreamweaver as WYSIWYG-only is a bit of a disservice for the application that stemmed from HomeSite.

    2. Re:Dreamweaver is great for starters, but... by colinrichardday · · Score: 1

      Emacs has a php mode? Where?

    3. Re:Dreamweaver is great for starters, but... by TheDeivix · · Score: 1

      if you are using ubuntu or debian you just have to type this on a terminal:

      sudo apt-get install php-mode

      or download it here

  47. WTFN? by corychristison · · Score: 1

    Why the fuck not?

    'WYSIWYG' are terrible and, in my opinion, hold absolutely no increase in productivity to anyone who knows and understand what s/he is doing.

    1. Re:WTFN? by stewbacca · · Score: 1

      Do you hand code your Microsoft Word formatting, or do you simply push the "B" button to make your text bold? I remember the early Word Processor days, and it wasn't pretty. WYSIWYG word processing is probably one of the top 10 revelations of modern-day computing. Some day it might be that way for html as well. Some day.

    2. Re:WTFN? by Steve001 · · Score: 1

      stewbacca wrote:

      Do you hand code your Microsoft Word formatting, or do you simply push the "B" button to make your text bold? I remember the early Word Processor days, and it wasn't pretty. WYSIWYG word processing is probably one of the top 10 revelations of modern-day computing. Some day it might be that way for html as well. Some day.

      Although WYSIWYG word processing has had its advantages, it also has some disadvantages. Among them is that it is difficult to view the actual code that composes your documents. This is something that is difficult to do in most modern word processors.

      I used to use Wordperfect 5.1 for DOS and one of the best things about it was its reveal codes function. I could see the codes in the document so, if I was having trouble a documents format, I could go in an see what the actual codes are.

      This is also an advantage of handcoding HTML. Although there are many good tools for making webpages, users have the advantage of being able to go into the page with a text editor and tinker where needed.

      Based on my own experience, and what I've read in this thread, the main reason that the various WYSIWYG tools are usable is because the user can go in and edit the code by hand. Consider this: What if you created a webpage and the only way to edit it is with the tool you used (you had no choice but to use the code it produces and you couldn't handcode it)?

    3. Re:WTFN? by stewbacca · · Score: 1

      But with html, you can always just bring it into a browser and view the source code there. There is no way (that I am aware) to lock your code into a specific software package, is there?

  48. Yeah, it's been a funny road for Homesite... by rtilghman · · Score: 1


    The timeline for Homesite
    - Created by Nick Bradbury (the guy who later built Topstyle, the BEST CSS editor out there, surprise surprise)
    - sold to Allaire,
    - absorbed by Macromedia when they bought Allaire,
    - incorporated into Dreamweaver while also kept as a sideline product (both because of a strong community and because of the ColdFusion community, which for those who don't know is HUUUUUGGEE for some odd reason)
    - and finally picked up by Adobe.

    Great program, I still use it today for all my coding needs (as do all my development teams).

    -rt

  49. No Surprise by techsoldaten · · Score: 1

    This comes as no surprise. I recently worked with a large newspaper in New York to implement a content management system and found the group had real difficulties enforcing editorial standards.

    Part of the problem was training, the staff was largely composed of former photo editors who were unfamiliar with producing photos for the web (we had multiple instances of 300 MB photos being deployed on the front page of the site). Culturally, newspaper people seem to be inclined towards repeatable processes and highly resistant to change in this area without a great deal of encouragement and hand holding.

    Part of the problem also was the technology itself, believe it or not we made things too simple. In order to insert breaks in pages we added buttons to the user interface which were routinely ignored by the staff (even the editors) in favor of hand coding complex HTML structures. In order to create media insertion hooks, we created an extensive AJAX interface, which was disfavored over an existing photo catalog that had been in place before we got there.

    Change is something that needs to be introduced gradually, and the process that works is the one that will win out in newspapers.

    M

  50. After further examination... by ndnspongebob · · Score: 1

    After further examination, their reporting seems intact ..but their html/css has a clear liberal bias.

  51. Third generation coders have arrived! by Version6 · · Score: 1

    My son is learning to program in high school. My wife began learning in high school and we met when we both worked as programmers. My father-in-law started programming in the '60s on an IBM 1620 (a decimal machine). Given how old we were when our son was born, there may well be fourth generation coders out there somewhere.

    I guess my father-in-law's two other grandsons, age 10 and 13 are also third generation.

    1. Re:Third generation coders have arrived! by TapeCutter · · Score: 1

      My oldest is a network engineer for a large telco, he started by building his own BBS when he was ~13. I can't claim 4th generation just yet but my youngest is 23 and pregnant. :)

      Speaking of old men and hardware. By far the best project manager I ever worked for had been in the bussiness for 40 odd years, shortly before he died in 2005 he travelled to the UK for a reunion with some of his old mates. The reunion party was held inside the computer they built which is now housed in one of London's many museams.

      --
      And did you exchange a walk on part in the war for a lead role in a cage? - Pink Floyd.
  52. Templates, not page hand-coding by eggboard · · Score: 1

    There's a terrible Slashdot confusion here in comments. Vinh was saying that they hand code templates (i.e., code HTML using their own token language interspersed). I wrote about the rise of credibility once again for handcoding, and the problems that templating causes for GUI tools in this article at TidBITS. The summary is that all database-driven systems use templates; GUI tools are bad at previewing CMS-based database-driven templates.

    --
    Freelance tech journalist for the Economist, MIT Technology Review, Macworld, and others
    1. Re:Templates, not page hand-coding by stewbacca · · Score: 1

      There's a terrible Slashdot confusion here in comments. No thanks to the typically bad Slashdot summary...
  53. alt="" by uhlume · · Score: 1

    There is a difference in many (most?) text-based browsers (e.g., lynx/links) between setting alt = "" and omitting the alt attribute entirely.

    Setting the attribute to a null string results in the null being "displayed", effectively removing the element from the rendered page. Failing to set it, by contrast, causes the browser to supply its own alt text for the image (lynx uses the image filename).

    The result of the latter is that the page becomes littered with irrelevant text everywhere an image with no alt attribute appears. This is annoying, at best, to sighted users, and could potentially render the page completely unintelligible to anyone relying on a screen reader.

    --
    SIERRA TANGO FOXTROT UNIFORM
    1. Re:alt="" by coryking · · Score: 1

      you know what... before you posted this I was gonna side with the "why ALT everything" crowd but now I think you are right. I always add blanks anyway to shut up my validator, but now I feel a bit less like a tool :-)

    2. Re:alt="" by uhlume · · Score: 1

      My work here is done.

      --
      SIERRA TANGO FOXTROT UNIFORM
  54. I'm one of those who prefer handcoding html/css by siDDis · · Score: 1

    Hand coding HTML and CSS is my prefered method, I don't find it hard or time consuming. I get clean code which easily validates with the wc3 standard.

    Also when I'm involved with javascript programming I need to create layers(or HTML in 3d!) which no wysiwyg editors can provide.

    I really don't understand how people can prefer a wysiwyg editor. Spending all that shitty time learning a UI and not being able to understand the difference between div id or div class.

  55. The real reason: by DerekLyons · · Score: 1

    The real reason the New York Times website looks so good? I bet it's not because they handcode, because coding (hand or WYSIWYG) is the final step... I bet it's because their page is designed by properly trained and experienced graphic artists along with trained typographers and layout artists. Newspapers have lived and died by their presentation and design for a couple of centuries now.
     
    The problem with bad presentation on the web doesn't spring from bad tools or bad design - it springs from web designers who prefer the unsupported opinion of the usability guru of the month to this body of experience.

    1. Re:The real reason: by TheDeivix · · Score: 1

      i totally disagree, i know by experience that people who design for print always create unusable things when designing layouts for the web, (or any other interface for an application), simply because most of them are ignorant about the many things that really make a good website (good content, intuitive navigation and content structure, providing ways for the user to interact with the site by adding content to it etc...).

      Instead of the really important aspects, graphic designers prioritize little stupid details like round corners, drop shadows etc... when designing for the web, and they are convinced that these details will make their site successful, they are clueless! (most of them are egocentric bitches too but that's another story)

      Take as an example this site, it's gorgeus, still most people don't know it and those who do probably visit it once and never come back.

      Of course a good design adds a lot to a website, but for me it's just the icing on the cake.

    2. Re:The real reason: by DerekLyons · · Score: 1

      i totally disagree, i know by experience that people who design for print always create unusable things when designing layouts for the web, (or any other interface for an application), simply because most of them are ignorant about the many things that really make a good website (good content, intuitive navigation and content structure, providing ways for the user to interact with the site by adding content to it etc...).

      When you compare apples (design and presentation) with oranges (content), I can safely conclude you haven't the foggiest clue as to what I am talking about.
       
       

      Instead of the really important aspects, graphic designers prioritize little stupid details like round corners, drop shadows etc... when designing for the web, and they are convinced that these details will make their site successful, they are clueless!

      From the point of view of presentation - yes those things matter. But once again, you confuse site design with content design. Once again, I can see clearly who is clueless.
       
       

      Take as an example this site, it's gorgeus, still most people don't know it and those who do probably visit it once and never come back.

      I can see why people don't come back - it hits the perfect trifecta. It's ugly as fuck. It's poorly designed. It's content sucks.
    3. Re:The real reason: by Serious+Callers+Only · · Score: 1

      i totally disagree, i know by experience that people who design for print always create unusable things when designing layouts for the web, (or any other interface for an application), simply because most of them are ignorant about the many things that really make a good website (good content, intuitive navigation and content structure, providing ways for the user to interact with the site by adding content to it etc...). The web still has a lot to learn from print design, and attitudes like yours are why we still have spaces in between paragraphs (rather than indents), no drop caps, and generally awful layout and typography on the web. The web has a lot to learn from print design, and those principles which you feel you've discovered as unique to websites have been considered by designers for decades (google information design or Tufte).

      Of course there are differences, but there are far more points in common, and *every* good design starts by considering the constraints (i.e. on the web things like navigation, structure, hierarchy etc), and the content which is to fit those constraints. A poster is different from a milk carton, which is in turn different from a newspaper, a website is different again, but all those things can be designed by the same person, if they take the time to understand the medium.

      Instead of the really important aspects, graphic designers prioritize little stupid details like round corners, drop shadows etc... when designing for the web, and they are convinced that these details will make their site successful, they are clueless! (most of them are egocentric bitches too but that's another story)

      Take as an example this site, it's gorgeus, still most people don't know it and those who do probably visit it once and never come back. That site is truly hideous, borderline unusable, and not a good example of design in many ways - while it makes a nice straw man for you it has nothing to do with the New York Times website, which is a very good design, and subtly hints at their newspaper heritage while using html well. You fundamentally misunderstand the role of design if you think it's about surface features and glitz like rounded corners.

      Of course a good design adds a lot to a website, but for me it's just the icing on the cake. QED
    4. Re:The real reason: by DocHoncho · · Score: 1

      i totally disagree, i know by experience that people who design for print always create unusable things when designing layouts for the web, (or any other interface for an application), simply because most of them are ignorant about the many things that really make a good website (good content, intuitive navigation and content structure, providing ways for the user to interact with the site by adding content to it etc...).

      I would tend to agree with you here. I've been working with a graphic designer for a few years now. She's great with print stuff. But our first few websites really reflected her "print-centric" design methods. Slowly but surely I've been explaining how the web is completely different than print.

      Instead of the really important aspects, graphic designers prioritize little stupid details like round corners, drop shadows etc... when designing for the web, and they are convinced that these details will make their site successful, they are clueless! (most of them are egocentric bitches too but that's another story)

      Again, I would tend to agree here. It wasn't too hard to explain that content-less front pages were useless and that trying to control every aspect of the presentation was a losing battle. With print design the graphic designer can specify exactly how the page will look and expect to see it that way when it's presented. With the web, you really can only say "This is how we want it to look, hopefully the user doesn't f*** it all up."

      Take as an example this site, it's gorgeus, still most people don't know it and those who do probably visit it once and never come back.

      Now we diverge. That has to be one of the most hideous sites I've seen outside of MySpace.

      Of course a good design adds a lot to a website, but for me it's just the icing on the cake.

      I've found that while a lot of techy-types (especially here on /.) seem to like the no-nonsense plain HTML look, most people are totally turned off by it. There is an expectation now with "normal users" that the web look and feel more like an interactive magazine. Sure, your plain HTML site may have a great document structure and have a tiny page size, but many people will just think you're too cheap or lazy to make it look good.

      Just my $0.02, YMMV.

      --
      Celebrity worship is a poor substitute for Deity worship and costs more to boot.
    5. Re:The real reason: by TheDeivix · · Score: 1

      Some very interesting, replies here.

      Ok i'll make my point clearer, first i admit that i misunderstood the parent post, he was talking about presentation and presentation only so yes, i confused content and logic with presentation, my mistake.

      I didn't mean to say that good presentation is not important, however i am convinced that function should never be sacrificed for presentation when developing websites, and most graphic designers believe the opposite, why?.. because most of them don't perceive websites as systems, and of course they also have little or no experience designing systems.

      It was a nice experiment to see your reactions to surfstation, about ten years ago when most of the "cool" stuff on the web was made by graphic designers this site together with k10k and others were considered the panacea, things have changed a lot since those days indeed.

  56. That's not fair by Skapare · · Score: 1

    That's not fair. I didn't get any errors at all on my page. And after all that work hand coding the HTML and the CSS inside PHP.

    --
    now we need to go OSS in diesel cars
  57. Is nytimes.com that well designed? by neight108 · · Score: 1

    I feel that information is crammed, and that the fonts are unbearable.

    My opinion of nytimes.com before I read this article was that they were stuck on designing a newspaper and tried to make the website look like one. I always felt that it was a known fact that serifs are better for print and san-serifs are better for computer screens...and they're using serifs for the main text.

    1. Re:Is nytimes.com that well designed? by stewbacca · · Score: 1

      There are also people who believe that Microsoft's font technology is more readable than MacOSX, which I find to be laughable. This only goes to show that "known facts" can be subjective and are indeed not "facts" at all.

  58. That's what the CMS is for by snowwrestler · · Score: 1

    They do not hand code individual article pages, just the templates for their CMS. If it's a good CMS it tracks the links within the site and prevents breakage during changes.

    If a content Website has a large degree of depth and complexity, there's no excuse for hand coding the whole thing. There are plenty of free CMS's available that work pretty well.

    --
    Build a man a fire, he's warm for one night. Set him on fire, and he's warm for the rest of his life.
  59. No Linux is a DIDE by cpuffer_hammer · · Score: 1

    DisIntegrated Development Environment. There is more to integration that having all the parts on hand.

  60. dismissers by l3v1 · · Score: 1

    Well, as a rule, those dismiss and despise hand-coding website sources who grew up on wysiwyhtg (what you see is what you hope to get) junk. It is so, just swallow it.

    I don't think hand-coding, by choosing a proper editor is a time waste or a manpower-waste. Well, if you have good coders, that is. Making dreamweaver puppies drop it and start hand-coding screams for disaster. As always, the rule is use what you have (resources, people, knowledge) properly.

    One could argue certain technologies would require so much effort and resources if hand-coded, that it really would be unreasonable to do so. Agreed. But, it's not the technology that chooses you, it's you who picks a technology. Think twice before jumping into something big time.

    And it's not true, that hand-coding makes harder to create validation-compliant sites. Actually it can make you get used to follow such compliance rules more rigorously.

    All in all, there's no shame in using either way, it's the resources you have, the goals you set, the technology you choose, the business constraints you must follow that should make you decide, and not personal preference or belief.

    --
    I am putting myself to the fullest possible use, which is all I can think that any conscious entity can ever hope to do.
  61. Standard practice by sentientbrendan · · Score: 1

    why is this news? Professionals might use dreamweaver or equivalent for a little quick prototyping, but nothing spat out by a wysiwyg is going on the web.

    The days of everyone's websites being filled with "authored by frontpage" comments are long over.

  62. Big site, seemingly really big staff. Overstaffed? by Jeff+Jungblut · · Score: 1

    What struck me most about the article was the site's level of staffing... eleven visual designers, information architects and design technologists in his group alone, not including outside web editors/producers, graphics and multimedia teams, and the software engineers on the CMS team.

    At the community newsmagazine for which I work, I wear all those hats. Granted, it's nowhere near the size of the NY Times or nytimes.com. The print edition contains about 40-45 stories each week, and after the paper goes to press Wednesday night, I get all the content on the web in about a half hour using a custom Applescript Studio-based CMS, publishing direct from our QuarkXpress layouts into a MySQL database, which feeds both the PHP-based web front end and the weekly e-newsletter. The goal of the site was to be a literal dump of the print edition onto the web in the most effecient way possible -- meaning, me working as little as possible since I'm paid hourly.

    The previous web-based CMS we were using six years ago was so cumbersome it took at least four hours to get the paper posted online (and it looked like shit once it was up there).

    On the new redesign of the site I've been working on for the past month I could have used my own team of "design technologists" just to find workarounds for all of IE's stupid rendering quirks.

    As far as not using Dreamweaver -- well, duh. BBEdit all the way.

  63. No surprise here by riceboy50 · · Score: 1

    As a professional web developer, I am surprised that this is even news. I would have found it surprising if they were using a WYSIWYG application to generate their site. I don't know of any huge sites that do this. Some get by using a CMS, but they're generally more limited in scope and more vanilla in nature.

    --
    ~ I am logged on, therefore I am.
  64. "Benefits" for whom? by ZombieRoboNinja · · Score: 1

    Your #1 and #2 are only "benefits" for a couple of people (the specific techies who work for the NYT). The company as a whole would benefit much more from having fewer and less-trained (i.e. cheaper) coders.

  65. IDE's... by jyurkiw · · Score: 1

    A bad IDE will write code for you. It will be canned, standardized, and, depending on the IDE, inefficient, poorly commented, hard to follow (god forbid you change something...like say MSVS auto-generated ADO.NET DB connection code...unless you know exactly what you're doing), and/or containing a lot of extra crap. Take a look at web pages made with MS Front Page. Especially the older versions of Front Page. Ugh...

    A good IDE doesn't write code for you. It helps you write better code faster by helping catch spelling errors, help keep your code consistent (auto-indenting is my favorite feature), and help automate tedious, repetitive tasks (Notepad++ and pretty much every command line editor descendant on Linix/Unix have duplicate line commands available via keyboard shortcut. So simple, so useful...so hard to find in windows apps...)

    A good coder will know when to let the IDE do its thing, and when to roll up his sleeves and do it himself.

    At the end of the day they're just tools.

  66. Yes and, err, no? by stewbacca · · Score: 3, Insightful

    Better results? Probably. Faster? No way. Never. Not gonna happen. Maybe they mean faster in the way that it is faster for guys who hand code lines of html all day to hand code lines of html all day because they don't have the first clue of how to use a WYSIWYG editor? If they know code so well, why not use Dreamweaver in pure code mode? The management tools of the suite alone are worth the ?extra? time.

    1. Re:Yes and, err, no? by Serious+Callers+Only · · Score: 1

      If they know code so well, why not use Dreamweaver in pure code mode?


      If you haven't used anything but Dreamweaver, perhaps Dreamweaver feels like it saves you time - other people know it as a buggy piece of shit designed to produce second rate WYSIWYG layouts. If you wanted to pick up using it you could do so in a day; it's hardly something they'd have trouble with. Most of the work will be in tweaking CSS for various browsers and adjusting styles, not in writing html. But even for pure code, Dreamweaver is not as good as other tools out there.

      A real html/text processing tool (TextMate, BBEdit, whatever) combined with a CMS or scripts can do what Dreamweaver does in very little time, and is a lot more flexible for the needs of a large organisation where a lot of their content probably comes from text files intended for the print edition, or a database.
    2. Re:Yes and, err, no? by stewbacca · · Score: 1

      I'm not advocating the use of Dreamweaver, per se, but that was the WYSIWYG editor-of-choice thus far in the discussion. I'm not sure what the status of GoLive is, now that Adobe owns them both, nor am I familiar enough with other packages to really comment. The basic premise of WYSIWYG, though, and all the positive and negative side-effects lends to probably worse output but most likely faster production times when it comes to managing the content of an entire site (not just the CSS and html)

    3. Re:Yes and, err, no? by Bob+The+Cowboy · · Score: 2, Informative

      Management tools? What, ftp? Why the hell would you run some bloated WebDev environment entirely in code mode?

      Dude. Let me help you.

      This will be KDE-specific, but I'm sure you could use Gnome programs for the same thing. For that matter, you could also setup SSHFS, or NFS.

      Open Kate.
      Click File, Open.
      In the file selector, type: fish://user@someserver/some/path/and/file.html
      Edit.
      Save.

      Marvel as your file is magically updated, without any bizarre management tools. With the benefit of being secure.

      For extra credit, you can even figure out how to commonly accessed remote directories in the left-hand sidebar.

      Bill

    4. Re:Yes and, err, no? by The_reformant · · Score: 1

      I can type opening and closing pre tags faster than dreamweaver loads up.....

      --
      I have discovered a truly remarkable sig which this post is too small to contain.
    5. Re:Yes and, err, no? by skiflyer · · Score: 1

      You're just wrong. It's definitely faster for things like NYTimes or any site who pretty much uses one layout and modifies content. Not to mention the fact that the company has said they've used empirical evidence to demonstrate what they consider a counter-intuitive issue. But you say that your theory trumps the wall clock?

    6. Re:Yes and, err, no? by stewbacca · · Score: 1

      Maybe we don't see the same info the same way. As many people have pointed out, the summary isn't accurate, in that they only seem to code their templates by hand. What I'm saying is if you coding EVERYTHING by hand, all content of every area of the NYTimes, AND managing the links/multimedia/ad-servers, etc. AND changing it on the hour, a software suite might be more in order for the benefit of expediency and management. The problem in this case is that they don't discuss the whole picture, just the templating process, which is probably faster AND more accurate than using Dreamweaver. So maybe I'm not "just wrong".

    7. Re:Yes and, err, no? by sirgoran · · Score: 1

      Lets see. Faster at building crap? Yes. Faster at creating a page that loads faster in a browser? Far from it.
      I think this is where you might be mistaken. A WYSIWYG for anything other than a prototype is a waste of your time and the company's money. Using Dreamweaver to edit source code is a waste of Drive space, CPU cycles, and Time. I can load Homesite, BBEdit or Coffeecup HTMLeditor for that matter, and be done with my edits before I get off the phone with a client. Why anyone who "really knows" how to write code would use a WYSIWYG is beyond me. Of all the coders I know, none of them use a WYSIWYG. Zero. The only excuse I can think of for using a WYSIWYG is that either you're lazy or someone who really doesn't "know how" to code.

      My two bits on the subject.

      -Goran

      --
      Carpe Scrotum - The only way to deal with your competition.
    8. Re:Yes and, err, no? by stewbacca · · Score: 1

      Well I am lazy, and I am only dangerous with code, but that matters not one bit in this discussion. I didn't mean to suggest that one SHOULD use Dreamweaver to do code, only that if you ARE using Dreamweaver to manage and entire site, why not tweak the code in the code-view mode? I'm not saying you have to do it that way, just that it is feasible. Your way is also feasible (probably preferred).

    9. Re:Yes and, err, no? by Anonymous Coward · · Score: 0

      Better results? Probably. Faster? No way. Never. Not gonna happen.

      Thats funny, it happens everyday around here.

    10. Re:Yes and, err, no? by Serious+Callers+Only · · Score: 1

      To build a large site, you wouldn't use a WYSIWYG tool, it's simply inappropriate and is meant for doing mockups or very small sites (even there I don't think it will save you any time if you know what you're doing). Therefore trying to use something like Dreamweaver (or any other similar tool) to manage something like the nytimes.com website would take you far longer to do things like change the formatting of all news articles etc.

      What specifically did you think the advantages of using such a tool might be?

    11. Re:Yes and, err, no? by stewbacca · · Score: 1

      Well, back in the day, GoLive Cyberstudio came with an entire suite of web management tools, to include visual site mapping and multimedia management. I guess it never caught on (and I haven't done web stuff in over 10 years, other than fixing broken html in Robohelp files). I suppose now days its just all templates and CSS, so WYSIWYG editors are best left to those design oriented people who don't have the time/patience to tweak code? Still, it is faster to produce one page of text from scratch, with layout and multimedia elements using Dreamweaver than it is to do it line by line. I presume CSS and templates take that out of the equation, however, and content providers are just dropping their Word files into a directory somewhere and it gets populated into the template. Fair enough, I see the point.

  67. Is this unusual? by ewrong · · Score: 1

    I've worked on a number of large sites such as that: http://www.timesonline.co.uk/ = hand coded. http://www.thesun.co.uk/ = hand coded. http://www.nhs.uk/ = hand coded. http://www.metrofrance.com/ = hand coded. I could go on but I think you get the idea. Sure those sites use CMS systems and templates that spit out the HTML but it was all hand coded in a text editor before being added to the back end. I would guess that this is actually far more common than using a WYSIWG editor for HTML & CSS creation these days.

    1. Re:Is this unusual? by Shados · · Score: 1

      The wysiwg editors, in the professional world, are really only used to make a prototype first, and for their text editor (I mean, I didn't use Dreamweaver in ages, but last I tried, its text editor WAS pretty darn good, and the wysiwg interface can be used as a real time preview of the site, even if it barfs of it).

  68. Re:Benefits vs Issues; Not handcode everywhere! by ElBeano · · Score: 1

    Sure they handcode the css templates. For the actual stories, which likely go into the database of the CMS and contain little more than a few paragraph tags, they probably generate the html with some kind of editor so that all the reporters are relieved of the burden of knowing basic html

    There's no substitute for handcoding, but that doesn't mean it's always appropriate or necessary everywhere.

  69. Clean HTML, user experience and design by madsh · · Score: 1

    I just want to point out that the three things that matters most for the web came together in freak coincidence with the launch of the iPhone.

    When Steve Jobs (who cares about the user experience) demonstrated the iPhone, he choose to point the browser to New York Times (who cares about clean HTML) which ran an add for Edward Tufte (who cares about information design) it all came together...

    None of this could have happened if it was not for the hand coded HTML of New York Times. HTML is not only about presenting information, it is about marking it up in a reusable way.

    If you want to follow some of the thoughts on the browser as information broker I suggest starting at Alex Faaborg from the Mozilla Team. If you want to read about interaction design I recommend Bill Moggridge.

    If you want to learn something new I recommend you to take some courses and stop reading too many comments on slashdot :-)

  70. Re:Benefits vs Issues; Not handcode everywhere! by Dracolytch · · Score: 1

    Since the vast majority of the articles are plain text, they probably just have a couple of regular expressions and similar logic to format the text as needed. The plain-text article just sits in a database, gets called up, and gets transformed for layout in a newspaper, or layout for the web when displayed to the user/printer/etc. It's pretty easy to do.

    ~D

    --
    This sig has been enciphered with a one-time pad. It could say almost anything.
  71. 454 Errors With Transitional by WebmasterNeal · · Score: 1

    I'm sure this has been said already but the nytimes site has over 454 errors! Gez, maybe they'd be better off using dreamweaver or hire some competent content submitters.

    --
    "During My Service In The United States Congress, I Took The Initiative In Creating The Internet." -Al Gore
  72. kentucky.com by Anonymous Coward · · Score: 0

    (AKA Lexington Herald-Leader)is also hand-coded. At least it was 18 months ago when I worked there.

  73. Just goes to show by YumYumClownMonkey · · Score: 1

    ...what I've said for years: IDE's are for p#$$!@s.

  74. RE: "It's nice to see that not only does..." by slysithesuperspy · · Score: 2, Funny

    Great, now if only they would hire the best journalists!

  75. microsoft.com... by Anonymous Coward · · Score: 0

    fails with 26 errors.

  76. And it shows by DaveDerrick · · Score: 1

    They may well hand code everything, 'cause it really looks like they do. The link in the OP just proves the point, its the most bland page I've seen in years. OK, i dont always look for eyecandy when reading the news, but this is like something from the 70's.

  77. TK by tkench2002 · · Score: 1

    I believe hand coding is the best practice but like other people have stated you can use dreamweaver in standard code view and it's exactly the same as using notepad. I have been working on a new design for my online portfolio and a few features that I have been finding very useful are the validators, the ability of find and replace that you can use throughout your managed sites which can save someone a great deal of time when working on a large site. I learned how to develop web pages when I was in high school using notepad. Since then I have completed my Bachelors in Information Technology Web Development. Dreamweaver brings alot more to the table other than just having the WYSIWYG feature. I hand code through DW and also use the split mode at times and I haven't found that DW would add unnecessary code to my pages. Front Page on the other page adds a bunch of garbage code to one's page.

  78. Blame our woefully inadequate education system by blueZ3 · · Score: 2, Insightful

    Anyone who's read even a modicum of literature would be aware that misspelt is the older/English spelling of the "American" misspelled. Of course, for anyone educated in our school system who lacks the interest or motivation to go beyond the standard curriculum, 100% reliance on the spell-checking function of their browser would lead them to believe that misspelt is mispelled. :-)

    I must say however, that your insistence on lumping everyone in this country into the "ignorant American" stereotype is also pretty annoying and reinforces negative aspects the snobby European stereotype. :-)

    --
    Interested in a Flash-based MAME front end? Visit mame.danzbb.com
  79. Why is this news? by Lachlan+Hunt · · Score: 1

    Why is this news? I've been a web developer myself and know plenty of other web developers who work for major companies like the NYTimes (though not specifcally any who work at NYTimes), and it's just not surprising any more that developers actually hand code. If you're a web developer and you don't hand code, or if you've hired one who doesn't, then that developer needs to update their skills.

    FWIW, the NYT homepage is still full of careless validation errors, though it's quite clear from looking at the source code that much of it has been hand coded.

    --
    By reading this signature, you hereby agree with the content of the above comment.
  80. Not surprising by cyberchondriac · · Score: 1

    I'm far from a being a professional webdesigner, I just do it as a hobby, but when I do, I love and use Homesite5. I'm not hardcore enough to use vi or notepad.
    I think tag editors really are the best option; you just can't trust a WYSIWYG editor to work well for all browsers, and the total gobbleygook that Front page or Word puts in HTML pages (as viewed through their source code) is astonishingly confusing and wasteful.

    --

    Look back up at my post, now look back down, you're on the Internet. Now look back up. I'm a signature.
  81. Question about Dreamweaver... by argent · · Score: 1

    I believe hand coding is the best practice but like other people have stated you can use dreamweaver in standard code view and it's exactly the same as using notepad.

    I hand code HTML, but I try not to use that HTML directly... rather I take that HTML and use it to guide the templates and scripts that my text is and other objects are embedded in. This involves using a lot of explicitly classed tags and pushing the actual style off to CSS. I have avoided using HTML generation tools except as a way to experiment with different approaches to getting the results I want, because the output is never directly usable for this approach.

    Is this close to the way you use Dreamweaver, and whether it is or not do you think it would be useful in this kind of workflow?

    1. Re:Question about Dreamweaver... by tkench2002 · · Score: 1

      I also push the styles off to classed tags and divs. CSS is great. The dual view that is built in to Dreamweaver is a great tool to see automatically what you just edited and how it changed your layout. It's better than saving your files and then opening them up in a new browser and have to keep refreshing it every time you make a change. Another great tool is the preview in browser feature where you set up your managed sites and you can right click on a file and preview it in multiple browsers. You must install the browsers yourself they aren't pre-installed with Dreamweaver. I test all my sites this way: IE, Opera, Safari, Netscape, Firefox. You can download trials of DW I highly recommend it. I bought it for my home business the entire Adobe Creative Suite Web Premium I love it.

  82. CSS is UI-hard by srijon · · Score: 1

    CSS is at its roots a declarative rules-based language, just shy of being a full general purpose programming language (anyone with conjectures on whether CSS will one day be turing complete?)

    To date, nobody has created a comprehensive direct-manipulation style GUI experience for declarative rules-based languages. It's a UI-hard problem. I am not sure it will ever be solved.

    For example, how do you represent:

    table tr:nth-child(2n + 1) td > p { color: red; }

    within a GUI paradigm, except through a code editor?

    Instead of addressing this UI-hard problem, authoring tools invariably support a subset of the full language via direct manipulation (and offer a code editor for the rest). That subset may be super for a large number of use cases. However, its hardly surprising that operators of a large complex site like the NYTimes skip the GUI and write to the metal. Why limit yourself to a subset when a hand-coded ruleset can take full advantange of the elegance, compactness and expressiveness of the language?

    I do find it sad that in the first generation WYSIWIG publishing tools like Frame, Quark, Illustrator etc, had good GUI-based styling systems, but on the web we have regressed to a code editor.

  83. Most templates hand coded nowadays by Anonymous Coward · · Score: 0

    If they are done by competent people.

    Normal workflow is that there is a "visual code" or front end code done by designer / xhtml / css / js delivered, and this get implemented in the cms. This means that the data ends up in between the tag start and stopâ¦

    Look at /., guess that is also coded by hand.

    All templates I deliver is validating, sometimes there will be errors because the publishing filter og the publisher of an article and such does erroneous syntax.

    Tools:
    Xylescope
    Firefox with firebug and webdev tools
    Pararells with all browsers installed (ie3-7 +++)
    Textmate
    Cssedit
    These two is basically texteditors with enchantments like codecompletions and code templates.

    I could use DW at least the texeditor part is OK, but the wysiwyg is good to paste in stuff, but you really got to know what you are doing. I do not recommend DW because of the price and the conservatism in the program, if they made it from what the web is today it would be ok.

  84. MOD UP! by Anonymous Coward · · Score: 0

    +1 Insightful

  85. Re:Benefits vs Issues; Not handcode everywhere! by prockcore · · Score: 1

    For the actual stories, which likely go into the database of the CMS and contain little more than a few paragraph tags


    I feel I'm qualified to respond to this, since I have actually written a CMS for a newspaper.

    Odds are that nytimes uses something NITF to store the stories themselves.

    The reporters use either InCopy or Quark CopyDesk to write the stories, marking up their stories in that tool. An automated process then converts the stories to NITF. Paragraph and Character styles get converted as needed. Then the whole NITF gets stored in their database.

    When needed, the NITF gets converted into html when the user views the story (who knows how, although XSLT is what we use).

    If you go look at the specs for NITF, you'll see a very complete markup spec that handles everything from embedded video to an italicized word.
  86. Well duh on goldmansachs.com ... by jpellino · · Score: 1

    ... they've been putting $ where the & should go.

    --
    "Win treats sysadmins better than users. Mac treats users better than sysadmins. Linux treats everyone like sysadmins."
  87. alt="" by clint999 · · Score: 0

    It's awful, especially as these are easy errors that can be fixed without any problem whatsoever. The vast majority of errors are: XHTML syntax for empty elements in an HTML page. Unencoded ampersands. Forgetting required attributes like alt and type.

  88. HTML is a secretarial skill by clicktician · · Score: 1

    HTML used to be a programming skill. So were nroff and troff. Let it go.

    --
    Son, someday all this will belong to your ex-wife.
  89. leaky abstractions by Dan667 · · Score: 1

    The more code you build on code, it will come to a point where you will not get any results because of all of the underlying bugs. Cannot remember which book that is from, but it seems like it fits this pretty good.

  90. Re:Benefits vs Issues; Not handcode everywhere! by Lord+Flipper · · Score: 1

    Odds are that nytimes uses something NITF to store the stories themselves.

    They do use NITF, on the incoming and internally.

    NITF, unless I'm mistaken, utilizes a markup language that is, far and away, the best for the storage, analysis of, and re-distribution (in multiple formats for multiple purposes) of content; and that would be: XML. Nothing beats it for industrial strength document/content handling. Just my 2 cents on the XML question.

  91. I'm chuffed they mentioned TextPad by cavebison · · Score: 1

    I've been using Textpad for many years, not just for HTML, but for ASP/PHP too. Like any decent tool, if you know how to use it, it's fast and efficient - except with TexPad, I never have to battle to make it accept something it doesn't like about my code. I even prefer TP over UltraEdit. It's macro capabilities are second to none, and that's what makes code fly from your fingers. You just have to set it up in an efficient way.

    Exploring classes and methods is fun, but that's for .NET stuff. HTML/ASP isn't so complicated you need auto-complete, and usually you already have your own personal library of code that you know well and use time and again. So there again, setting up useful macros really helps. TextPad forever!

  92. dreamweaver is not the problem by Anonymous Coward · · Score: 0

    let's blame dreamweaver... not the guy who chopped up his photoshop design with some wizard tool, and had never even looked at the code before sending it over to the next guy.