Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

we are about to start on a Web Development project (the planning starts early 2011).

Do we choose HTML5/JS over Silverlight?

Are there any applications which now run on HTML5? Samples?

A simple Google Search led me here. Those look great (especially the Star Wars one!), but they are not what you call proper applications as such.

share|improve this question
1  
It really depends on what you're trying to acheive. I would add one of my past projects, mugtug.com/darkroom as a very good example of what HTML5 can accomplish. –  andre Dec 26 '10 at 0:51
    
What skill sets does the team have? –  user1249 Dec 26 '10 at 1:01
    
Bear in mind that HTML5 isn’t one thing. At the application design level, you’re really just talking about a collection of JavaScript APIs - <canvas>, geolocation and localStorage are the main ones that spring to mind. As @andre said, it depends what you’re building. –  Paul D. Waite Dec 26 '10 at 1:24
add comment

closed as not constructive by Mark Trapp Nov 29 '11 at 20:01

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.If this question can be reworded to fit the rules in the help center, please edit the question.

5 Answers

up vote 3 down vote accepted

If you are going to write most of your app from scratch and have developers with very good skills and motivation to mess with unstable specifications and browser quirks in exchange for doing cool things that nobody did before - go HTML5.

If on the other hand you prefer to build on top of what others build, use advanced tools and ready-made widgets and prefer getting things done sooner rather than later, no matter if a little ugly, and want to have a wide choice of developers be available to you - you may want to go with more established technologies, like Flash or Silverlight.

It also depends on if there are some existing tools and libraries in the area you are targeting or you are opening an entirely new topic.

share|improve this answer
add comment

You have a notebook or desktop machine with Windows, am I right? But there are some other sort of machines:

  • netbooks, wich runs non-Windows operating sytem, see Chrome OS,
  • Android or iOS tablets,
  • smartphones (iPhone, Android, Palm webOS).

If you choose SilverLight, your program will never run on these machines.

share|improve this answer
    
True. Some of our clients have just gone full out and bought iPad (despite our suggestion that they wait for iPad2) –  Kanini Dec 26 '10 at 15:57
add comment

Definitely HTML5. HTML5 all the way. The amount of users is much, much larger. Plus, compatibility is not that big of a problem with HTML5. Some good HTMl5 examples can be found here:

http://www.apple.com/html5/

share|improve this answer
add comment

That depends on what user platforms you're targetting. Do you want to limit your users to only Windows and Mac? If so, Silverlight might be one answer, as Silverlight is only supported for Windows and Mac.

If you want a broader audience, HTML5 is the way to go. However, you need to consider the fact that all browsers are not HTML5 compliant/compatible yet.

Therefore, to play safe, I suggest coding using HTML4 and gathering your userbase statistics and once enough have started using browsers supporting HTML5, then start upgrading your design to HTML5.

Also, did you consider if some of your users will be browsing your site from a mobile phone?

share|improve this answer
    
Actually, no browsers are HTML5 compliant yet, and the difference between browsers is marked. HTML5 today is like HTML in 1997. –  Craig Dec 26 '10 at 3:16
    
Thanks, Craig. Updated my response. –  chuacw Dec 26 '10 at 3:21
add comment

A simple Google Search led me here. Those look great (especially the Star Wars one!), but they are not what you call proper applications as such.

What would you call "proper applications?"

That is what you need to ask yourself before you commit to a language set.


Notice: I've never done work with Silverlight. Plus I might be a bit HTML5 biased.

Silverlight

Flash-like Microsoft product. Requires a plug-in. Might require other Microsoft tools for development.

HTML5

HTML5 is a buzzword for a suite of new technologies that encourage fast, involved, web based applications. There is easy feature detection available as well as libraries to help split the difference between older browsers and newer ones.

share|improve this answer
    
Enterprise applications? Products? Say for example, if I am talking about Rails, I can point to a host of solutions including Twitter/Teuxdeux. That is what I would call as "proper applications". Hope this makes it clear. –  Kanini Dec 26 '10 at 16:00
    
@Kanini: Twitter removed Rails from their backend due to technical issues. ;) Enterprise applications? Have you looked at Google Docs? –  Josh K Dec 26 '10 at 16:16
    
Google Docs? I use it daily and I did not even realise it is re-written in HTML5! –  Kanini Dec 27 '10 at 2:41
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.