Slashdot Mirror


MS Urging Developers To Prep For IE 7

Mike Savior writes "Eweek has a story stating that Microsoft is telling web site developers to prepare their sites for IE 7. From the article: 'One area that Microsoft has clearly articulated as being one in which developers can start work now to prepare for IE 7 involves the UA (user agent) string. First discussed in the company's Weblog in April, the code change prompted a reminder on Wednesday to developers, telling them that Microsoft continues to run across Web sites that are not expecting Version 7 of the browser, and urging them to test their UA strings. '"

72 of 406 comments (clear)

  1. If you use Firefox... by Anonymous Coward · · Score: 2, Funny

    ...the terrorists have already won.

  2. Shut 'em out by markdavis · · Score: 4, Insightful

    Oh yes, gotta prepare all those sites out there so they don't shut out IE7, like they do non-MS browsers. Personally, I think it would be refreshing for IE7 users to see something like: "We are sorry, but we don't support your browser. Please upgrade to the latest Internet Explorer. We don't believe in standard HTML."

  3. user agent by BoldAC · · Score: 4, Informative

    If you are depending on the user agent string, your web site design is flawed already.

    Sure IE is broken... but you just have to format to fit the lowest common denominator.

    Trying to detect the browser type for the majority of web designers is just silly.

    1. Re:user agent by gronofer · · Score: 3, Insightful
      I suppose if want to support MSIE users, and use a lot of Javascript or CSS, then you probably need to detect MSIE to work around some of its problems.

      But the user agent string is probably the worst way to do it.

    2. Re:user agent by Anonymous Coward · · Score: 3, Insightful

      It's good that browsers like Firefox have cleared the path for Microsoft, by forcing web developers to create web pages that work with any browser, instead of working with just one or two browsers.

      I wonder when Microsoft will send their thanks to Firefox team.

    3. Re:user agent by Anonymous Coward · · Score: 2, Interesting

      typically the looking for user agent string is used by wanna-be or poser web designers who's knowlege of HTML DHTML and Javascript does not exceed frontpage and cut and paste from a scripts site.

      Yes, many BIG company websites are designed and maintained by posers who act like they know what a website is and does but in reality know absolutely nothing.

      This is typical in the web developer world. they want someone who can make pretty graphicsand do not give a shit about good scripting, good html markup, and good design.

      the IE only designer is dead center of that poser world.

      we make fun of them at work, like installing Firefox on the CTO's laptop and getting him really liking it, so the next presentation of the new company website bombs on his laptop and he will chew their asses up one side and down the other.

      Man I love it.

      if you design websites and do not test and make sure it works on at LEAST 3 different broswers then you are a no talent hack wannabe poser anklebiter and sheryl in accounting can out design you.

    4. Re:user agent by Decaff · · Score: 4, Insightful

      If you do that, you have most of the web.
      The rest are then people using outdated tech
      (like Netscape 4.x, IE 4/5 etc)


      Most is often not enough. If you are developing and supporting a website that has tens or hundreds of thousands of users, and even a few percent are still using old browsers, your complaints department will be swamped by annoyed users. Simply telling them that they are out of date is not good enough. I speak from harsh experience.

      Checking the user agent string is often an unfortunate necessity.

    5. Re:user agent by deadhammer · · Score: 2, Funny

      What do you have against Sheryl anyways?

      --
      I'll be honest, we're throwing science against the wall to see what sticks. -Cave Johnson
  4. Let them release first, then we'll see by pe1chl · · Score: 5, Informative

    "I don't use IE at all, but I'll test on it because I have to," said Web designer Donna Donohue, owner of Norwich, Conn.-based development firm KidoImages. "We code to standards to be compliant with Firefox, and then hack for IE."

    Same for me. Our website uses standard CSS and it needs a hack (csshover.htc) to make it work on IE. Maybe IE7 no longer requires it, maybe it does. Who knows?
    Until then, the conditional stylesheet inclusion for IE has to remain there.

    1. Re:Let them release first, then we'll see by pe1chl · · Score: 4, Interesting

      Our website was built by a "website design bureau". We told them it had to be standard, so it would work on Mozilla as well.
      What they produced was an absolute mess. CSS boxes were built to IE handling, and rendered incorrectly on Mozilla, which they consistently referred to as "Mozarella". They believed all problems seen on Mozilla were Mozilla bugs, and they added browser detection and workarounds.
      Of course it still failed on Opera and Konqueror.
      They used an awful piece of Javascript to make dropdown menus.

      When they were done, maintenance was handed over to me and I gradually changed all their work to make a standards-conformant site that still rendered the same way. It was a lot of work, starting from the dire state it was in.
      But finally, it renders OK and the menus work on most browsers without using javascript.

      Exceptions:
      - CSS menu only works in IE by including csshover.htc (conditional inclusion using <!--[if IE]...). maybe IE7 will support :hover on list items?
      - IE4 and below don't quite cut it, fallback to javascript code using serverside UA string detect. these are dying anyway, probably I will remove this support when IE7 appears.
      - bug 234788 in GECKO means the menu disappears when mouse moves over scrollable text area. this bug has been fixed in GECKO but Mozilla and Firefox keep releasing new versions based on the broken GECKO for over a year.... We want Firefox 1.1 and Mozilla 1.8!!!

      What I learnt: use a website design bureau only to make a site design. Don't allow them anywhere near HTML coding. They just use successive approximation towards the "browsers they test with", and try to impress managers with "browser utilisation percentages" instead of standards compliance.

    2. Re:Let them release first, then we'll see by Sven+The+Space+Monke · · Score: 3, Interesting
      I recently had an oddly similar experience. The rather small company I work for contracted a web-dev. Guy was a total mess. Wasted time trying to convince me to switch the LAMP server I set up to an IIS-based one, trying to convince me to buy him a $4000 server manager package (can't remember what it was called, but it was meant for large hosting companies, not single-server rigs like ours), etc. For weeks, I kept telling him to make sure he's building to standards (as well as pleading with him to test in firefox). He kept saying that it was 'unimportant'. Eventually he relented and said he'd start testing in firefox as well as IE.

      A few weeks into the project, I get my hands on a copy of his experimental beta site. I try to load it up in firefox, and nothing. Nada. The flash he spent so much time on that comprised almost all of our site wouldn't load - it was a broken link. Worked fine in IE, so it wasn't that the file was missing. I didn't have time to look at it anymore, so I told him about the error and let him stew on it for a bit (he tried to blame it on the version of the flash plugin I was running). A few days later, I check again. Still the same problem. I talk to him about it, and he says he'll work on it. He spends 8 freaking hours on it, then tells me that "firefox can't support transparancies, so the site won't work in firefox ever".

      This doesn't sound right to me, AT ALL. So I check his html code. Well, there it is. In his EMBED tag, he ref's 2 different file names - one exists, the other doesn't. IE picks one, firefox seems to have picked the other. I'm honestly surprised that it even loads. I fix his mistake, save the file, and load it up in firefox. The site looks like ass (and as I later found out, is mostly running stolen copyrighted code and code from tutorials he read, but that's a story for another time), but it works. Time taken: litterally, without exaggeration, less than 5 minutes. Probably less time than it took to come up with that lame-assed excuse about why he couldn't do it. To this day, I'm still too scared to check the site against the w3c standards.

      Offtopic, I know, but I just had to rant (he's lodged a complaint over non-payment of wages against us recently, so I'm kinda cheesed off). Sorry, all.

      --
      A man who can't pronouce "nuclear arsenal" shouldn't have one -sig ends here.
    3. Re:Let them release first, then we'll see by Linus+Torvaalds · · Score: 2, Informative

      Our website was built by a "website design bureau". We told them it had to be standard, so it would work on Mozilla as well.
      What they produced was an absolute mess. CSS boxes were built to IE handling, and rendered incorrectly on Mozilla...

      When they were done, maintenance was handed over to me...

      Waitasecond... they ignored you and built something that didn't meet the requirements you had laid out up front... and yet you still paid for it and used it?

      This is the reason the web development industry has so many scammers and clueless idiots in it.

      What I learnt: use a website design bureau only to make a site design. Don't allow them anywhere near HTML coding.

      What you should have learnt: make sure your requirements are on a signed bit of paper and include problem resolution in your contract saying what happens when they don't meet their end of the deal.

      That way, when they deliver something sub-standard, you get your design for free and punish idiot scammers.

    4. Re:Let them release first, then we'll see by Anonymous Coward · · Score: 4, Interesting

      What I learnt: use a website design bureau only to make a site design. Don't allow them anywhere near HTML coding.

      Actually, I had the absolute opposite results when I had a website design bureau design our site. They did the design great, the HTML was standards compliant and they actually tested all pages on IE, Mozilla, FireFox, Safari and Konqueror, even in multiple languages and OSes, and were open and admitted where things would have rough edges with the older browsers, and how they worked around to make sure it worked, just not worked beautifully. It was a very pleasant experience.

      Then our in-house web-app coding team butchered the HTML to pieces, re-coded parts of it that looked fine in IE6 and crap on everything else. The final HTML code that the web app spat out did not resemble anything like what was originally made. It was terrible.

      To make things worse, the web app coders told their manager that the HTML coders were to blame for the problems, and the manager didn't bother to check the facts when he blamed the web design bureau. The designers were (rightfully) pissed off, and basically told us we were not welcome back as customers again.

      So... YMMV on either side of the story.

    5. Re:Let them release first, then we'll see by tilk · · Score: 3, Informative

      CSS fanatics always claim that you should not use tables for layout, but I find that CSS lacks some basic features for alignment especially at the bottom edge of the content area, which are very simple to implement when using a table.

      You are wrong. Have you ever read the specification? CSS has these features, it's just IE that doesn't implement them. Display: table and friends
    6. Re:Let them release first, then we'll see by Compenguin · · Score: 2, Informative

      On second though

      "Cells may span several rows or columns. (Although CSS2 doesn't define how the number of spanned rows or columns is determined, a user agent may have special knowledge about the source document; a future version of CSS may provide a way to express this knowledge in CSS syntax.)"

      Not having a colspan equivalent makes it pretty useless.

  5. UA strings! by Freexe · · Score: 5, Funny
    Surely Microsoft have learnt by now that UA detection just doesn't cut it anymore.

    I really hope IE7 has improved its standards compatibility so I don't have to change to much of my code! (Hopefully none of it, if MS have done a good job)

    We can only cross our fingers and hope it will pass the acid2 test (at the very least have improved some of its css)!

    --
    "In a time of universal deceit - telling the truth is a revolutionary act." - George Orwell
    1. Re:UA strings! by tilk · · Score: 2

      Please don't repeat this bullshit. ACID2 includes tests for error handling - but they aren't the only tests, you know. They aren't even half of them. ACID2 tests much more than just error handling.

  6. Stupid......IE Tricks by Chanc_Gorkon · · Score: 5, Insightful

    First off, anyone using the user agent for ANYTHING is stupid. It's so easily changed in browsers other then IE that I can get into sites intended for IE with any browser.

    Second, why should this type of warning even be needed? Because Microsoft themselves are guilty of telling developers to ONLY code for thier browser....something no other browser asks developers to do. Microsoft has definitely shown yet again that they want people to ONLY use their stuff and they want a web that ONLY works in thier browser.

    --

    Gorkman

    1. Re:Stupid......IE Tricks by Coriolis · · Score: 2, Insightful

      You're coming at the problem from the wrong angle.

      Most people don't care which browser is visiting their website, what they care about is what functionality the browser supports.

      There are standards-based ways of doing that, ranging from information in HTTP headers through to the fact that if( myObject.possiblyNonExistantObject) Does The Right Thing (TM) (which was either a stroke of genius forethought or a lucky accident).

      Keep it simple, solve the problem you actually have.

      --
      Rgasuya aata! : I have been coding Perl and cannot tell where my fingers are now!
    2. Re:Stupid......IE Tricks by ninja_assault_kitten · · Score: 2, Interesting

      I don't think most people who use the UA for validation do so in an attempt to foil those want to get around it. It's more of a support issue. If the site was designed to run in IEx and you're running Lynx they're just letting you know up front that it may not work properly.

      To your second coment. Probably because fewer people will complain (or at least have reason to complain) if MS provides a warning. Sure there will be people like you and I who feel it's obvious and unnecessary, but there are more people who aren't like us than are.

    3. Re:Stupid......IE Tricks by quacking+duck · · Score: 2, Interesting
      First off, anyone using the user agent for ANYTHING is stupid

      Not true; I use it on my personal website to display a "public service announcement" urging the user to switch to the far more secure Firefox if it detects that they're using IE of any flavour. ;-)

      (The message is hidden by default if they're using anything else)

    4. Re:Stupid......IE Tricks by Zarel · · Score: 2, Insightful
      Well, in PHP, it's easy.

      <?
      if (strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE') !== false && strpos($_SERVER['HTTP_USER_AGENT'], 'Opera') === false) {
      ?>
      <b>Warning:</b> You are using the Microsoft Internet Explorer browser.
      This browser is notorious for its inability to comply with W3C
      standards. In other words, IE sucks.<br /><br />
      So what should you do? We reccomend you install <a href="http://www.getfirefox.com/"
      target="_blank" >Mozilla FireFox</a> instead.
      <?
      }
      ?>


      Replace the stuff between '{ ?>' and '<? }' with whatever you like.
      --
      Want a high quality FOSS RTS game? Try Warzone 2100!
  7. hum... by Evan+Meakyl · · Score: 2, Insightful

    "Developers should ensure that their sites are ready for the IE 7 user agent string and treat IE 7 just like they would IE 6,"

    I hope not. IE6 is not totally standard compliant, I would be more pleased if they ask web developers to treat IE 7 just like they would Firefox or Konqueror (at least for HTML, CSS and Javascript...).

  8. uh, yeah.... by towndowner · · Score: 5, Funny

    my web site's been prepared for IE7 since 1996 or so.

  9. Re:oh pretty please... by BoldAC · · Score: 4, Insightful

    Quote:
    "There are undoubtedly many Web sites that are so poorly built or tested that IE7 will break them," he said, "So it's not entirely dumb to make a fuss about IE7's impending release."

    Translation:
    IE7 will continue IE's ways of non-standardization. Expect IE7 to break your site.

  10. Choice quote from TFA by Uber+Banker · · Score: 3, Insightful

    "I don't use IE at all, but I'll test on it because I have to," said Web designer Donna Donohue, owner of Norwich, Conn.-based development firm KidoImages. "We code to standards to be compliant with Firefox, and then hack for IE."

    Oh, so true, Firefox is also my main testing and QA platform, though I do try to code to standards then adapt to the quirks of a single application, even Firefox has the odd lack of compliance.

    [sarcasm]Looking forward to IE7, Firefox has dominated the browser competition for too long [/sarcasm]!

  11. Nope... by ozamosi · · Score: 5, Funny

    As this article states, IE7 will not support CSS2. But come on! Give MS some slack! The CSS2 standard is only 7 years old. You must give them some time to implement the thing..!

  12. Re:not a webdev, but... by datadriven · · Score: 5, Insightful

    Usually it's better to check for DOM objects than user agent strings.

  13. Re:not a webdev, but... by Freexe · · Score: 2, Informative
    A webdeveloper shouldn't be checking the UA string at all.

    Javascript should be made using object detection and built by default to work (degraded but still usable) and CSS should be built to standards with 'fail-safe' hacks to make it work in all major browsers.

    Unfortunatly time pressures and the shear amount of crazy browser bugs (in ALL browsers) can sometimes make this hard.

    --
    "In a time of universal deceit - telling the truth is a revolutionary act." - George Orwell
  14. Checklist by Boss,+Pointy+Haired · · Score: 5, Insightful

    Valid HTML/XHTML..... Check
    Valid CSS.... Check

    READY!

    1. Re:Checklist by Zaiff+Urgulbunger · · Score: 3, Insightful

      What with all the concern about the UA string above, and everyone saying using the UA string is dumb, I'd just like to add:

      What about all of us "standards based" designers who have to exploit browser bugs for functionality? As far as I'm aware, pretty much _every_ designer who codes for standards (uses Firefox or something to build) and then tests and patches for other browsers (MSIE), we all use CSS work arounds.

      **We don't know these will work!**

      Will IE7 be fixed with respect to the CSS issues, but still respond to these CSS hacks, or vice-versa (CSS hacks don't work, but CSS is still buggy)?

      It is entirely plausible that "standards based" websites will need some work so they render correctly in IE7! Of course, we can't tell until we start testing, which in reality, is true of all web browsers since they all contain a few bugs!

  15. CSS2 a flawed standard? by October_30th · · Score: 2, Insightful
    A quote from the article the previous Slashdot linked to:

    One partner said that Microsoft considers CSS2 to be a "flawed" standard and that the company is waiting for a later point release, such as CSS2.1 or CSS3, before throwing its complete support behind it.

    Any ideas what the "flaw" is?

    --
    The owls are not what they seem
    1. Re:CSS2 a flawed standard? by Ann+Elk · · Score: 4, Insightful
      Any ideas what the "flaw" is?

      Yes: Microsoft doesn't control it.

    2. Re:CSS2 a flawed standard? by Dolda2000 · · Score: 2, Funny

      Yeah, it would make the web platform-independent...

    3. Re:CSS2 a flawed standard? by praseodym · · Score: 2, Informative

      http://www.w3.org/TR/CSS21/about.html#q1
      http://annevankesteren.nl/2005/06/css-21

      CSS 2.1 is in nearly-done stage I think. At least IE devs can start working on it already...

    4. Re:CSS2 a flawed standard? by masklinn · · Score: 2, Informative
      Completely wrong, you fail, please hang yourself.
      At the beginning, the UA was merely a mean of identifying yourself. You were supposed to say who you were for statistical purposes period.

      But when Netscape started to create quite a lot of tags it was the only browser to understand, some devs got the [sarcasm]really nice idea[/sarcasm] to parse the UAs and only serve "improved" content to "Mozilla" (netscape) while feeding the dumbed down one to any other browser.
      Subsequently, when IE started to get good at displaying the graphically improved NS tags MS wanted it to get the improved content instead of the fugly one... and put "Mozilla" in front of their UAS...

      The dev's check of the UAS was retarded, MS' move was ugly but had a reason, yet two wrongs don't make a right.

      So
      • The need for the "Mozilla" UA substring comes from the retarded web devs, not Netscape
      • And nowadays that isn't even needed, since Opera using it's own UAS (~Opera/8.01 (Windows NT 5.0; U; en)) usually has no trouble displaying anything. Shame it defaults to IE impersonation though.
      In fact, that UAS checking got as retarded as checking for the version (4.0), which is why IE6 and IE7 will wear "Mozilla/4.0" (while Firefox and NS7 have Mozilla/5.0".
      Netscape and Mozilla foundation's browsers are the only ones entitled to the Mozilla UAS, and MS should grow some balls and remove them from it's browser. It'll break some site? f*ing big deal, means that the websites were shitty in the first place.
      --
      "The way we can tell it's C# instead of Haskell is because it's nine lines instead of two." -- wadler
    5. Re:CSS2 a flawed standard? by MemoryDragon · · Score: 2, Interesting

      CSS 2.1 has ben officially finalized a while ago... ignorance is bliss...

  16. Back To The Status Quo by ObsessiveMathsFreak · · Score: 4, Interesting

    TFA says it all:
    "I don't use IE at all, but I'll test on it because I have to," said Web designer Donna Donohue...."We code to standards to be compliant with Firefox, and then hack for IE."

    So if MS is standards compliant with IE7, there should be nothing to worry about. Of course we all know that that is NOT going to happen. IE7 might be standards based, but expect sweet and fattening IE7 only extentions in HTML pages that will break other browsers rendering.

    I suppose this is why MS is calling for developers to pay attention to the new IE UA. IE7 might be rendering in a totally different way to IE5/6 and so will need to be treated differently to other browsers. In other words, MS wouldn't need to bother to mention this if IE7 was standards compliant. I'm smelling a hoard of compatability problems in the near future dragging us all back to the dark ages similar to the following.

    However, Champeon added that he builds sites from the ground up to work in any Web browser, by following the set of principles known as "progressive enhancement."
    Uhhhgghh!! I've met "progressive enhancement" once before. You've never seen such ugly, malformed, duplicitous code. Non standards compliant web site code that tries to be cross-browser is most of the reason I decided not to get into web development.

    --
    May the Maths Be with you!
    1. Re:Back To The Status Quo by Sentry21 · · Score: 5, Insightful

      Uhhhgghh!! I've met "progressive enhancement" once before. You've never seen such ugly, malformed, duplicitous code. Non standards compliant web site code that tries to be cross-browser is most of the reason I decided not to get into web development.

      Perhaps you're thinking of a different 'progressive enhancement' than I'm used to. When I think progressive enhancement, I think of the method I (and those I know) use to construct websites.

      1. Write your content
      2. Mark your content up using semantic markup
      3. Once the content is marked up, do the design (or have a graphic designer do this parallel to the first two steps
      4. Convert the graphical design to CSS and apply to site
      5. (optional) Add Javascript to enhance the functionality of the already working site

      Where a lot of developers make their mistakes is that they use things like Javascript and (to a lesser extent) CSS for the main functionality of their site - for example, a navigation bar of non-links with dropdown menus of links. If, however, the javascript doesn't work in your browser, you get no links and cannot browse the site.

      The proper way to do things is to build a site that works before even adding CSS. Once you have your content in a presentable manner, then you add CSS. This ensures that your HTML will be usable across all browsers (e.g. w3m). Once that is done, you add CSS to style it. This makes it a lot easier to work around crappy IE bugs, because you're doing it one step at a time and don't have to worry about putting hacks into the HTML or using nonstandard tags.

      Only after one has a working site should one add Javascript - the rare exception can be said to be 'web applications', where the functionality of the site requires client-side scripting. Regardless, adding Javascript last means that your site will work without Javascript or without the Javascript implementation you're used to. This is important.

      For an excellent example of these principles used, specifically the use of Javascript as an extension of the page, and not as a component of the page, take a look at the Happy Spork image gallery. Play with it with Javascript on, and with Javascript off, and notice that the functionality is exactly the same - just accomplished differently - in either case.

      That is what I think of when I think progressive design. Maybe I'm thinking of something different than you are.

    2. Re:Back To The Status Quo by Linus+Torvaalds · · Score: 2, Informative

      Uhhhgghh!! I've met "progressive enhancement" once before. You've never seen such ugly, malformed, duplicitous code. Non standards compliant web site code that tries to be cross-browser is most of the reason I decided not to get into web development.

      I don't know what you think progressive enhancement is, but it's got nothing to do with being non-standard.

      Take this example:

      <a href="foo.html">bar</a>

      It works pretty much everywhere. Now this:

      <a href='javascript:windowopener("foo.html");'>bar</a >

      This breaks on non-Javascript user-agents. Now this:

      <a href="foo.html" onclick='return windowopener("foo.html");'>bar</a>

      This works for Javascript and non-Javascript user-agents. This last one is an example of progressive enhancement. You provide a basic version that works everywhere, and you progressively enhance it where the user-agent supports it.

      It's all about being compatible with less capable user-agents while still using the fancy stuff that advanced user-agents are capable of. It's got nothing to do with being non-standard - you can comply with the W3C specifications when using progressive enhancement, or you can ignore the W3C specifications when using progressive enhancement. It's a completely separate issue.

      In other words, MS wouldn't need to bother to mention this if IE7 was standards compliant.

      Newsflash: every browser has bugs. No browser is "standards compliant" (hint: the W3C is a vendor consortium that publishes specifications, they are not a standards body that publish standards).

      When the HTTP specification was being written, they understood that it might be necessary to work around specific browser shortcomings. That's the whole reason why the User-Agent header is there in the first place.

      I'm pessimistic about Internet Explorer 7 too. But the things you point out are completely reasonable and expected from any major browser release.

    3. Re:Back To The Status Quo by Anonymous Coward · · Score: 5, Insightful

      Nice fantasy land you live in.

      Here's the real world of site development.

      1. You already have several thousand pages of content output from a database that includes HTML directly in the dataset.

      1a. There is no additional developer resource to modify the database and/or the database itself serves other clients who want it the way it is.

      1b. Understand your site is going to be "invalid" from the get go.

      2. Mark up your new *framework* code using web standards.

      2a. Discover that the interplay between the "good" mark-up and the "bad mark-up" is causing problems in multiple browsers.

      2b. Don't bother fixing just yet - the design process will also gave an impact on structure whether you like it or not - unless you are one person doing everything in which case you don't have these kind of problems - equally bragging on /. about the "right way" is laughable - it's like a guy who once put up a shed trying to critique an building engineer.

      3. Once the framework is marked up meet with the Interaction designer, the Brand manager and any other stakeholders.

      3a. Discover they've already got a brand design in mind. It's contrarian to the way you coded your framework. Understand they're also professionals and have a point. Realise you can't force them to do it your way because arguments about semantic mark-up and clean code matter little versus the vast amount of cash they've sunk in the brand identity over the life of the company.

      3b. Go back and stare at your framework and sample output.

      3c. Try some things.

      3d. Rinse and repeat.

      3e. Arrive at framework that pretty much supports the interaction and branding requirements.

      4. Convert the graphical design to CSS and apply to sample content - testing as you go - the fact you don't control all the mark-up makes you swear a lot. You drink coffee. You do the best you can and document the hacks and exceptions in the vain hope that those come after you may finish the job properly.

      5. (mandatory) Modify existing Javascript to maintain the exsiting functionality of the site users have been using for three years plus.

      5a. You may need to go look at that framework again some.

      6. Test, test again, test some more.

      6a. Release.

      7. Spend futile debrief meeting begging for the additional budget to migrate the database content to proper separated semantic mark-up and content.

      7a. Accept management will look at you blankly. Then refuse the request. Then start making plans for additional features instead.

      7b. Make occasional acerbic posts on /. when cretins claim it's just as easy as ABC.

      This coward works for a large media organisation you all frequently claim is one of the best in the world.

  17. We got of preparing to do by DanielMarkham · · Score: 2, Interesting

    Let's see, IE7, SQL Server, Longhorn, new versin of .NET, etc -- we developers have a lot to prepare for.
    It's a wonder we can get any work done. Looks like we'll just spend all of our time getting ready for 27 new versions of Microsoft products.

    HP To Lay Off 15,000 Workers

  18. Get Ready!? by Midnight+Thunder · · Score: 4, Interesting

    This just makes no sense. A website that is properly designed should not have to get ready for any version of a web browser, since it should already support most browsers on the maket, including, but not limited to: Safari, Firefox, Netscape, Opera, IE and Konquerer. Sounds like MS is encouraging the development of shody sites, which are IE centric, which is VERY bad.

    --
    Jumpstart the tartan drive.
  19. A better idea... by Stormwatch · · Score: 2, Interesting

    Validate with the World Wide Web Consortium . If the site breaks on IE7... put a disclaimer on the main page, telling your viewers whose fault it is, and that there are other, better, standards-compliant browsers out there!

    1. Re:A better idea... by abdulla · · Score: 2, Informative

      More standards-compliant, but still flawed. Don't get me wrong, I love Firefox and KHTML, but there's still so many holes in their support for CSS and other standards. I hear KHTML is rapidly closing that gap though.

    2. Re:A better idea... by Antiocheian · · Score: 2, Insightful

      Validating your HTML/XHTML code is a good idea, but the professional web designer should test his work on any popular browser out there.

      Putting a disclaimer such as the one you are proposing, is offensive and amateurish. It's not the users who should adjust -- it's the designers.

  20. The difference in User Agents by Kamiza+Ikioi · · Score: 4, Funny

    IE6:
    Mozilla_4.0 (compatible; MSIE 6.0)

    IE7:
    Firefox_1.0 (compatible; MSIE 7.0)

    --
    I8-D
    1. Re:The difference in User Agents by gronofer · · Score: 2, Funny
      That would be:

      Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4 (compatible; MSIE 7.0)

      Good luck to anybody still trying to use the UA string.

    2. Re:The difference in User Agents by JimDabell · · Score: 2, Informative

      Internet Explorer 7.0 running on Longhorn will have a user-agent string of:
      Mozilla/4.0 (compatible; MSIE 7.0b; Windows NT 6.0)
      according to the IE Blog. Presumbly, Internet Explorer 7.0 running on Windows XP will have a user-agent string of:
      Mozilla/4.0 (compatible; MSIE 7.0b; Windows NT 5.1)

    3. Re:The difference in User Agents by ModernGeek · · Score: 2, Interesting

      I never really got it, why does the IE UA have Mozilla_4.0 in it?

      --
      Sig: I stole this sig.
    4. Re:The difference in User Agents by DeadMeat+(TM) · · Score: 4, Informative
      I never really got it, why does the IE UA have Mozilla_4.0 in it?
      Long before Web developers started blocking browsers without the IE UA, they blocked browsers without the Netscape UA. (Mozilla was the code name for Netscape long before the open-source Mozilla project started, which is why "Mozilla" was in the Netscape UA.) Microsoft countered by using the Mozilla/x.x part of the Netscape UA, and then embedding the fact that it was really IE in the parentheses (which nobody really parsed at the time).
  21. This question must be asked: by bogaboga · · Score: 2, Interesting
    What can we (in the Linux world), who comply to standards do? What strategy must we follow to have M$ kind-of stab themselves in the foot by the selfish/greedy actions they might take in regard to IE7?

    I think that if a major PC buyer - read government, decided not to let systems with non compliant browsers be marketed in the country, M$ would listen to some extent. However, for this approach to succeed, many governments must do the same...not just one. The EU could do this. So could Russia and China. Is it time to lobby these governments on this just like was done on the software patent issue? But again, as an individual, I want more...ie...to be able to completely remove all traces of IE on my PC and let any browser specific component be handled by a browser of my choice. What about that?

  22. This is exactly what I think regardi IE7 by uomolinux · · Score: 2, Informative

    QUOTE: "We're not going to waste our time specifically addressing any one browser when we can address them all instead, using faster development techniques that don't favor one platform or browser over all the others," Champeon said."

  23. Maybe it's a completely new UA string by ESqVIP · · Score: 2, Interesting

    From TFA:

    Microsoft updated the UA after considering application compatibility issues.

    Currently IE's user-agent string defines itself as a browser compatible with "Mozilla/4.0". I wouldn't doubt that line means they're changing to some new format (directly specifying it's MSIE rather than saying it's compatible with an old browser, just like Opera). That then could be what broke so many websites into not recognizing it as IE.

    But as the article is too vague on this aspect, we can't really be sure.

    1. Re:Maybe it's a completely new UA string by davehughes · · Score: 2, Informative

      The new UA string is

      Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)

      taken from the IE7 developers' blog.

  24. Why? by polyp2000 · · Score: 3, Interesting

    Microsoft should be urging developers to follow standards, so long as people adhere to accepted guidlines such as those laid out by w3c consortium people *will* be prepping themselves for IE7. That is of course unless Microsoft are planning to ignore them and produce another browser that has a crapped out implementation of the DOM with added non-standard extensions.

    Nearly *all* the web developers I know that are worth their weight curse regularly at the bag of bile that is IE. Firefox is just a better browser , plain and simple. Just what does IE offer (that is not a proprietary IE only extension) that is going to change things for the better?

    nick ...

    --
    Electronic Music Made Using Linux http://soundcloud.com/polyp
  25. Re:Firefox market share will increase even more! by multipartmixed · · Score: 2, Interesting

    If it makes you feel any better, I write fairly DOM/CSS/Javascript heavy web apps, and test on IE5.5 and Firefox 1.0.

    It's not hard, and I don't do *any* UA detection*. The key is picking the right standards subsections, and implementing the missing stuff yourself. IE has been "good enough" since version 5.5, assuming your layout won't get broken due to text in a DIV being "off" by a few pixels, etc. Remember, users come for content, anyhow!

    Incidentally, most of my stuff works on IE4.0, but it's pretty damned ugly.

    * UA detection is used to pop up an alert box bitching about the browser version and recommending firefox. Does not otherwise impact site. Non-JS users get bitched at via NOSCRIPT tags.

    --

    Do daemons dream of electric sleep()?
  26. feedback post on the original article's forum by Rufus+T.+Firefly · · Score: 5, Insightful

    Most /. readers already know not to use user-agent string evaluation to conditionally server content (it's lame to do so).

    However I tried to persuade the readers of the original forum where the article was posted with a post. I adopted a rational argument and hopefully it will influence the non-slashdot audience with what I hope is an eloquent statement against this inane (but perfectly understandable from the vendor's perspective) advice.

    original article

    And here's my post there:

    Subject: Microsoft is deadly wrong about this advice

    First, I am a strong Microsoft supporter and have personally benefited from the use of their products. However, the most important reason for the web's creation -- and its primary value -- is to allow hitherto incompatible content formats to be seamlessly integrated according to internationally accepted standards, e.g., HTML, XML, HTTP, CSS, etc. No single vendor can lay claim to any of these languages or protocols, i.e., they are standards, not proprietary systems, owned and controlled by a single vendor. By conditionally serving content based on a single vendor's proprietary user agent (IE 7, Firefox, or Opera, for example), you not only reveal a profound misunderstanding of the web's great communicative power, but you will paint yourself into a corner from which you will find costly to extricate yourself (I know, I already made this painful mistake once, in the last decade).

    In summary: build your content according to standards (not ipso facto, ephemeral market-share ideology), and let the browser vendors do what they're supposed to do: innovate while simultaneously and rigorously adhere to W3C standards.

  27. Coding for standards is too expensive! by standards · · Score: 4, Insightful

    "Coding for all browsers is expensive and increases our development and support costs".

    That's the BS I usually hear from people who develop only for one browser - typically the "corporate standard" browser.

    Interestingly enough, I have the opposite experience. We reuse our proven code to make sure that our sites work properly with all modern browsers. Pretty standard stuff for all serious software development professionals.

    We use a lot of fancy features, support a fancy text editor, calendar widgets, hierarchy controls... basically, everything that people want out of a modern browser interface. And do you know what? Our resulting software works and looks great with IE, FireFox, Opera, Konqueror, and more.

    We have tens of thousands of "very active" users per day, and we never get a complaint about our software not working with a less popular browser.

    We have a very small software development staff. As the manager of this organization, I can say with confidence that supporting all browsers versus just one costs us zero dollars.

    It's all about good design and management practices. If you do some planning for the future by making good, solid, reusable code the first time, you actually end up saving a ton of money. Save time, money, and sanity.

    Sadly, most software development organizations just can't handle doing their job right. They don't bother to build good reusable code, resulting in a tedious, unreliable, never-ending tweaking effort whenever the next service pack is released.

    No wonder why so many companies have outsourced their development to the 3rd world. Lousy software development practices, such as coding for just the one corporate standard browser, is prohibitively expensive.

    1. Re:Coding for standards is too expensive! by hobit · · Score: 2, Informative

      We have a very small software development staff. As the manager of this organization, I can say with confidence that supporting all browsers versus just one costs us zero dollars.



      Really? If anyone is occasionally testing to be sure everything works on all browsers, you have a cost. If no one is, I find it unlikely things work perfectly in all major browsers. There do seem to be a number of weird issues out there.

      --
      As Nietsche famously said, "If you stare too long into the Abyss, 1d4 Tanar'ri of random type will attack you."
  28. Re:not a webdev, but... by MP3Chuck · · Score: 2, Interesting

    Could you elaborate? I've been looking for non-UA methods of browser detection ...

  29. Re:Firefox market share will increase even more! by gronofer · · Score: 2, Insightful
    In your scenario, these "doomed" users are only a few percent, and not all of them would install Firefox. So it's share wouldn't increase much.

    The problem for Firefox is that it's existing Windows users will buy a new computer some day, with IE 7.0 installed. Will this version still be so bad that they are motivated to install Firefox again?

    This is the advantage that Microsoft always has, and what allowed them to defeat Netscape. The browser only has to be "good enough" and indifference of the users will work for them.

  30. MS can suck it! by Anonymous Coward · · Score: 2, Informative

    Every, and I mean EVERY website I've designed since 1993 has been fully standards compliant. I have had to hack around IE since the mid-1990s and I'm sick of it. If IE7 is not standards compliant, TOUGH! I'm not changing a damn thing in my websites. I've checked my web server logs, a major percentage (more than 50) of browsers that hit my sites are standards compliant browsers. If users can download the latest FREE version of IE, then they can just as easily download the latest FREE standards compliant browser, and blow me! I'll quit before I have to change the SIX different websites, with over a thousand pages, that I built and maintain. IE users can get bent. Bitter? DAMN RIGHT! and with good reason too.

    1. Re:MS can suck it! by Dogtanian · · Score: 3, Funny

      Every, and I mean EVERY website I've designed since 1993 has been fully standards compliant. I have had to hack around IE since the mid-1990s and I'm sick of it. If IE7 is not standards compliant, TOUGH! I'm not changing a damn thing in my websites. I've checked my web server logs, a major percentage (more than 50) of browsers that hit my sites are standards compliant browsers. If users can download the latest FREE version of IE, then they can just as easily download the latest FREE standards compliant browser, and blow me! I'll quit before I have to change the SIX different websites, with over a thousand pages, that I built and maintain. IE users can get bent. Bitter? DAMN RIGHT! and with good reason too.

      Shortly after this outburst, Mr.Coward was fired from his job maintaining Microsoft's corporate website.

      --
      "Slashdot - News and Chat Sites Deviant". (Click "homepage" link above for details).
  31. the biggest change in IE7... by l3v1 · · Score: 4, Insightful

    ...will obviously be: developers can start work now to prepare for IE 7 involves the UA (user agent) string, just so you know. I would be much happier if they had ever began warning web "developers" to change their codes to conform to html/xhtml and css2 standards. Instead they warn to check for the new IE version string, probably to be able to write yet another customized hack for your pages to work.

    Hell, last time of such a hack [regarding IE6] happened when I rewrote a javascript menu into a quite simple and clean css version: it was pretty in firefox, konqueror, mozilla and opera, but it didn't even look like a menu in IE6 (w/ xpsp2). It took me 2 hours and about a dozen customized lines of code especially for IE, to make it look like it did elsewhere, in real browsers.

    I don't care how high levels of enlightened self-interest [ :] G'Kar if your friend ] drive MS as a company, and how lame-proof they want to make their OS and software. Make software that 1). is good, 2). that works, 3). isn't bloated [does it's function, nothing more, but does it well], 4). doesn't cost a fortune [at many places on this planet].

    Sometimes MS reminds me of good old OCP from Robocop movies: it's so big and it's so alone that you have no choice but to live with it.

    --
    I am putting myself to the fullest possible use, which is all I can think that any conscious entity can ever hope to do.
  32. All browsers != standards by Linus+Torvaalds · · Score: 3, Informative

    "Coding for all browsers is expensive and increases our development and support costs".

    That's the BS I usually hear from people who develop only for one browser - typically the "corporate standard" browser.

    No, it's true. Try developing a website using CSS 2. It'll work in Firefox, Opera, Konqueror and Safari just fine. Now check it in Internet Explorer. Whoops!

    If you want your website to work in all browsers, then you have to either forget about CSS 2 (meaning slower development) or hack around Internet Explorer's problems (meaning slower development). Slower development == costs more.

    How many tutorials have you seen with different methods of achieving multiple column layouts? Did you know that you just need a couple of lines of code to do it (display:table-cell etc) in all the major browsers except Internet Explorer?

    We have a very small software development staff. As the manager of this organization, I can say with confidence that supporting all browsers versus just one costs us zero dollars.

    I'm in a similar situation, and I can say with confidence that Internet Explorer slows us down, which costs us money. Coding to standards is not the same thing as making it work in all browsers.

  33. Re:not a webdev, but... by ffrinch · · Score: 2, Informative

    See here.

    e.g., if you need to select DOM elements, see if the document.getElementById method exists, rather than checking for IE >= 5.

    It's no use for sites using browser detection to send working CSS rules, though, since they need to work even if JavaScript is turned off.

  34. Re:oh pretty please... by HAKdragon · · Score: 2, Informative

    Konqueror doesn't use Gecko, it uses KHTML, on which Safari is built.

    --
    "Our opponent is an alien starship packed with atomic bombs. We have a protractor."
  35. Do absolutely nothing different by Anonymous+Brave+Guy · · Score: 2, Insightful
    What strategy must we follow to have M$ kind-of stab themselves in the foot by the selfish/greedy actions they might take in regard to IE7?

    Change absolutely nothing. Your strategy is as simple as that. Continue to develop for W3C standards, and make the usual pragmatic concessions to allow for IE 5 and 6. Make no special attempt to accommodate IE7 whatsoever.

    This strategy is a clear winner for one simple reason. The only reason MS gets a lot of developers to code for IE is because it's big. When you have 90% market share, you don't follow the standard, you define it, regardless of what the W3C and its supporters might wish were the case. As a corollary, when you have 90% of market share, a lot of ill-informed cheaposoft developers will code for your software because they don't know any better.

    However, when IE7 comes out, it will not have 90% market share. It starts at 0% like everyone else, and if it isn't directly compatible with either the W3C standards or Microsoft's previous one (the now-well-known quirks in IE 5/6) then it gets a category of its own.

    Moreover, since MS were making a big point of how IE7 will only be part of Longhorn and won't be available as a retrofit onto the previous versions of Windows, they are almost condemning it to be a minority player for several years. Just look as how many home users are still running ME, and how many businesses are still on 2000, never mind XP. (As an aside, I heard rumours of this policy changing, though I've not personally noticed anything official from Microsoft about it yet. I'll be amazed if there isn't an IE7 upgrade for WinXP available the moment it releases, though.)

    If critical web sites like banks and the big e-shops don't immediately work reliably with IE7 -- and that information will probably spread very fast -- then this will hurt Microsoft's sales and market share. Microsoft will not sell as many copies of its new operating systems as long as they rely on IE7, so they will either have to fix IE7 or drop it and advise users to switch to something that works. In the meantime, big players like Dell will not be selling as many new PCs, or they'll be stuck with the overheads of supporting multiple OS configurations at supply time. After they had to do that with Win2K, when many major customers said they just didn't want the untried-and-untested WinXP installed on their new systems, I suspect they'll be very reluctant to do it again because of something as stupid as a web browser.

    In summary, Microsoft only bullies the dev community right now because it has huge market share. IE7 will not start with a huge market share, and if Microsoft does restrict it to Longhorn only as they threatened in the past, IE7 will not develop a huge market share either. Thus IE7 is not a tool with which to bully the development community, it is a tool that must comply with the will of the development community. If it does not, Microsoft and the customers and business partners it most cares about will lose money, and that is the one thing they will not allow to happen.

    Of course, Microsoft are well aware of this risk, which is why their legendary PR machine is now trying to mitigate it. All that is necessary to defeat this ploy is to see the PR for what it is: an attempt to trick the dev community into helping Microsoft, not the other way around.

    --
    If you disagree, post your argument. (-1, Overrated) isn't your personal censorship tool for views you don't like.
    1. Re:Do absolutely nothing different by Anonymous+Brave+Guy · · Score: 2, Interesting

      Thanks for the reply, but I think my reasoning was a little more thought out than you give credit for...

      Assumption #1: IE 7 will have a low marketshare.

      Better prediction: Within a month or two, IE7 will have a greater marketshare than Firefox and all other alternative browsers combined. (Based on historical adoption of IE6.0). When Longhorn ships, the market will be predominately IE7 within months. Your statement that IE7 will not develop a huge market share either appears to be completely groundless -- just the shipment of new PCs alone negates it.

      I find that extremely unlikely. Adoption of new operating systems from Microsoft has been slowing dramatically since Win2K. Even today, as Microsoft starts blatantly shutting off support to force people to upgrade, a very significant proportion of their customer base are not running WinXP.

      Longhorn may be the most hyped MS operating system since the last one, but they've cut most of the potentially great stuff out of it already; see Slashdot discussions passim. There's not much of a compelling driver for upgrades, which means the only way it's getting out there in serious volumes is via new PCs.

      A common business plan replaces PCs every three years, with plenty of places using older machines and software, and not many upgrading more frequently. That means for IE7 to reach the same penetration as IE6, even without other factors, would take the best part of three years. And this is assuming that everyone buying a new PC gets Longhorn, which isn't necessarily going to be the case for many reasons, and that no-one switches to a different browser in the meantime, which also isn't necessarily the case.

      Microsoft just don't get those three years. If they're lucky, they get a month or two, by which time if there are serious incompatibility flaws, every magazine, on-line review site, CIO journal and tech news forum is going to be carrying the fact that IE7 breaks web sites and the damage really starts, crippling further spread of IE7.

      Assumption #2: IE 7 will have some major incompatibilities with IE 6.

      Better prediction: In the vast majority of cases, IE 7 will just work. It will still contain all HTML3.2-era hacks and IE5-style BogoCSS. The most affected sites are the few that exploited CSS2 bugs to work around other CSS2 bugs in IE6.

      Well, if it "just works", there will be no need for developers to do anything special to support it, will there?

      But if it was going to "just work", Microsoft wouldn't need to spend a fortune trying to get everyone to check their sites and fix the breakage early. They're worried it won't "just work", which is pretty telling.

      Assumption #3: Major sites will be unprepared for IE 7

      Better prediction: This is the biggest browser release in years, and sites will test with the beta releases. (Admittedly this is going to sorta suck for W2K shops like ours.)

      I admire your optimism. Gecko-based browsers have around 10% market share today, depending on who you ask, yet we're only just now seeing some key web sites (particularly those dealing with financial matters) upgrading in the face of customer pressure and bad PR. I very much doubt the kind of site naive enough to be IE6-only until recently is going to be IE7-ready the moment Microsoft releases it, if IE7-ready doesn't mean "works like IE6".

      Assumption #4: Microsoft "bullies the dev community right now because it has huge market share"

      Reality: Most web developers are primary IE and are using simplistic techniques that generally work just fine on Firefox and Safari.

      I'm not sure either part of that claim is true. A lot of cheapo shops and schoolkids pretending to be businessmen are IE only, but most of the pros I know (of which there are quite a few, given I work in a big tech centre) are more than familiar w

      --
      If you disagree, post your argument. (-1, Overrated) isn't your personal censorship tool for views you don't like.
  36. Re:not a webdev, but... by NutscrapeSucks · · Score: 2, Informative

    A better practice in 2005 is to drop this sort of script all together. It is only needed to support IE4.0, which nobody uses any more and probably won't render your site correctly regardless.

    --
    Whenever I hear the word 'Innovation', I reach for my pistol.
  37. Re:not a webdev, but... by JimDabell · · Score: 2, Informative

    A better practice in 2005 is to drop this sort of script all together. It is only needed to support IE4.0

    No. This particular script is generally only useful when you need to support Internet Explorer 4.0, but that doesn't mean this sort of script is no longer useful.

    A more relevant example would be checking for XMLHttpRequest, but that involves two different code branches anyway due to the difference in instantiation between the ActiveX and native objects.

    I chose the document.getElementById versus document.all example because it's a simpler example of the technique. The fact that this particular example caters to an older browser is irrelevant. This sort of script is still the best method of supporting browsers with different capabilities today.