Flash and HTML5 – Friends or Rivals?
Posted August 10, 2011on:
Recently, you might have heard a lot that Flash is a dying technology and soon it will be replaced by HTML5. Many developers have picked up this idea and a lot of applications for the same iPad are designed, using HTML5. Flash and HTML5 seem to be competing platforms. By the way, these platforms are not really competitors as they fulfill quite different tasks. Everybody knows, each platform has its own advantages and disadvantages. And the most interesting point is the following: in this case, advantages of one platform compensate shortcomings of the other and vice versa. So Flash and HTML5 can be successfully used together in one project, and complement each other.
The advantages of HTML compensate the disadvantages of Flash:
– Flash is quite weak and ineffective with text and complex formatting.
It is an everlasting problem of flash and vendors cannot solve it. Yes, you could say that Adoby has made Text Layout Framework which solves this problem. And in general, you would be right but still it is not free from bugs and unpleasant side effects. That is why, in some cases you must reject it and go back to the old and less effective facilities. But HTML was originally designed to work with the text. So, if you want to show more than two paragraphs of the text and format it for more than a couple of styles you should use HTML.
– Flash requires a certain amount of resources and does not always suite mobile technologies.
The advantages of Flash, offsetting disadvantages HTML5:
– Flash provides more opportunities to work with media content. The possibilities of HTML5 are good for working with video, but still it is a long way to the possibilities of Flash. And there are some inherent problems with codecs andlicenses that will be difficult to deal with.
The projects where HTML5 and Flash could be usefully combined:
The projects where it is important to obtain data from a server with low latency:
- instant messaging;
- simultaneous work with a range of documents;
- e-learning and etc. ;
The projects which could be relating to the publication and reception of video and audio:
- video chat
- IP telephony;
- services video (youtube);
Browser multiplayer games.
So, in conclusion I would like to notice that the achievements of HTML5 are really amazing and, possibly, soon nobody will remember the devices which were used before it. I think that HTML5 will gradually replace Flash only for some activities, but Flash will have a place, especially when it is necessary to develop complex games and rich Internet applications.