Linked by snydeq on Tue 16th Aug 2011 16:46 UTC
Web 2.0 InfoWorld's Peter Wayner discusses the 11 hard truths Web developers must accept in making the most of HTML5 -- especially those who are looking to leverage HTML5 in hopes of unseating native apps. 'The truth is, despite its powerful capabilities, HTML5 isn't the solution for every problem. Its additional features are compelling and will help make Web apps formidable competitors for native apps, but security issues, limitations of local data storage, synchonization challenges, and politics should have us all scaling back our expectations for the spec.'
Permalink for comment 485660
To read all comments associated with this story, please click here.
Member since:

I did learn the basics. I spent hours fighting with it trying to make it work (and mostly failing because it was far from intuitive). The only thing that learning the basics did was increase my desire to replace the entire "web" stack, from HTTP all the way up.

You probably were either learning from the wrong sources (VERY likely, lots of web rot out there) or failed to grasp how important semantic non-presentational markup is to using CSS properly. There's a saying I use a lot -- CSS is only as good as the HTML it's applied to. If you're still vomiting up HTML 3 style presentational markup (a disastrous mess that should never have been allowed in the first place) applying CSS is just going to result in a bloated mess. You start throwing classes and ID's on EVERYTHING instead of using one convenient parent tag and it's going to be a disaster as well...

Really though, saying the APPEARANCE on every element in the markup defeats the point of HTML -- saying what things are so the USER AGENT can best determine how to show it. As another saying goes "If you choose your HTML based on the default appearance of the tags, you're using HTML wrong!" -- and that dates back to HTML 2. We got away from that with HTML 3 during the browser wars, and HTML 4 Strict was supposed to drag us back on track. (and now HTML 5 is just 3 in drag, worse than 4 Tranny as it least it was on hormone therapy getting ready to go under the knife)

But then, the markup alone is where a LOT of people screw up their pages -- concentrating on the appearance before they even have semantic markup of the content (or a reasonable facsmile) with a logical document structure... That's the approach I've been advocating for design over the past half decade or so... Semantic markup of content FIRST -- that way you know it's accessibile to EVERYTHING with tags saying what things ARE. THEN bend that markup to your will creating the layout in CSS for each of your primary media targets -- Screen, Handheld, Print (and now screen+width for smartphones/tablets).... then and only then boot up the goof-assed paint program like Photoshop to create the graphics you'll hang on the layout. (and with CSS3 even that looks to get a swift boot in the patoot).

It's why I laugh at the people who end up with the "but I can do it in photoshop" idiocy where they had some artist draw a pretty picture, that's COMPLETELY non-viable as a website due to fixed height elements, fixed width elements, non-tileable or stretchable elements, and areas that can't even dynamically adjust to the content inside them.

Reply Parent Score: 2