With the recent buzz of Windows 8, Microsoft has yet again drummed up confusion around their vision for the future. In recent conferences the giant has hyped up HTML5 and will continue to do so at its upcoming conference in September. Amid all the hype, the speak of Silverlight and WPF is relegated to lunchtime chatter and conversation between bathroom stalls. So what is the future of Silverlight and WPF as well as the Windows desktop? Microsoft is being very ambiguous in its messaging and doing itself a disservice for either its lack of vision or lack of communicating its vision. On one hand, HTML is looking like the brand new baby that the parents and all the relatives are cooing over. But what about the other siblings standing in the back of the room. Surely Silverlight, WPF, and even the older siblings like WinForms and MFC aren't getting sent away.
Given all the existing speculation and rumors out there, I thought I would speculate a bit myself. So let's begin and see how this plays out.
Don't Upset the Ecosystem
First, let's take a lesson from history. Some may disagree, but on the average Microsoft has been pretty good about backward compatibility. Applications for the most part written against one version of Windows will work fairly well against the next version. Typically the biggest incompatibility is with drivers such as audio drivers and video drivers. The meat of most applications, especially business applications tends to stay in tact with relatively little overhaul. Microsoft tends to support its applications and operation systems well beyond the lifetime of the hardware that they run on. How long have we been scared about 64-bit processors and the compatibility of 64-bit Windows OS's with 32-bit applications? How much extra work did Microsoft need to go through to guarantee backward compatibility. They could have screwed their community and they didn't. Is this an accident? No.
Everyone keeps slamming Microsoft for its inability to penetrate the phone and tablet market, but lets not forget that it still owns the desktop market. Sure there it is clearly erosion on that front and unless Microsoft stays vigilant that lead might not be there forever, but it is still a lead nonetheless. Just because everyone wants Microsoft to throw in the towel on the mobile platform should they commit desktop suicide as well? How do they maintain that lead? Keep reading.
What would happen if HTML were the preferred development platform for Microsoft systems? Let's get really crazy and say that Microsoft will no longer support Silverlight or WPF in Windows 8 like some are saying. What of that. Let's be honest, the standards of HTML aren't exactly standards at least as implemented across the many platforms. Having said that, let us also pretend that the promise of writing an application in HTML will let it run anywhere, what then?
As a developer I can use Visual Studio to write and application that will minimize the need for one of Microsoft's larger revenue sources, its desktop OS. What does Microsoft make more money on? Developer tools or operating systems? I'm sure there is money in the tools, but the tools are both a revenue source but more importantly they are a key part in maintaining the Microsoft ecosystem. It creates the tools so you can write application for its desktop and its servers. Why would it take a move that makes one of its revenue sources a commodity? I would hope Microsoft is smarter than that.
As a developer I can use Visual Studio to write and application that will minimize the need for one of Microsoft's larger revenue sources, its desktop OS. What does Microsoft make more money on? Developer tools or operating systems? I'm sure there is money in the tools, but the tools are both a revenue source but more importantly they are a key part in maintaining the Microsoft ecosystem. It creates the tools so you can write application for its desktop and its servers. Why would it take a move that makes one of its revenue sources a commodity? I would hope Microsoft is smarter than that.
Keep It In the Family
With that, let's take another tangent that will help provide some clarity to the discussion. In a recent article I read that just like you can write an application for iOS and it will run on all the Apple devices so will you with write an application that run across multiple Windows devices. The preferred platform for Windows: HTML. I won't site the article out of disrespect, however it is a flawed analogy.
Apple wants people locked into their technology even more so than Microsoft. Sure you can run their applications on Apple devices, but you can't run it on an Android. Apple isn't using Objective C and isn't blocking embedded runtimes like Adobe Flash out of accident. Microsoft and Apple are both OS and platform companies, Microsoft won the desktop war years ago and Apple struck back in the war on mobile. Microsoft and Apple are very similar in their strategies albeit one is desktop oriented and the other mobile. The strategy: keep it in the family. In contrast you have Google who is a lot more loose on this strategy (if one can say Google even has a strategy). Does Google care about Android as a platform? Barely. If it did I wouldn't have gotten frustrated halfway through the authoring of this article on my Xoom running Android using a Bluetooth keyboard only to go to my Windows 7 laptop to finish the article. But that frustration is a topic for another post.
Apple wants people locked into their technology even more so than Microsoft. Sure you can run their applications on Apple devices, but you can't run it on an Android. Apple isn't using Objective C and isn't blocking embedded runtimes like Adobe Flash out of accident. Microsoft and Apple are both OS and platform companies, Microsoft won the desktop war years ago and Apple struck back in the war on mobile. Microsoft and Apple are very similar in their strategies albeit one is desktop oriented and the other mobile. The strategy: keep it in the family. In contrast you have Google who is a lot more loose on this strategy (if one can say Google even has a strategy). Does Google care about Android as a platform? Barely. If it did I wouldn't have gotten frustrated halfway through the authoring of this article on my Xoom running Android using a Bluetooth keyboard only to go to my Windows 7 laptop to finish the article. But that frustration is a topic for another post.
Microsoft needs to keep its developer community and its tools fresh, so it must support HTML authoring, but at the same time it cannot compromise its desktop proposition. Part of that strategy needs to create value in its OS. Sure, one (rather huge) facet that is a requirement nowadays is that the OS is designed for touch. Touch isn't everything though, at least in the long term as we'll see a bit later. Before we get into that, let's first talk about my recent experiences with HTML5.
HTML5: Evolution of the Crocodile
Recently I purchased a book on HTML5 and CSS thinking that I would be flooded with knowledge that will take my web application programming to the next level. Having programmed both desktop and web applications for many years I was hoping for something new and exciting. What I got was a resounding, "Huh?" I had trouble completing the book and due to no fault of the authors. How can you drag a whole lot of nothing across two hundred pages of text. These were my main takeaways:
HTML5: Evolution of the Crocodile
Recently I purchased a book on HTML5 and CSS thinking that I would be flooded with knowledge that will take my web application programming to the next level. Having programmed both desktop and web applications for many years I was hoping for something new and exciting. What I got was a resounding, "Huh?" I had trouble completing the book and due to no fault of the authors. How can you drag a whole lot of nothing across two hundred pages of text. These were my main takeaways:
- You can access the file system
- You can store a (very) limited amount of data and that will vary by browser
- You can draw graphics directly and that will vary by browser
- You can play video natively with the media tag and that will vary by browser
The first thing I thought was, "Wow! I just stepped out of Mr. Peabody's way back machine." I've been doing those things for the last 18 years of my career and a good 8 years before that as a child. The book spent a whole chapter on video encoding and optimizing for playback across browsers. You would have thought the #1 thing applications do is play video. I guess that is what drove the early Internet though, so it kind of makes sense, but I won't go down that dark alley.
Honestly, I was hoping that HTML would include two key pieces usually satisfied by third party libraries. One is some kind of data-binding model (preferably something like the one in XAML). The second is support for an HTML element called a signature that posts a base64 encoded image. Sadly I found neither.
In today's heavy consumer and social oriented society it is easy to think that Facebook is an application, or that Angry Birds is actually a video game, but there are plenty of applications in this world that need to interface with other hardware such as scanners, medical devices, or even with one another at a desktop level. And while video is cool, it isn't as relevant in the business community.
This is no surprise however. Citing one of my favorite books again, Innovators Dilemma, one characteristic of a disruptive technology is that it is usually cheaper to produce with typically lower quality or features but has some characteristic that causes it to displace legacy technologies. One could claim mobile devices and tablets are such a technology. The slight irony however is that the disruptive technology will continue to move upmarket and increase in features and price until such time it exceeds the features of legacy technologies. What is that mean for HTML and Mobile? It means that mobile is evolving into the desktop. And who currently owns the desktop? Microsoft. Given this ultimate evolution of mobile technologies evolving into their desktop counterpart, I will make a bold statement. Most say Microsoft is getting left in the dust, I say that Microsoft is ahead and may not even know it.
Grand Unification Theory (GUT)
I'm not suggesting that our tablet devices are suddenly going to sprout 250 watt power supplies with Blu-ray players and Sound Blaster video cards. What I am saying is that if the mobile market is to swim upstream it is going to have to start handling device level integration, and much richer business applications that currently HTML cannot handle. Even video games will evolve upstream from the simplicity of Angry Birds to the complexity of Final Fantasy Online.
So why is Microsoft ahead? To do this we'll have to get another history lesson, this time in Microsoft's development tools and platform architecture. One quick disclaimer, I would never claim that Microsoft was the first out of the gate with any technology. I would however claim that they have a tendency toward taking a good idea and making it much better (OK, aside from mobile i guess).
At the expense of going too far back in time, lets start with Active Server Pages and Microsoft Foundation Classes written in C++; one a web technology the other a desktop technology. Much like PHP or other web platforms Active Server Pages ran script that emitted HTML. Desktop developers got their fix with MFC. For the brave who liked both C++ and scripting COM objects could be written with MFC and accessed via script. Leap forward to the introduction of .NET. Clearly not original, but a dramatic inflection point. I remember sitting at lunch with some Microsoft guys at one of the PDC conferences that introduced .NET and I joked, "Hey that's a lot like Java." Apparently they didn't get my joke. One guy nearly choked on his chicken cordon bleu.
Active Server Pages evolved into ASP.NET pages that leverage .NET. The ASP.NET pages still ultimately generated HTML but using a strongly typed language like C#. There is one interesting twist however in this evolution. ASP.NET introduced the concept of server-side markup. This allowed for a much richer programming model than simply HTML and allowed for a whole new class of web applications built on the Microsoft platform. Meanwhile, WinForms is born on the desktop along with another desktop innovation. The innovation first called NoTouch or Zero Touch and I believe later renamed to ClickOnce was introduced. And while they still haven't gotten it quite right in my opinion, ClickOnce allows a desktop application to be deployed over the web and essentially act as a hybrid desktop/web client.
The next evolutionary step is key to a dominant desktop, and that step is XAML. Microsoft took the lessons of HTML and server-side markup and created a desktop development platform that has markup at its heart. XAML along with its code-behind runs within the .NET managed environment. Essentially, Microsoft evolved its desktop technologies towards more of a web-like paradigm, both in functionality and programmability. XAML allowed you to easily layout rich desktop applications and had all of the benefits of HTML and very little drawback. Meanwhile, during ALL of this evolution I just mentioned, how much has HTML really evolved? Remember how wow'ed I was earlier? Given HTML as a standard and how long it took to ratify the wonders of HTML5, how likely is it to evolve at the pace of something like Microsoft's platforms?
How can HTML keep pace with the demands of business applications without requiring binary components such as Applets and ActiveX to offset its deficiencies? It was a long journey getting here, but here is my point: Microsoft has the right tools and the right platform to re-invent the desktop. Mobile features WILL move upmarket to the features of desktop application. Microsoft has had the most experience (and hopefully will learn from it when it comes to the evolution of desktop applications). HTML is little evolved and lets give honorable mention to Java, also little evolved in my opinion. The Web, Mobile, and Desktop are all converging to some degree to the highest common denominator which is the Desktop. When they do converge, Microsoft will be the first one to the party.
To that, forget Web 2.0, I say, "Desktop 2.0!"
No comments:
Post a Comment