Drawing Blanks

Premature Optimization is a Prerequisite for Success

The place of HTML5 in Windows 8

with 2 comments

First, a rant. “HTML5” is a buzzword. When you hear people talk about “HTML5”, what they talk about is:

Canvas and WebGL, Plugin-free video, Excessive JavaScript, CSS3, HTML5

Most people don’t care about business app development. They mostly get excited about the ability to present graphics and video and to program simple games without plugins like Flash or Silverlight.

And those who do care about business app development got excited when they heard from Microsoft that HTML5 will be the language of choice in the WinRT (Metro App) framework. Well, people always get excited when someone promises them PORTABILITY. They just can’t stop believing in the Portability Myth.

Folks,

PORTABILITY DOES NOT EXIST. 

In particular, HTML5 in Windows 8 will NOT be a tool for developing portable applications. In fact, HTML5 is NOT going to be a Windows 8 app development tool at all. Take a look: http://msdn.microsoft.com/en-us/library/windows/apps/br229565(v=VS.85).aspx . Do you see “HTML5” mentioned anywhere in the documentation? Is this HTML5?:

<div style="display: -ms-box;">
     <div data-win-control="WinJS.UI.DatePicker"></div>
</div>

Folks,

The so called “HTML5 applications” on Windows 8 will in fact be developed using JavaScript, PROPRIETARY HTML EXTENSIONS that will allow you to use the WinRT PROPRIETARY controls and APIs, and some CSS3 for layouts (although you will mostly be using PROPRIETARY layout containers).

So don’t get excited about portability.

In fact, it’s going to be much easier to port applications between WinRT XAML, Silverlight and WPF than between WinRT “Html5” and in-browser Html5.

MS is introducing and hyping HTML5 only to attract developers who are used to JavaScript/DOM/CSS coding.

Advertisements

Written by bbzippo

11/20/2011 at 11:39 pm

Posted in programming

2 Responses

Subscribe to comments with RSS.

  1. 100% agree with you
    I was very confused about C#+XAML or CSS+HTML(5)+JS in windows 8
    After a couples of day trying different samples projects
    WinRT is what MS is pushing
    I better stick with JQuery y JQuary UI
    Thanks
    Sergio

    smabres

    05/18/2012 at 6:41 pm

  2. Hi There,

    I very much agree with you as of now. Well as of now date and datetime and time types are not supported in win 8 and i think still there are some works to be done from W3C standards for the same. May be once that is done. it might be supported in WIn 8 apps too.
    PS: The worst part is the app developed for Windows 8 using html 5 and javascript will not work in Windows 8 Phone without using some tools like phonegap…etc.

    Thanks
    Goutham

    Goutham

    10/31/2012 at 12:11 pm


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: