Click here to Skip to main content
14,298,626 members


Rate this:
4.95 (36 votes)
Please Sign up or sign in to vote.
4.95 (36 votes)
22 Nov 2011CPOL
HTML5 vs Flash vs Silverlight


HTML5 kills off flash; HTML5 kills off Silverlight; HTML5 makes the dinner and does the ironing too. HTML5 is going to save the (tech) world. I’ve heard it all in the last year or two. Very rarely have I seen a balanced article or a writer that understands the concepts involved. Even worse are the (non technical) tech journalists who write an article on this subject purely to boost their own exposure.

This article attempts to provide a bit of history on the subject. It also attempts to pacify the situation and explain why it doesn’t really matter.

This article focuses more on Silverlight than other technologies but the principles are the same for these too.



Flash arrived on the scene many, many moons ago to add some pizzazz to the web, largely because HTML was limited and hence the experience was pretty mundane and boring.

Flash is a plug-in that needs to be installed on the CLIENT machine running the browser. Notice the word CLIENT here as this will become important as we go along.

As the years went on, people tried to push Flash to act more like business applications that you would normally build in .NET or similar. ADOBE (Macromedia) realised this and also realised Flash wasn’t up to the job. FLASH was useful for animations and small scale web stuff but not Enterprise level applications.

Most people don’t know ADOBE brought out FLEX for this purpose. FLEX was used as the front end for business applications and charting type stuff. This would be as an alternative to Java server pages (JSP) or ASP.NET.


Around about the same time as FLEX was gaining momentum and maturing (around 2006), MICROSOFT was building SL.

SL was released in 2007 but the first mature version arrived in 2008 with SL 2. SL was a direct competitor to not only FLASH but ALSO FLEX. This is an important point that most people don’t get and hence don’t understand why the current chatter about HTML5 vs. FLASH vs. SL is not as important as they think.

HTLM and Javascript (JS)

HTML and JS have been around forever and have always been popular web tools because they are free and cross-browser compatible. It is only in the last couple of years with the hype around HTML5\JS that the HTML5 vs. FLASH vs. SL chatter began.

There was a slight precursor to this which was the browser video playback chatter that everyone and their donkey had an opinion on too.

It is worth noting that HTML5 can only run in a supported browser that is installed on the user’s CLIENT (PC, laptop, tablet, mobile, etc.). Effectively, this is the same thing as a plug-in. If it isn’t on the client, then HTML5 won’t work. FACT!

To date, around 40% of web browsers are nowhere near HTML5 compliant. This seems to be a fact ignored by the current band of HTML5 evangelists.


Apple effectively banned plug-ins from its products. This is when this discussion really kicked off. While annoying all of their users by doing this, i.e., they couldn’t run flash websites or video, users still bought their products. There aren’t many companies that can do that.

Back to the Present

This brings us up-to-date and back to the HTML5 vs. FLASH vs. SL argument.

The fact is that you cannot control the web if you need a plug-in to run your product. This has always been the case and anyone who thought otherwise is naïve at best.

‘Oh but Flash was on 95% of clients so that’s not true’, I hear you shout. Yes FLASH was on 95% of clients but which version did you have installed?

In a previous life, I was a FLASH developer and you would always have to wait around 1-2 years before you could develop a Flash website in the latest FLASH version. Why? This is how long it would take for a large enough percentage of web users to install that version of the FLASH runtime on their clients. We always developed in a version behind the latest version, unless we could control what was on the user’s CLIENTS. There was no point developing something, no matter how cool, if only 20% of your target audience are able to view it.

The writing was in the sand, some might say?

Where are we now?

  • FLASH and SL are dead for the web.
  • HTML\JS have won the battle for the web.

That’s it then? No. This is only (less than) half the story. While the next few paragraphs focus on Silverlight, you could quite easily make similar arguments for other technologies that are 'dead'.

The Enterprise

One big factor in this is the Enterprise. An Enterprise is a company or business, usually, but not necessarily, of a large size. An Enterprise will have thousands of employees, working at different locations, sometimes around the world.

Enterprises like Intranets – internal browser based communication systems. Enterprises like browser based applications that run on these Intranets because they are easy to distribute and maintain.

Employees of Enterprises work on clients (PCs, laptops, etc.). These clients are owned and maintained by the Enterprise, i.e., Enterprises can install whatever they want on their client machines – see I told you we’d come back to the client thing – and have the processes in place to do this regularly and en-masse.

The take of up SL, and FLEX to a much lesser degree, within these types of organisation is massive, especially in the banking sector who rely on rich, interactive applications (my version of RIA). Other technologies just do not cut the mustard. This is a FACT!

SL has a great advantage in these types of organisations who are mainly .NET based organisations – there are a lot of JAVA based ones too, who would probably have used FLEX rather than SL: SL sits nicely in their application stack.

These Enterprises build applications in an N-Tier fashion. This would involve a Presentation (UI) layer, service layer, business layer and data layer for example. This means their skill-sets are lean and advanced, having great cost benefits for development, testing, deployment and maintenance.

JS just can’t touch JAVA or .NET in terms of being a mature, deep, high quality programming language. JS has a small set of base classes and can’t stand alone needing to be interpreted by a browser, for example.

SL uses its own subset of the .NET framework so works within a managed environment. People who are used to .NET are already (partly) used to SL.

Enterprises have big sacks of cash, and, usually, money talks.

Windows Phone

Windows phones are gaining great momentum as we speak and SL can be used to build apps for these phones.

This adds weight to SL as a product.

Of course you may, and should, question whether it is appropriate to use HTML5\JS if you are developing the same app for Android and the iPhone.

Who knows, if apps become more complex (likely), then SL might be back in there. The more complexity, the more likely JS is to be problematic as a solution.


It is also worth noting that Microsoft may give SL a new lease of life within the Xbox and Kinect environment: One to look out for and again adds more weight to SL as a product.


What’s the common thread between all this?

  • You can control the client you can control what you develop in. It doesn’t matter what Apple or anyone else say.

As with any development, you should always ask ‘What is the best tool(s) for the job?’

In the Enterprise, this is regularly Silverlight. SL 5 will pack a whole lot of weight compared to SL4. All the gaps and missing functionality will now be there. SL 5 is a mature product and will be good for a couple of years on this release alone. If the answer to the question above is Silverlight, then use Silverlight. If it is something else, use something else. Simple!

Will Microsoft produce a SL6 or SL7? It would be nice, but it doesn’t really matter at this point in time. Things change. Being a good developer means keeping on top of your skills and moving with the times. None of us were Silverlight developers five years ago.

XAML and C# will definitely be skills that will be usable in the Windows 8 environment and your SL apps will run fine there too ( so stop worrying.

As 37signals say ‘Planning is guessing’. This is so true. Concentrate on the next few months as this is hard enough to do well. What you think will happen in 2 years time probably won’t and something completely different will.

This is the paradox of the world we work in: we love the fact that technology changes so fast, we hate the fact that technology changes so fast.


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

United Kingdom United Kingdom
I am an enterprise application developer with around 8 years .Net experience.

I am currently focusing on Silverlight, WCF and SQL Server.

Comments and Discussions

GeneralMy vote of 5 Pin
Member 189067331-Jan-13 23:58
memberMember 189067331-Jan-13 23:58 
GeneralMy vote of 5 Pin
Jari Lahdenpera21-Nov-12 18:08
memberJari Lahdenpera21-Nov-12 18:08 
GeneralMy vote of 5 Pin
jbragadeesh20-Jun-12 0:57
memberjbragadeesh20-Jun-12 0:57 
GeneralMy vote of 5 Pin
Nikhil_S7-May-12 21:01
professionalNikhil_S7-May-12 21:01 
GeneralSilverlight is really good with the line of business applications Pin
crazynick8-Mar-12 12:48
membercrazynick8-Mar-12 12:48 
GeneralRe: Silverlight is really good with the line of business applications Pin
Shimmy Weitzhandler21-Apr-12 14:31
memberShimmy Weitzhandler21-Apr-12 14:31 
GeneralInteresting Article - another one here Pin
exonmd2-Mar-12 12:02
memberexonmd2-Mar-12 12:02 
QuestionWindows phone momentum? Pin
ed welch9-Feb-12 5:58
membered welch9-Feb-12 5:58 
GeneralMy vote of 4 Pin
Dipti Mamidala16-Dec-11 23:27
memberDipti Mamidala16-Dec-11 23:27 
GeneralMy vote of 5 Pin
Anurag Gandhi13-Dec-11 20:08
professionalAnurag Gandhi13-Dec-11 20:08 
GeneralMy vote of 5 Pin
Uday P.Singh4-Dec-11 7:53
memberUday P.Singh4-Dec-11 7:53 
QuestionThank you, thank you - My vote of 5 Pin
Nji, Klaus2-Dec-11 10:34
memberNji, Klaus2-Dec-11 10:34 
GeneralMy vote of 5 Pin
Howard Richards1-Dec-11 2:35
memberHoward Richards1-Dec-11 2:35 
GeneralMy vote of 3 Pin
marl29-Nov-11 22:45
membermarl29-Nov-11 22:45 
GeneralRe: My vote of 3 Pin
Howard Richards1-Dec-11 2:41
memberHoward Richards1-Dec-11 2:41 
GeneralRe: My vote of 3 Pin
marl1-Dec-11 3:49
membermarl1-Dec-11 3:49 
QuestionIsn't MS dumping SL and WPF Pin
mario witdoek29-Nov-11 20:51
membermario witdoek29-Nov-11 20:51 
AnswerRe: Isn't MS dumping SL and WPF Pin
Howard Richards1-Dec-11 2:38
memberHoward Richards1-Dec-11 2:38 
GeneralRe: Isn't MS dumping SL and WPF Pin
gordon8817-Dec-11 0:20
professionalgordon8817-Dec-11 0:20 
GeneralMy vote of 5 Pin
Rethmeier29-Nov-11 20:36
memberRethmeier29-Nov-11 20:36 
Question[My vote of 1] HTML6 Pin
alrsds29-Nov-11 15:39
memberalrsds29-Nov-11 15:39 
GeneralMy vote of 5 Pin
Leonardo Paneque29-Nov-11 9:43
memberLeonardo Paneque29-Nov-11 9:43 
GeneralMy vote of 5 Pin
wind surf29-Nov-11 7:06
memberwind surf29-Nov-11 7:06 
GeneralMy vote of 5 Pin
JCrocker23-Nov-11 0:55
memberJCrocker23-Nov-11 0:55 
GeneralMy vote of 5 Pin
bosedk22-Nov-11 22:47
memberbosedk22-Nov-11 22:47 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Technical Blog
Posted 22 Nov 2011


21 bookmarked