Slashdot Mirror


HTML 5 As a Viable Alternative To Flash?

superglaze writes "Jon von Tetzchner, Opera's CEO, has claimed that the open standards in HTML 5 will make it unnecessary to deliver rich media content using the proprietary Flash. '"You can do most things with web standards today," von Tetzchner said. "In some ways, you may say you don't need Flash." Von Tetzchner added that his comments were not about "killing" Flash. "I like Adobe — they're a nice company," he said. "I think Flash will be around for a very, very long time, but I think it's natural that web standards also evolve to be richer. You can then choose whether you'd like [to deliver rich media content] through web standards or whether you'd like to use Flash."'"

79 of 541 comments (clear)

  1. My Kingdom for a Datagrid Element! by eldavojohn · · Score: 4, Interesting
    Yeah, video and sound are two biggies that HTML 5 needs to get correct. No doubt about that.

    But as someone who's thrown together more than a few web applications in my time, I'd like to talk to you about what I'm really excited about--the datagrid element.

    Now, I know a lot of people are going to argue with me, but the most important tag in HTML is <table>. Every single graphical trick done to either speed up or sexify your web site is done with tables inside tables inside tables--it's tables all the way down!

    When's the last time you laid out a site without a table element on every page? Hell, it's almost always the next thing to follow <body> on my pages. And you know the code I write to interact dynamically with that table is a bitch. An unmaintainable mess. Yeah, there's probably some library out there I could use to simplify that pain but it always comes down to me messing around with advanced Javascript code trying to squeeze some more functionality into the user's interaction with that table. "Oh, I want this box to highlight red when this happens!" a user might say. Everyone wants a "simple table" with Google Spreadsheets functionality.

    So we switched a whole project to Flex once. Yeah, Flex. Free right? Not if you want the datagrid!

    Advanced DataGrid component -- The Advanced DataGrid is a new component that adds commonly requested features to the DataGrid such as support for hierarchical data, and basic pivot table functionality. Available only with Flex Builder Professional.

    Need to fork over cash for that gem. Oh, you can drone on and on about "vendor lock in" and "hidden costs" with Flash. Don't matter. Customer is king.

    My only hope is that HTML 5 presents a competitive datagrid with pivot table functionality. From their specs:

    The datagrid element represents an interactive representation of tree, list, or tabular data.

    HTML 5, I await you with open arms, hope and understanding. Improve the table element (if possible) and create a solid datagrid element. Deliver me from Flash.

    --
    My work here is dung.
    1. Re:My Kingdom for a Datagrid Element! by Anonymous Coward · · Score: 5, Insightful

      Datagrid or not, if your site requires flash for anything other than playing sound or video files, then it is more than likely I will not spend much time there.

    2. Re:My Kingdom for a Datagrid Element! by koala_dude · · Score: 5, Insightful

      "Now, I know a lot of people are going to argue with me, but the most important tag in HTML is . Every single graphical trick done to either speed up or sexify your web site is done with tables inside tables inside tables--it's tables all the way down!...When's the last time you laid out a site without a table element on every page?" Whoa, I haven't done than since IE4 / Netscape 4.7 days. I use tables for tabular data, very rarely for layout. I'm quite positive I'm not alone in this. While there are a number of Javascript-based datagrid controls available, it would be good to have some sort of standardized control as part of the standard definition.

    3. Re:My Kingdom for a Datagrid Element! by Mordac · · Score: 5, Informative

      When was the last time I didn't use a table tag on a page? Uh, today... the day before that, and before that.

      I use tables rarely and only for displaying data, never for formatting a page. I stopped using tables for design years ago, that's why we have CSS.

      I think its time for you to stop using tables for design. Tables lock your user into your content via your specific design. Flexibility and accessibility requires properly formatted CSS with divs and spans, knowing how to use floats and relative positioning.

      But yes, datagrid element will be great.

    4. Re:My Kingdom for a Datagrid Element! by DeafZombie · · Score: 2, Insightful

      But as someone who's thrown together more than a few web applications in my time, I'd like to talk to you about what I'm really excited about--the datagrid element. Now, I know a lot of people are going to argue with me, but the most important tag in HTML is <table>. Every single graphical trick done to either speed up or sexify your web site is done with tables inside tables inside tables--it's tables all the way down! When's the last time you laid out a site without a table element on every page? Hell, it's almost always the next thing to follow <body> on my pages. And you know the code I write to interact dynamically with that table is a bitch. An unmaintainable mess. Yeah, there's probably some library out there I could use to simplify that pain but it always comes down to me messing around with advanced Javascript code trying to squeeze some more functionality into the user's interaction with that table. "Oh, I want this box to highlight red when this happens!" a user might say. Everyone wants a "simple table" with Google Spreadsheets functionality.

      Well, although I am not one of the people who thinks people who use tables for layout should all go to hell, I do prefer to NOT use them. I can say that I've written a few web apps myself (and still do) and use tables only for data representation. And I am comfortable to say I am not alone... take a look at, for instance, /.'s source. Another beautiful example of tableless layout can be found at Zen Garden

      --
      The Binary Anti-Pattern [http://beyondboolean.blogspot.com/]
    5. Re:My Kingdom for a Datagrid Element! by aero2600-5 · · Score: 4, Interesting

      Hold on.

      You don't have to support IE? I must know what this job is. Please? I do not wish to become known as the IE Developer Serial Killer. What do you do for a living? Seriously. I would take a 20% pay cut to not have to support IE.

      Aero

      P.S. I can't believe anyone still uses table for layouts. GP is a troll.

      --
      Please stop hurting America -- Jon Stewart
    6. Re:My Kingdom for a Datagrid Element! by phantomfive · · Score: 2, Insightful

      How do you handle centering objects vertically inside divs?

      --
      Qxe4
    7. Re:My Kingdom for a Datagrid Element! by hesiod · · Score: 4, Insightful

      CSS has some nasty cross-browser problems that tables do not, making them far easier than CSS for many things, assuming you can do them in CSS at all.

    8. Re:My Kingdom for a Datagrid Element! by ericlondaits · · Score: 4, Informative

      TABLES have nasty cross-browser issues when combined with CSS, and it's ridiculous to program without CSS for formatting. I recently had to return to my old table-layout ways for an HTML newsletter (HTML mails have to be done the old fashioned way because CSS support in mail programs and webmails is 'less than stellar') and experienced long lost pain and anguish from it.

      I used to do real complex layouts with tables, graph paper and a simple text editor (even before Photoshop sliced images for table layouts) and I'm glad I have CSS now. The only exception would be using a table with a single cell for vertical alignment now and then, but that's just a small hack. Everything else can be done simpler with CSS.

      As for the main topic, I say: not yet... I'm all for replacing Flash with DHTML and do so every chance I get... but it's still to slow and jerky compared with flash animation for smooth scrolling and fx.

      --
      As a Slashdot discussion grows longer, the probability of an analogy involving cars approaches one.
    9. Re:My Kingdom for a Datagrid Element! by mustafap · · Score: 4, Funny

      >You don't have to support IE? I must know what this job is. Please?

      He works for the FSF.

      --
      Open Source Drum Kit, LPLC deve board - mjhdesigns.com
    10. Re:My Kingdom for a Datagrid Element! by omnichad · · Score: 2, Insightful

      vertical-align: middle;

      Or how about:
      margin-top: auto;
      margin-bottom: auto;

      Should I go on?

    11. Re:My Kingdom for a Datagrid Element! by MisterSquid · · Score: 4, Interesting

      I'm with you on the WTF about the "tables everywhere" rant. Just because eldavojohn is stuck in 1996 doesn't mean everyone else is. Some of us read and understood Chapter 10, "Floating and Positioning," of Eric Meyer's Cascading Style Sheets, The Definitive Guide .

      --
      blog
    12. Re:My Kingdom for a Datagrid Element! by xonar · · Score: 2, Insightful

      In my various attempts to use vertical-align: middle; it's never worked :/

    13. Re:My Kingdom for a Datagrid Element! by phantomfive · · Score: 2, Informative

      Sure, keep going. I just tested in Firefox and neither of those work.

      --
      Qxe4
    14. Re:My Kingdom for a Datagrid Element! by jonbryce · · Score: 4, Funny

      He doesn't have to support IE, but he does have to hand code his pages using emacs.

    15. Re:My Kingdom for a Datagrid Element! by jalefkowit · · Score: 4, Insightful

      I don't understand this statement "Tables lock your user into your content via your specific design" in that, how else are they going to view it?

      Through a screen reader, maybe? In which case your table layout will completely fail, because screen readers expect the contents of TABLE tags to be, you know, tabular data.

      You need to understand that blind and vision-impaired people will be among those "viewing" your page, and design accordingly.

    16. Re:My Kingdom for a Datagrid Element! by Tumbleweed · · Score: 4, Funny

      Of course, I've also been incredibly lucky in that I don't have to support IE

      I just clicked on your 'Homepage' link, and I gotta tell ya - your site looks like it would work _perfectly_ in every version of IE ever made.

      Well done!

    17. Re:My Kingdom for a Datagrid Element! by EvanED · · Score: 2, Insightful

      Not just that, but it may not even be necessary for the device to do anything terribly smart. If you can detect that it's a mobile device on the server-side, you can feed it a different style sheet that will change how it displays so it's more mobile-friendly. Same content, different CSS.

      Try that with your nested tables.

    18. Re:My Kingdom for a Datagrid Element! by omnichad · · Score: 2, Informative

      Look it up yourself:
      http://reference.sitepoint.com/css/vertical-align

      IE 5.5+ supports middle, but both IE and Firefox have trouble with anything but top, bottom, and middle.

    19. Re:My Kingdom for a Datagrid Element! by spiffyman · · Score: 2, Informative

      Thing is, a lot of slashdotters have the "luxury" of ignoring this fact. I cut my web app teeth working for a public university, so this stuff has been seriously ingrained into our policies. We still have a ton of legacy stuff to bring into the 21st century, but I don't know of a shop on campus that thinks tables are an okay way to do layout. And when you do use them, you use them with properly scoped <th>s, etc.

      I wish more people did work for the government or maybe accessibility-related NGOs. It was a good way to go - learn how to do it the "hard" way, and the "easy" way looks awful.

      --
      So you can laugh all you want to...
    20. Re:My Kingdom for a Datagrid Element! by asdf7890 · · Score: 3, Interesting

      Whoa, I haven't done than since IE4 / Netscape 4.7 days. I use tables for tabular data, very rarely for layout. I'm quite positive I'm not alone in this.

      More-or-less. I try to keep everything pure these days (tables only for purely tabular data) but I will often hit things that I want to do but can't do any "proper way" that works well in all the browsers I try to support (at least IE6/7/8 and FF3 sometimes with the addition of Chrome, FF2 and others if I have time to test in them).

      I use this technique in such cases: http://giveupandusetables.com/ - try to do things "right" for a while, but avoid spending hours banging my head against it when I could be using the time for something more useful.

      I would like to just be able to tell users to "upgrade to a decent browser or put up with things not looking right" instead of fighting to support older user agents like IE6 (heck, at work we sometimes even have to give time to making sure stuff doesn't break overly in IE4!) but unless you are targeting a very specific subset of people with the design that just doesn't wash, so using tables for layout sometimes has to happen.

      Often it is possible to compromise, like accepting a slightly different arrangement that can be made to work well generally without to many bad-browser-specific hacks in order to avoid resorting to a table, or accepting that things are a little odd (or just different) in some browser as it looks/works OK anyway, but again this is not always possible.

    21. Re:My Kingdom for a Datagrid Element! by phantomfive · · Score: 2, Informative

      Thanks, but I just tested in Firefox and Safari and it didn't work.

      --
      Qxe4
    22. Re:My Kingdom for a Datagrid Element! by Hurricane78 · · Score: 3, Interesting

      No. Because if you even so much as think about layout and design, while writing HTML, you already have proven yourself to be an amateur.

      (X)HTML is pure semantic structure and content. No layout or design involved. If you do it anyway, you are doing spaghetti hacks. Why do you think the <i> tag got replaced by the <em> tag, etc?
      CSS is the language for layout and design.

      I really like that, because it extends the MVC pattern somehow. You now can split the view into data, structure and visuals.

      I think all applications should be developed in that separated way. It would be much cleaner than to program the UI layout manually.

      --
      Any sufficiently advanced intelligence is indistinguishable from stupidity.
    23. Re:My Kingdom for a Datagrid Element! by phantomfive · · Score: 3, Insightful

      You know what, if it were truly possible to divide content from the presentation, I would be the happiest man in the world right now. The unfortunate reality of the matter is, it's not, at least with the current incarnation of CSS and HTML.

      At the end of the day, on most websites, the thing that matters IS the presentation (otherwise the only tags we'd need were h, a, and p). If you can't align one image correctly next to another one, then that is a problem. If you have to sacrifice your design vision at all, then that is a failure of the system. No one coming to your website cares if you've managed to separate the design from the content, that is purely a matter of making life easier for the programmer. If the system can't support the design vision, then it has failed.

      Although I do like the idea of CSS, it's the implementation that has failed. Also, it would be great if we could have variables. As in $text="Put your long interesting content here" and then be able to put it anywhere you want on the page. It would be so much easier to read and move stuff around that way.

      --
      Qxe4
    24. Re:My Kingdom for a Datagrid Element! by Qzukk · · Score: 2, Interesting

      That's because nobody has sat down and written a comprehensive guide to get developers from "everything you know is wrong" to "now you're doing it right" (if there is, they need to do a better job of getting it listed on Google). Sure, if you search around long enough you'll find how to do a specific "wrong" in a standard-compliant way, but that requires you to know that you were doing it wrong in the first place.

      I didn't know until I started validating my pages that

      [table]
        [form action="cart.php"]
          [input type="hidden" name="productid" value="133239"]
          [tr]
            [td][img src="133239.jpg"][/td]
            [td]Valid HTML for Invalid Developers[/td]
            [td]A. Nonymous[/td]
            [td]This valuable tome will teach you how to the right way to do everything you've always been doing wrong. A must have for "experienced" web developers![/td]
            [td style="money"]$36.52[/td]
            [td][input name="quantity"][/td]
            [td][input type="submit" name="buy" value="Buy Now!"][/td]
          [/tr]
        [/form]
      ... etc

      was invalid, and I *still* don't have a decent answer about how to go about doing this in a valid way. Choices so far are:

      1. Do something entirely different instead of using tables for tabular information
      2. Don't have a separate quantity and buy button columns (or make selecting "more than one" an additional step) and put the form inside the cell (along with a [div] to hold the contents because [form] demands specific elements inside of it for some arbitrary reason, and while Firefox lets that slide, IE renders extra linebreaks for the opening and closing form tags if you disobey)
      3. Or, make one giant form cover the whole table, have hidden inputs for quantity and productid outside of the table, and have the buy button run javascript to update the hidden variables then submit the form
      4. Use [a] to manipulate the cart with GET commands and make a killing off of unobservant users with link pre-fetching or overzealous antivirus apps (assuming that they manage to order before the "remove" links take everything back out of the cart)
      5. Use display:table-* and ignore the segment of the market that can't render it (and if table-* is really just [tr][td] all over again, is [form][table-row][input][table-cell] really valid?

      Of note is the fact that [form][input type="hidden"] is itself invalid, making automatic generation of forms awkward.

      --
      If I have been able to see further than others, it is because I bought a pair of binoculars.
    25. Re:My Kingdom for a Datagrid Element! by phantomfive · · Score: 3, Insightful

      All else being equal, easier == better.

      --
      Qxe4
    26. Re:My Kingdom for a Datagrid Element! by hairyfeet · · Score: 2, Informative

      Glad to see I'm not the only one. If I click on your site and the ONLY thing I see is a blank page with the plugin symbol(I don't allow flash to run by default) i just close the tab I have found that sites that have built the entire damned thing in flash have gotten about as irritating as those stupid "shoot the monkey and win an iPod!" ads. it is all bling bling and a royal PITA to get to the content. No thanks.

      If you can't design your site to where it can be navigated without having to deal with your bloated multimedia extravaganza it just isn't worth my time. I have better things to do than watch your spinning flaming logo while the trumpets blare and explosions go off for ten minutes just to get to the stupid navigation bar. The worst have to be the sites set up to support a game. You have to wade through all the commercials and bling bling BS for a game you already own just to see if there are any patches or add ons available. Just fricking irritating as hell.

      --
      ACs don't waste your time replying, your posts are never seen by me.
    27. Re:My Kingdom for a Datagrid Element! by INowRegretThesePosts · · Score: 5, Insightful

      Datagrid or not, if your site requires flash for anything other than playing sound or video files, then it is more than likely I will not spend much time there

      Absolutely. And it is not just for being unavailable to disabled people, slow, insecure, buggy, destroyer of the control a user has about the navigation (top-of-the-head example: if a menu is implemented in flash, how do you choose whether to open a menu entry in a new tab or new window?), bandwidth-wasting, proprietary, restricted and not class-platform; it is also about the content.

      There is a very strong negative correlation between the usefulness of a site and the amount of bling in it.

      https://www.cia.gov/library/publications/the-world-factbook : no Flash; javascript unnecessary
      http://www.c-faq.com/ : no Flash; no javascript
      http://news.google.com/ : no Flash ; javascript not necessary
      http://news.bbc.co.uk/ : Fash restricted to the videos ; javascript unnecessary

      Now compare this to a typical teenager-oriented website: even menus are Flash. They choose Flash both
      for things that make 0 sense being flash (like menus) and for things that may be easier with Flash, but are almost always a big waste of time. They think a website needs to animate every other element.

      The one positive aspect in Flash is that it its use warns you against the quality of the content before you waste your time loading and reading it.

    28. Re:My Kingdom for a Datagrid Element! by h4rm0ny · · Score: 2, Informative


      Goto's are a tool. They just happen to be a tool that has greater potential for misuse than most other control structures in programming. So if you know what you're doing, it's fine to use it. But most people don't know what they're doing, so goto's have become generally frowned upon. And justifiably so, because that greater potential for abuse is really greater. Goto's in compiled code (or if you're actually writing in assembler) are fine because compilers (or people who write in assembler), pretty much always know what they're doing. But the further from the metal you climb, the less this is true. No-one wants to debug code riddled with goto's and seldom is code in C or more modern languages well structured if it's written with goto's.

      So maybe you don't get the "goto's" are bad because you really know what you're doing and see it as just a tool to be used correctly. Try thinking about lots of people using the tool badly, and you'll get it. ;)

      --

      Aide-toi, le Ciel t'aidera - Jeanne D'Arc.
    29. Re:My Kingdom for a Datagrid Element! by Godwin+O'Hitler · · Score: 2, Insightful

      #centered-element {

              position: absolute;

              top: -50%;

              left: -50%;
      }

      Would it really have broken CSS if they'd included something like

      #centered-element {

              position: centered;
      }

      or even

      #centered-element {

              position: absolute;

              center: 0;

      }

      Having to know and use arcane stuff like margin:auto is totally absurd.

      --
      No, your children are not the special ones. Nor are your pets.
  2. I'll say it, then. by Gary+W.+Longsine · · Score: 5, Insightful

    Kill flash. Kill it stone cold dead.

    --
    If you mod me down, I shall become more powerful than you could possibly imagine.
    1. Re:I'll say it, then. by qortra · · Score: 5, Insightful
      Mods: Flamebait, really? I resonate so much with this sentiment. Some mortal sins of flash:
      • Proprietary
      • *Extremely* poor client support from Adobe. Example: still no stable version of native 64-bit flash for all platforms. Seriously, it's 2009 people.
      • Often, the lack copy/paste using the browser
      • Often, the lack of the ability to save presented media (images,videos) using the browser
      • The difficulty of crawling/indexing sites with flash content

      One might argue that Adobe should just solve these problems. However, Flash has been around for quite a while - if they haven't fixed these things by now, are they really ever going to? I think not. So, I agree with Gary: can we please start killing it now?

  3. Options by aero2600-5 · · Score: 3, Insightful

    More options is always a good thing.

    But I can't imagine HTML 5 being capable of something like this.

    Aero

    --
    Please stop hurting America -- Jon Stewart
    1. Re:Options by hesiod · · Score: 5, Informative

      Except for the music controls, just about everything on that page can be done with current HTML/CSS/JS now.

    2. Re:Options by Randle_Revar · · Score: 2, Informative

      That is nothing. Like everyone else said, you can do everything except the music control without HTML5 (though 5 might make it easier).

      If you want to see what HTML5 can do, look at this:
      http://www.w3.org/2009/03/web-demo.xhtml

      and this:
      http://standblog.org/blog/post/2009/04/15/Making-video-a-first-class-citizen-of-the-Web

      Admittedly, these are not exactly real-world use cases, but they do show the potential.

  4. "A nice company"? by twidarkling · · Score: 3, Informative

    "I like Adobe â" they're a nice company,"

    Has he actually used any of their stuff? Apparently not. Also, according to my friend who works in a Flash coding shop, they can real pricks occassionally.

    --
    Canada: The US's more awesome sibling.
    1. Re:"A nice company"? by afidel · · Score: 2, Insightful

      Adobe gave us PostScipt, PDF, and SWF formats as open standards, that alone gives them the nice company seal from me =)

      --
      There are 4 boxes to use in the defense of liberty: soap, ballot, jury, ammo. Use in that order. Starting now.
    2. Re:"A nice company"? by afidel · · Score: 4, Informative

      PDF is an ISO standard, SWF is now completely open and much of the related technologies are in the process of being opened, see here. Postscipt has always been fully documented and third party interpreters have been available. I can't find any reference to Adobe threating to sue over Postscript so while it might not be a formal standard it's effectively open (see Ghostscript).

      --
      There are 4 boxes to use in the defense of liberty: soap, ballot, jury, ammo. Use in that order. Starting now.
  5. All I need to know about HTML 5 by Jorkapp · · Score: 4, Funny

    <first post />

    --
    Frink: Nice try floyd, but you were designed for scrubbing, and scrubbing is what you shall do.
  6. Someday maybe. by LWATCDR · · Score: 5, Insightful

    How long until HTML 5 is supported in every browser?
    The "good" thing about Flash is that it is a plug in. Flash can be added to just about every browser by downloading a plug in.
    HTML 5 will take a lot longer to get into every browser.
    I really don't like Flash or plug-ins but in this case it is an advantage and will be for a long time to come.
    Oh and NOBODY except Slashdot will write to a standard that IE doesn't support.

    --
    See my blog http://ilovecookes.blogspot.com/ for light hearted technical information.
    1. Re:Someday maybe. by Locke2005 · · Score: 2, Interesting

      Flash can be added to just about every browser by downloading a plug in.

      Really? Please send me instructions for adding Flash 9 to the Opera browser running on my Wii, or the browser running in my Android G1 phone. I think you mean "Flash can be added to just about every browser running in Windows or MacOS on an X86," which is a considerably smaller set of supported devices. The PC has peaked; the future is internet appliances. When will people stop assuming browser = PC?

      --
      I've abandoned my search for truth; now I'm just looking for some useful delusions.
  7. Hey Microsoft by Chlorine+Trifluoride · · Score: 4, Funny

    We were just thinking that, if you were to hold off on implementation of HTML 5 in MSIE, we might, uh, contribute to your re-election campaign.

    Sincerely,
    Adobe

  8. Flash uses by Parker+Lewis · · Score: 5, Insightful

    In current days, Flash is only used to:

    - Casual games;
    - Boring add banners, like "hit the monkey";
    - Video players;
    - Webpages menus, when the designer has no know-how to use CSS/Javascript.

    Excluding games, all uses can be replaced by web-standards (even videos, in next-generation browsers).

    1. Re:Flash uses by Anonymous Coward · · Score: 2, Interesting

      "- Webpages menus, when the designer has no know-how to use CSS/Javascript."

      I disagree.

      Flash is a wonderful tool for designers. They can create web sites exactly like they want.

      Converting their initial design to HTML/CSS means a considerable waste of time, plus they always have to make tradeoffs because that feature isn't cross-browser and that other one requires high javascript skills.

      Or they have to work with someone else. A guy that spends days trying to convert a design made with Photoshop into HTML/CSS. And the result is often not comparable. And the poor designer depends on the HTML/CSS guy, he can't change a single button in seconds by his own.

      Two paths are currently drawn. The first one is HTML5/CSS3. It has some advantages over Flash (mainly: accessibility), but from a designer point of view, it's utterly complicated, it just doesn't exist yet and in its current state, it doesn't even compare to what Flash was 5 years ago.

      The second path is drawn by products like Adobe Catalyst and its Silverlight counterpart (sorry, I forgot the name). I saw a demonstration of these and it blew my mind. A designer can finally take over what the final result will look like. He can make an all working draft of the web site right off Photoshop. I couldn't imagine how long it would have taken to create the same result as the demo with HTML/CSS conversion + Javascript + cross browsers testing.

      Both paths are interesting. But just as argentic photography and assembly coding are now niches, HTML/CSS could also slowly die. Because people just want something quick, easy, convenient, accessible to non-techies as along as the end result barely works.

      People usually don't like Flash for 3 reasons:
      - because they only associate Flash to intrusive ads or to badly programmed stuff.
      - because they never actually used Flash / Flex
      - because they swear by FOSS. "Flash sucks, it's proprietary". But to tell the truth, Flash shows a failure of opensource. The Flash format isn't closed at all. There are even excellent languages+compilers that produce Flash files, the best example being haXe. And there have been several attempts at making opensource Flash players but they all failed. Oh of course, Swfdec and Gnash can barely play Youtube videos, but they are far far far from being replacements for Flash 10, yet Flash 9.
      Company A releases a product only for some OS and only closed-source. Fair enough, that's its own choice and right. But they release specifications. FOSS crowd grims "grmbl, doesn't work on OpenBSD, grmbl, doesn't work on HaikuOS..." So what? Just like 99.9999999% of commercial software out there, because companies don't make people work without giving them a salary. So they expect ROI. This is not rocket science. Anyway, FOSS crowd is like "ok, fear Adobe, we're working on open-source players". Hope make people happy, but these open-source players just don't compare with Adobe's, and there's a long road before they do. So what? Instead of acknowledging the failure, FOSS crowd is like "ehm... Flash sucks, it's proprietary, it should be avoided, let's reinvent the wheel..."
      Meanwhile, Adobe keeps improving it. The Flash VM isn't a bad piece of technology, and stuff like Alchemy are quite exciting.
      I really think that points of views would have been different if a great open-source Flash implementation existed. People would describe Flash as a wonderful cross-platform VM, GUI and Toolkit. It would have been ported to every mobile device. Everybody would enjoy it. Except HTML/CSS guys who can't code nor design, and who would have to convert, just as argentic photographers had to learn how to use Photoshop.

  9. Nor should it be.... by wowbagger · · Score: 2, Interesting

    "But I can't imagine HTML 5 being capable of something like this"

    Nor should it be. That's like saying my car should be able to traverse water too. There are tools for crossing water and tools for crossing land - and they are usually different.

    But for simple "Here's a video of my cat yodeling" or "here's a sample of the music file you are about to download" you SHOULDN'T need a plug-in any more than you need a plug-in to view a picture (with apologies to the Lynx users among us).

    However: there is no way HTML5 will replace Flash even for those sorts of applications until a large enough set of installed browsers can properly handle HTML5 that webmasters can safely ignore the hold-outs - and even if a large meteor were to strike a certain city in the American northwest that installed base will be quite some time in coming. Flash already has that installed base (modulo the iPhone and a few embedded devices).

    Now, if you can make it such that HTML5 can be used to ram annoying advertising down our throats while denying us the ability to save the content we WANT to save - well then, I predict adoption to be swift and sure.

  10. Disappointed. by camperdave · · Score: 2, Funny

    I'd like to talk to you about what I'm really excited about--the datagrid element.

    I'm disappointed. I read that as the datagirl element, and I figured the link would take me to some lady's web design howto page, filled with examples, essays, rants, etc.

    --
    When our name is on the back of your car, we're behind you all the way!
  11. JavaFX by javacowboy · · Score: 5, Informative

    JavaFX may be trailing Flash and Silverlight, but it's the only RIA framework that has a snowball's chance in hell of being open sourced.

    It supports charting, animations, and rich media. Version 1.5 is rumoured to have support for complex form controls, just like Flex.

    What's more, it's totally integrated into the Java Virtual Machine, meaning it can use all of the Java class libraries. It even has a mobile component, meaning it's possible to port applications between the desktop and supporting mobile platforms.

    To me, this single runtime sounds like a much better alternative that the kludge that is HTML/CSS/JavaScript/AJAX support a multitude of IE6/IE7/IE8/Firefox/Safari/Chrome/Opera browser runtimes, especially if there's no framework behind them.

    --
    This space left intentionally blank.
  12. In MOST ways you don't need Flash by smooth+wombat · · Score: 5, Insightful

    "In some ways, you may say you don't need Flash."

    I can't tell you how many times I've come across a site which uses Flash to show a single, individual picture. Not a stream of pictures. Not a mosaic of pictures. Not a slideshow of pictures. One picture.

    WTF? You're telling me it's easier to code a Flash object to display that one picture than it is to throw in a link to the picture? Seriously?

    Then you have those sites which insist on having their front page as Flash-only. Brilliant. Just brilliant. How the hell am I supposed to find anything on your site if there is no way to save that link for future reference?

    Flash is ugly, slow and just plain annoying. Almost as annoying as punch the monkey. Web designers who rely on Flash to do their work should have their knuckles pounded with a five pound cast-iron doorstop dropped from a height of ten feet then made to punch a punching bag.

    Hopefully HTML 5 will cure the web of this illness.

    --
    We will bankrupt ourselves in the vain search for absolute security. -- Dwight D. Eisenhower
    1. Re:In MOST ways you don't need Flash by Anonymous Coward · · Score: 2, Informative

      I can't tell you how many times I've come across a site which uses Flash to show a single, individual picture.

      Most of the time I've seen this done it's to prevent casual downloading of the picture. If you put the image up in straight HTML, anyone can Right Click->Save Image As. If you embed it in a Flash object, it's much harder to grab the image.

      Unless HTML 5 has a way to prevent casual copying, that usage is not going away.

    2. Re:In MOST ways you don't need Flash by Miffe · · Score: 5, Informative

      The reason people do this is is to stop you from right clicking on the image and saving it.

    3. Re:In MOST ways you don't need Flash by diegocgteleline.es · · Score: 3, Funny

      Flash is ugly, slow and just plain annoying.

      That's stupid. Flash is great. Flash is the magic that makes youtube possible. I'm all for replacing it with HTML5, but it still is one of the most important pieces of the web.

    4. Re:In MOST ways you don't need Flash by JoeytheSquid · · Score: 2, Insightful

      Don't just blame the designers, plenty of times it's the clients too. I've been a web designer for the last decade and to this point I've never once built a "Flash website". However I get asked to do this several times a week. In fact I just walked out of a meeting where the client wants one of those live video gimmicks where the spokesperson walks onto the screen and starts speaking, "Hello and welcome to our website." Because everyone loves talking websites, am I right?

      As a developer this leaves me with two options. I can roll over, take the extra cash and add in the bells and whistles or I can try to keep the project grounded and focused on things like content, usability and SEO. The problem is you can only argue the point so much and, I'm sorry, but usability, just isn't sexy. Moreover when I refuse to give the customer the giant animated American Flag with their favorite Toby Keith song playing in the background, they'll shop around until they find a developer who will.

      So the next time you come across an obnoxious website, curse not only the developer who built it, but also the client who approved it. :-)

    5. Re:In MOST ways you don't need Flash by selven · · Score: 4, Insightful

      Screenshots + 10 seconds in GIMP?

    6. Re:In MOST ways you don't need Flash by jollyreaper · · Score: 2, Insightful

      The reason people do this is is to stop you from right clicking on the image and saving it.

      Printscreen > paste into gimp > crop and save, mofo's! Feels good every time I do it.

      --
      Kwisatz Haderach
      Sell the spice to CHOAM
      This Mahdi took Shaddam's Throne
    7. Re:In MOST ways you don't need Flash by grassy_knoll · · Score: 2, Insightful

      And that works because screenshots are hard? o_O

    8. Re:In MOST ways you don't need Flash by Wraithlyn · · Score: 2, Interesting

      He did say "casual".

      Joe Average User is not going to crop and save a screencap using image editing software.

      --
      "Mind, as manifested by the capacity to make choices, is to some extent present in every electron." -Freeman Dyson
  13. Adoption beyond Flash by Tronster · · Score: 2, Insightful

    HTML5 has a lot of potential, but adoption above and beyond Flash (or Silverlight, etc...) will depend on 2 factors:
    1. Implementation Penetration
    2. Authoring Tools

    Flash's strength is in the tools more than the language(s), Actionscript and MXML. For every 1 Flash "programmer" I meet, I know about 10 people who know Flash well enough to make graphics and simple script work on the time line.

    If a majority of the browser users have HTML5 support, and a killer app exists for editing content; I would then put weight towards the possibility of HTML5 trumping Flash.

  14. Don't need Flash? by CopaceticOpus · · Score: 4, Funny

    I kiid, kiid. I like Adobe -- they're a nice company... for me to poop on!

    </triumph>

  15. already available by Danny+Rathjens · · Score: 2, Interesting

    We've always been able to embed videos in web pages. The reason places started embedding them in flash was to make it more difficult to save/view the videos without loading up the whole page and/or to let them force ads before or after the video. And partly just because flash web "design" people only have one hammer so every problem looks like a nail.

    1. Re:already available by Tyler+Eaves · · Score: 4, Insightful

      Don't twist history. The reason flash took over web video is because vistors tired of WMV/QT codec hell.

      --
      TODO: Something witty here...
    2. Re:already available by iluvcapra · · Score: 2, Interesting

      The reason flash took over web video is because vistors tired of WMV/QT codec hell.

      I have quicktime movies from 1993 that still play just fine now, and MP4s have been playable on just about any system for the past 3-4 years... Are you sure the popularity of embedded flash players had more to do with the fact that they forbid the user from downloading, thus providing highly effective copy protection?

      You can circumvent it to an extent, but it's just difficult enough that it prevents casual copying.

      --
      Don't blame me, I voted for Baltar.
  16. Really? by Osmosis_Garett · · Score: 2, Funny

    Why not just get in line over there, behind Silverlight, GoLive, and the rest of the systems that were going to 'kill flash'.

  17. "good" thing about flash is you can shut it off by guidryp · · Score: 2, Interesting

    Flashblock to the rescue right now.

    If they make aggravating crap out of of standard HTML, then it will likely be harder to shut down.

    1. Re:"good" thing about flash is you can shut it off by buchner.johannes · · Score: 4, Informative

      Why? You can already disable blink, javascript, images and many more "standard" elements.

      --
      NB: The message above might reflect my opinion right now, but not necessarily tomorrow or next year.
  18. Ignoring the 800 pound gorilla by 93+Escort+Wagon · · Score: 5, Insightful

    It's unlikely Internet Explorer will die any time soon. So unless the Microsoft developers somehow magically start putting together a browser that is current in support of web standards, Flash and its brethren will never die. It doesn't matter how great the HTML5 support is in Gecko (Firefox) and Webkit (Chrome, Safari) - as long as IE continues to lag, we're stuck ("we" meaning those of us who code pages for the real world).

    --
    #DeleteChrome
  19. Re:Vectors? by nog_lorp · · Score: 2, Informative

    http://en.wikipedia.org/wiki/Canvas_(HTML_element)

    SVG, an open vector graphics standard, is part of HTML5.

  20. SMIL? by cxreg · · Score: 2, Insightful

    Isn't this was SMIL was supposed to deliver? Is that dead now?

  21. Flash has another advantage by Trerro · · Score: 4, Insightful

    Flash is Flash. Period. If your Flash file works in IE, it works in FF, Opera, Safari, etc. It requires a plugin sure, but it's one that's almost universally adopted.

    By comparison just about everything else is developed in 2 phases:
    1. Write standards-compliant code that's well-formatted and works properly.
    2. Fix about 37,000 IE-only bugs, knowing that ~70% of your users are going to be viewing your site with that piece of crap. Additional time is required because IE6 and 7 aren't even consistent with each other in terms of how they piss on the standards. This is especially true with CSS, which IE is absolutely terrible with.

    I welcome HTML 5, as I think it has a lot of nice improvements, as well as a lot of stuff that should've been there years ago. We just have to pray that browser support - especially from MS - actually allows us to USE the new features on a regular basis.

    Also, one side note: Even assuming Flash is no longer used AT ALL for layouts or content delivery (and I hope it isn't), Flash movies and games will of course continue to exist... so Flash isn't going to die as some are saying, it'll simply be used for what it was actually designed for - creating animations and games.

  22. It has already begun by abhi_beckert · · Score: 5, Interesting

    I work at a web development company, and we are already starting to move away from flash and relying more and more heavily on javascript. The motivation is mostly because:

      a) the flash development tools are inferior to javascript ones
      b) every web programmer knows at least basic javascript, many don't know any flash. Easier to build on basic js than train someone in flash from scratch
      c) the flash development tools cost a fortune, the javascript ones are either free or very afordable

    In fact, just yesterday I wrote a javascript replacement for a flash script which we use on many of our websites. (a general purpose loop of photos, with animated transitions). The javascript alternative is smaller, faster to load, *smoother animated in most browsers*, and easier to maintain or improve on in future.

    We're also planning to do the same for other flash scripts in our code library.

    Even when we do still use flash, it's in smaller ways. We will virtually never build an entire page (let alone website) with flash, instead we'll do the website in html and then embed a tiny piece of flash.

    For example, a photo gallery will be pure html/javascript right up until the point where you click the "full screen" button. And even then, the flash doesn't exist in the page until you click that button, it is injected into the page and configured using javascript.

    There are still some places where we need flash: video, full screen, and proper file uploads. Video will be the next to drop off the list, pretty soon we'll be doing video in javascript/html, with flash loaded in as a fallback in browsers that can't do video in html.

  23. xhtml to die? by pizzach · · Score: 3, Insightful

    Sigh. I really hope that HTML5 is somewhat similar to xhtml. I really do believe it went in the right direction in general. Even with xhtml strict pages not displaying at all if they had some unclosed tags. It all in general was working toward having authors writing better, more interpolatable pages.

    Is xhtml dead? Will the applicable changes in html5 make it back to xhtml? I get the feeling that MS never implemented xhtml strict because they didn't want to drop the ability to extend it.

    --
    Once you start despising the jerks, you become one.
    1. Re:xhtml to die? by Blakey+Rat · · Score: 2, Insightful

      XHTML was nothing but a giant waste of time. Microsoft never supported it in IE, and when you think about it: why should they have? XHTML gives you absolutely nothing you didn't already have in HTML 4, it was just a bigger pain-in-the-ass to implement.

  24. Sarcasm much? by acidrainx · · Score: 2, Insightful

    I can't decide whether your post should be wrapped in <sarcasm> tags or not. Absolutely everything you have said goes against modern HTML/CSS/JS best practices. The table element should only be used for displaying... wait for it... tabular data!

    Also, why would you think Flex was free when there are clearly marked "Buy Now" links all over the Adobe product page? Yes there is a free SDK available, but anybody with any sense at all would know that Adobe is a company that makes money. I just don't know why you switched your whole project over to Flex when you hadn't even spent more than 5 minutes researching it.

    I'd like to know the name of the company you work for so that I can know to steer clear.

  25. Corporate intranet by tepples · · Score: 3, Informative

    You don't have to support IE?

    Corporate intranet. The organization is 80% Firefox, 10% Chrome, and 10% Mobile Safari.

  26. Elisp CMS? by tepples · · Score: 2, Informative

    he does have to hand code his pages using emacs.

    You just think he's hand-coding his pages. He's really using a website revision system (what's that?) written partly in Emacs Lisp.

  27. A beautiful pipe dream... by PortHaven · · Score: 3, Interesting

    Come on folks, let's be a bit realistic here. It's been what, nigh a decade, and we still do not have browsers properly rendering stuff as simple as tables and positioning using CSS, DOM, etc.

    And while granted that HTML5 may provide a nice alternative for embedding video and audio. If that's all you think Flash is for, than you've never done more than scratch the surface.

    Check out Flex, AIR, and some of the 3D libraries for Flash. Experiment with remoting. See what you can REALLY do in Flash.

    Check out Sliderocket for an example, or Aviary.

  28. Screen Reader Issues are Overblown. by weston · · Score: 2, Insightful

    Through a screen reader, maybe? In which case your table layout will completely fail because screen readers expect the contents of TABLE tags to be, you know, tabular data.

    You need to understand that blind and vision-impaired people will be among those "viewing" your page, and design accordingly.

    I'd be pretty surprised if screen readers simply and universally fail when they encounter tables that are used for layout. Many of them have existed for a long time, certainly back into the 1990s, and not being able to handle table layouts would have rendered them useless for most of the web for a long time. And while making distinctions between data and layout uses for tables may not be purely deterministic, it's hardly an intractable problem. Something as simple as Lynx has been able to make some distinctions since 1999, well enough that most of the web turns out to accessible using it. I can't believe there aren't screen readers who can't do at least that well.

    And if you can do that, what you mostly get without the layout table is generally a source-ordered linear reading of page sections corresponding to table cell... just like you'd get with any other document without repurposed table markup, albeit with sections determined by other tags. CSS gives you some flexibility in terms visual layouts you can create that aren't tied to the source order, which is nice, but it's hardly a disaster not to have this.

    My own observation is that it's other things that present real obstacles to page accessibility/semantics: navigation that's only visible via flash or javascript, images or other media without fallback text, abuse of HTML entities, lack of access keys. Table layout? Not so much.

    1. Re:Screen Reader Issues are Overblown. by fastfinge · · Score: 2, Informative

      Yup. The screen reader I use has had an option called "ignore layout tables" since 1995. It also allows me to ignore iframes (do you realize how many ads I miss, that way? Hardly need adblock!), flash, and various other tags and atributes, at my whim. It can even skip repeated text, in order to take me right to the page content; when I click a link on a page, it compares the new page with the old one, and places the cursor after any text that is the same on both pages. Works well to skip menus and other crap.

  29. HTML 5 As a Viable Alternative To Flash? by Jack+Sombra · · Score: 2, Insightful

    HTML 5 As a Viable Alternative To Flash? Not really, for one simple reason Flash/Silverlight are controled by their respective plug in's/api's and so forth. Thus no worrys about how something will render if one person is using one browser and another is using something else On the other hand, HTML is controled by the browser and each will do things a little different, either because they have not fully followed standards (MS) or they have added extras in a attempt to out do each other (all of them) Thus there will be always a place for things like flash/SL as with them content is delivered exactly as the designer/developer intended not how the browser decides to interpret it

  30. Does not work by Tweenk · · Score: 4, Informative

    You obviously haven't tried this...

    vertical-align: middle; only works like you think it does along with display: table-cell, but in some browsers it breaks horribly.
    For table cells it specifies vertical centering. For inline elements it specifies how to align them relative to the baseline of the containing text. For block elements it does nothing.
    http://phrogz.net/CSS/vertical-align/index.html

    margin: auto 0 has zero effect because of margin collapsing.
    http://www.researchkitchen.de/blog/archives/css-autoheight-and-margincollapsing.php

    --
    Those who would give up liberty to obtain working drivers, deserve neither liberty nor working drivers.