Slashdot Mirror


In-Depth Look At HTML5

snydeq writes "InfoWorld's Peter Wayner offers a four-part series devoted to the new features of HTML5. Each article examines the evolving spec in-depth, focusing on canvas, video, audio, and graphics for display options, including the <canvas> and <video> tags, Scalable Vector Graphics, and WebGL; local data storage, including Web Storage, Web Database, and other APIs designed to transform Web pages into local applications; data communications, for cross-document messaging, WebSockets, and other HTML5 APIs that improve website and browser interactivity; and forms, for increasing control over data input and validation."

19 of 150 comments (clear)

  1. Re:The truth is by Microlith · · Score: 5, Informative

    Google and OSS people have to stop being like a little kid and accept that H.264 is already everywhere from mobile devices to GPU's and HDTV's and HTML5 will not get anywhere if it isn't used.

    They can accept it all day long and want to distribute software that will encode and decode h.264, but where do you expect for them to get the money for the per-copy royalties from? Of course, being unwilling to push software that is inherently un-free is acting like a little kid.

  2. Re:The truth is by pipatron · · Score: 3, Informative

    How do you figure they could license the patents? It's most probably legally impossible unless they write new browsers from scratch and then pay from their own pockets for everyone downloading their software. The ball isn't in the hand of the OSS people here.

    --
    c++; /* this makes c bigger but returns the old value */
  3. Re:Something I've never understood about HTML by WiglyWorm · · Score: 4, Informative

    You are thinking of title text. Alt text is intended for accessibility for screen readers and other non-image capable browsers. It is not a caption, it is an alternate .

  4. HTML5 figure and figcaption tags, perhaps? by Anonymous Coward · · Score: 3, Informative

    Actually, HTML5 (the topic of this story) does have support for 'photographs' and other figure content:
    http://www.w3schools.com/html5/tag_figure.asp

    And thus captions:
    http://www.w3schools.com/html5/tag_figcaption.asp

  5. I used to laugh at "web programmers" by erroneus · · Score: 2, Interesting

    I recall when the web was young people would claim "I program in HTML!" I was like "yeah, I can insert 'bold' and 'a' tags too..." In the beginning, HTML was nothing more than what the name says it is -- a markup language. (Of course "language" somehow means programming? No it doesn't...)

    Well, now things are different, of course. Web programming today is real programming for some... still markup for others. But now the web is becoming more than a presentation medium which is very exciting I think.

    1. Re:I used to laugh at "web programmers" by trollertron3000 · · Score: 2

      I'm still not in love with client technologies but I knew they were powerful when I first dug into "DHTML" and created an animation using nothing but html and js. Essentially it's still the same recipe, with server-side powering the whole thing. Good times.

      But yeah, agreed. I used to scoff at the title myself but these days I'm in awe at the power of "UI programmers" who well versed in both client side and design elements. They code JS, they do graphics, they know design, they write server-side web APIs, and they're experienced in "Rich Internet" development like Flash and Silverlight. It's downright impressive.

      --
      Tiger Blooded Bi-Winning Machine
    2. Re:I used to laugh at "web programmers" by H0p313ss · · Score: 2, Funny

      It's downright impressive.

      Until you start using it and discover it's all smoke, mirrors, duct-tape and baling wire.

      --
      XML is a known as a key material required to create SMD: Software of Mass Destruction
    3. Re:I used to laugh at "web programmers" by Lennie · · Score: 4, Interesting

      I don't know how it is in the US, a lot of the time this is all self-taught. Because pretty much no-one seems to teach HTML/CSS/JS/etc. properly in school/university and so on.

      Javascript is one of the most used programming languages and because it looks simple or familair most people assume it is, but in reallity it is the probably the least understood language by frequent developers. Most have no clue what prototypal inheritance is for example.

      Also the Javascript name is just a marketing ploy because it has nothing to do with Java.

      The core of the language is very small and was created and working in just 10 days.

      It is a functional programming language with a C-syntax.

      With the recent creating of node.js (a fully event-driven framework for writing network programs) Javascript has also become much more populair on the server.

      Node.js was created in 2009 and is already almost the most watched project on github.com for example.

      There introduction video where the creator/author explains what it is about:

      http://developer.yahoo.com/yui/theater/video.php?v=dahl-node

      So it is just an event-loop just like a webserver like nginx.

      One of the design goals is actually:

      The API should be both familiar to client-side JS programmers and old school UNIX hackers.

      I guess that applies to me twice. :-)

      --
      New things are always on the horizon
    4. Re:I used to laugh at "web programmers" by trollertron3000 · · Score: 3, Funny

      That's what's most impressive! It's like playing wack-a-mole with browser issues.

      --
      Tiger Blooded Bi-Winning Machine
    5. Re:I used to laugh at "web programmers" by roadsider · · Score: 3, Interesting

      As a web designer who started as a print designer before the web was invented and even before the advent of desktop publishing, this whole meshing of coding and designing represents a kind of repudiation of the concept of WYSIWYG.

      I took to the web design relatively easily, but only because HTML looked very similar to the same code used by the old digital phototypesetting machines made by Compugraphic, but early on, we all seemed to hope for that "killer app" that would finally get us away from the code. To me, designing a page in HTML was like doing a page layout working in Postscript. When GoLive and Dreamweaver finally appeared, that looked possible and some cases doable, but not with the advent of CMS. (Adobe destroyed GoLive and Dreamweaver is so complex, only a coder can figure it out, and a coder doesn't need it). Not really.

      And now, I look at HTML5 and I see WYSIWYG threatened even more. Seems like the technology is advancing faster than left-brain types like myself can ever keep up, or the design software industry (read Adobe) can accommodate them.

      I've never met a coder who knows a damn thing about design. I learned how to tinker with code just to stay employed, but the thought of designing in it makes my eyes glaze over.

  6. Re:The truth is by Rysc · · Score: 3, Insightful

    . Google and OSS people have to stop being like a little kid and accept that H.264 is already everywhere from mobile devices to GPU's and HDTV's and HTML5 will not get anywhere if it isn't used

    No. H.264 doomsayers like you have to stop being like a little kid and accept that a royalty-encumbered codec will never be accepted as the "one codec." No, seriously, *NEVER*. If you insist on one codec then you can forget about H.264; put it out of your mind, it doesn't exist.

    OSS people are not being pedantic or skinflints, it's just practical reality. It's "but H.264 has won!" people who need to wake up and smell some reality: H.264 is not nearly as permanently entrenched as you think it is. I'll take HTML5 with a mandated royalty-free codec over your "entrenched" de-facto standard any day of the week and twice on Sundays: in such a fight HTML5 will win nine times out of ten.

    --
    I want my Cowboyneal
  7. Re:The truth is by iluvcapra · · Score: 2

    Well, pushing software that has no hardware support and provides no clear advantage to the end-user over H.264 is.. something. Pushing it only because it'll allow your corporation to dictate by fiat the possible business models for web video, that's something too. OTOH, acting like something that is "inherently unfree" is worse, regardless of useful it is, is pretty childish.

    --
    Don't blame me, I voted for Baltar.
  8. Re:Who freaking cares by element-o.p. · · Score: 4, Funny

    :rolleyes:

    Because I was smart enough to care about emerging technology in high school and college instead of sex and drugs, I now have a well-paying job that provided me with a very, very nice house in one of the nicer parts of my town, the perfect motorcycle for my needs, an airplane, a late model truck and a (modest, granted) recording studio in one of the extra bedrooms in the aforementioned very, very nice house. As if that weren't enough, I have a smokin' hot wife and a daughter who makes life worth living, even if I didn't have any of the material possessions I mentioned first. Life is good. So, yeah, I'd say HTML5 probably will make some of us happy.

    YMMV. Keep drinking cheap beer and chasing skirts while living in your mom's basement if you want, but when you find yourself old, fat, broke and alone, you'll have no one to blame but yourself.

    --
    MCSE? No, sir...I don't do Windows. Yes, I am an idealist. What's your point?
  9. Re:Cool, but... by skids · · Score: 4, Insightful

    Well, despite the fact that XML and HTML are abysmal markup languages, they are a heck of a lot better and more consistent than the off-the-cuff designed-by-horses carnivals you find in PDF and other markup languages that started as internal document formats for proprietary word processors. Consistent design leads to more well organized, less complex code.

    In addition, since HTML5 is coming with declarative animation features embedded, and on the heels of active use of the DOM, it has to be designed with performance in mind -- so there's a counterweight for the tendency for bloat to accrue.

    That said, with HTML looking to become a "living standard" after HTML5 or in other words, complete anarchy, there will be space for a streamlined markup language to make gains again in another half decade or so -- if someone can finally produce something that doesn't suck for human readability and for complex relationships that transcend tree structures. Perhaps we will have the first popular non-textual markup language by decades end.

  10. Re:The truth is by GooberToo · · Score: 2

    Since you mention codecs, Google just released a version of VP8 for the WebM project. The improvements are noteworthy.

  11. Re:The truth is by PhunkySchtuff · · Score: 3, Informative

    H.264 is royalty free for Internet video that is free to end users (Internet Broadcast AVC) until at least December 31, 2016.
    You need to pay a small licensing fee to use an encoder which Google would have to do with all the videos they encode on YouTube, but as far as including the codec in the browser, it's completely free of charge for at least another 5 years - by which time we will have probably moved on to something better.

    Now is not the time to be pushing a private agenda, now is the time to get on board with established industry standards and get something more open into the next round.

    http://www.mpegla.com/main/programs/AVC/Documents/AVC_TermsSummary.pdf

  12. Re:The truth is by Lennie · · Score: 3, Insightful

    How do you think H.264 started out ? With zero hardware support, this is where VP8 was a few months ago. Now they have a few hardware manufacturers that ship VP8 built in. Any many said they would do the same. The whole H.264 / VP8 debate is also about looking at the future not just now.

    --
    New things are always on the horizon
  13. Re:The truth is by Anonymous Coward · · Score: 3, Insightful

    Would you buy a book written in disappearing ink?
    "It's fine, you can read it right now, no problem!" ?

  14. Re:The truth is by devxo · · Score: 2

    Not everything lasts forever. In fact, only few things do. You ate food yesterday and that ain't coming back. Nor is your ex-girlfriend. Sometimes you just have to move on and do other things.