Flash and HTML5: What does the latter replace Flash?

Source: Internet
Author: User

Thank you for your delivery.
News source: So Ray so faint
Recently, HTML5 & nbsp; is a hot topic. Many people think that HTML5 will flash in seconds, so that it is hard to get involved in front-end web development forums. In the forum, I had to open my remarks in an acre of land. Also, let's look forward to the future of Web Front-end development. The HTML5 mentioned here is not only HTML5 itself, but also the whole Web Front-end technology included in HTML5, css3, & nbsp; JavaScript and the new browser API.

Who needs HTML5?

Google needs it most! Apple jobs are also required. However, these two must be different. Microsoft doesn't matter. He still has Silverlight.

Mozilla/Firefox is a non-profit organization that may have a higher level of goals and must be supported by W3C standards. Opera's browser market share has not dared to think too much.

Google's cloud computing empire is far behind a client that supports rich Internet applications (RIA). Imagine that HTML5 is becoming popular and more applications are switched to the BS model, the desktop software ecosystem of the Microsoft empire must be under great threat. Google, which has been coveted for many years, must be the biggest beneficiary. If you use Google doc, which is similar to MS Word, on a computer with free operating system, do you still pay for Microsoft Word? When all your office applications only need to open the browser window, will you still pay for the operating system? Google's Chrome OS Operating System Interface already shows this intention.

Jobs also needs HTML5. He wants to make the browser support video and audio in the native way, so that the iPhone and iPad do not need to embed flash. Jobs certainly cannot import flash into the iPhone OS, otherwise, who will buy the games in the App Store? At the same time, if a large number of applications can be implemented based on browsers, users will not be stuck in Windows desktop applications. Pretty Mac computers do not like it.

They chose HTML5 for greater ambition. They expected HTML5 to bring about a change in the entire software ecosystem, while avoiding the uncontrolled flash.

Macromedia and later Adobe grasp the development needs of Internet applications and constantly improve flash, which has surpassed the functions of browsers. Browser vendors also see the demand for such applications, rather than a function that should have been implemented by the browser, implemented by a plug-in of a few megabytes and small ones. Therefore, we spared no effort to promote HTML5 and direct our finger at flash.

Do users want HTML5? What users need is not technology, application, but experience. If you can use ajax to implement a happy farm, I don't think anyone will care if it is made by flash.

Do developers want HTML5? A mature HTML5 + css3 + JS development environment is required, and various browsers are required to provide a unified user experience, that is, the complete and compatible standard. New learning costs are also required.

What are the advantages of flash?

Where is flash better than HTML5? Performance, function? If HTML5 will have dom similar to all built-in flash objects, what about GPU 2D and 3D acceleration? This is not impossible. After all, HTML5 is just a draft. Of course, flash can be constantly updated.

Development Group

I think the advantage of Flash is the accumulation of many excellent artists and,ProgramMembers and Interaction designers focus on developing interactive media on the Flash Platform. It also makes countless class libraries available for the as version, such as flartoolkit, touchlib, and opencv. These interactive and image analysis C ++ libraries are all transplanted to the Flash Platform. A relatively mature and open-source flex framework should be used in RIA. More and more enterprises are trying to use flex to replace Ajax frameworks such as ext to provide customers with a better Ria application experience.

Continuous Development

Flash Player is a closed system that is exclusively controlled by adoeb. Compared with open HTML5 standards, Flash Player is weak and technically advantageous. It can work very well and add new technologies and new features at any time. HTML5 is a public standard. Since it is a standard, it means it will not be changed frequently. To improve flash, you only need to upgrade the Flash Player Plug-in. The upgrade of the plug-in is lightweight compared with that of users. The improvement of the HTML standard means upgrading the browser, which is a relatively important user operation, especially when many people do not understand what the browser is.

Once the HTML5 open standards are determined, there will be a long period of use. Today, it seems that there are advanced functions. Ten years later. Just like when we used html4 + css2 + JS and thought it was enough to show web applications, who could think of the world that flash is constantly improving today. Maybe ten years later, we should discuss the topic of HTML 6 flash.

Surpassing Web Applications

If Sun was able to pay attention to Java Applet at that time, Sun would not be able to be acquired even today without flash. Today, Adobe AIR allows flash to surpass Java Applet, flash to surpass web and browser. The Flash function has been continuously enhanced today, and the multimedia field is constantly compressing the application space of Director, the old brother. Multi-point touch, face recognition, socket communication synchronization, ar augmented reality, real-time video, and other functions are implemented on the Flash Platform, allowing more and more interactive multimedia projects to adopt flash solutions.

We hope adobe can continue to expand the functions of the Adobe AIR platform to improve its performance. More and more cross-platform desktop applications can be implemented on air.

What are the disadvantages of flash?

Flashplayer is private to copyright.
The content of the SWF file is relatively closed, and the search engine is unfriendly.

Security risks of plug-ins.
Compared with the learning curve and learning cost of Ajax technology.

Flashplayer 94% installation rate! = 100%.
IPhone OS clearly does not support flash, and the first day of the iPad's 0.12 million orders, is expected to open a large market.

3D hardware acceleration is not supported. If Flash Player supports 3D hardware acceleration, it will certainly rewrite the existing 2D vector engine. In view of Shockwave 3D performance, Flash Player hardware 3D is difficult to provide a good user experience!

What does HTML5 use to replace Flash?

Function

Currently, HTML5 is only a draft. From the submitted content, many more semantic labels are added. The new labels mean adding new classes to the Dom, if you compare the browser to a large flashplayer, HTML5 is simply adding new classes and new APIs. Then, JavaScript calls these Apis.

If HTML5 completely replaces flash, it must at least provide features similar to flashplayer10.

This should not be a problem. Add websocket, websql, webgl ...... Even webqt and webmfc are endless. Or simply turn the browser into a large virtual machine to complete the Java Desktop. If you have enough motivation, these are not problems.

Performance

In many HTML5 radicalArticleIn, all pain points to the current low efficiency of flash, leading to browsing crash. Is flash efficiency so low? Certainly not. It is caused by Flash abuse and uneven Web Front-end developers. Similarly, if I use the JS engine of IE to write an Ajax version of XX farm, if all the page advertisement animations are written in JS, I think it is inefficient. If Flash is less efficient, why are so many web games not implemented by Ajax? Why are a lot of well-optimized flash 3D game scenarios smooth, and a 2D XX farm can slow down your core 2? Half-hanging developers who do not know the truth always attribute the browser's inresponsiveness and crash to the low efficiency of flash.
In the future, HTML5 must replace Flash with an efficient 2D/3D graphic text rendering engine and an efficient JavaScript Engine. In this way, we can bring a better user experience. Are all browser vendors ready? Chrome and opera seem to be taking this path.
Compatibility

The html4 standard has been used for more than 10 years. Today we will write the CSS style name of fxckie6. Browser compatibility is the biggest problem, especially HTML5 and css3 after N features are added. How can we coordinate the big players behind IE, Firefox, chrome, and Safari browsers? This is a conflict. Developing differentiated products must provide homogeneous features. JS performance, tag browsing, synchronous collection, and plug-ins are all differentiated features to improve user experience. If there is something similar to ActiveX such as IE only, it is better to keep html4 unchanged.

Development Mode

Flash ide brings together countless excellent artists, UI designers, and interactive programmers, and ultimately achieves flash, this is also unrelated to Macromedia and Adobe's appeal in graphic design and interactive design communities.

HTML5 interaction increases JavaScript to a new level, which requires a mature development environment. Continue DW + firebug? Or is DW upgraded to the brand new HTML5 Interactive Development IDE, or Microsoft vs, or eclipse?

Only a mature development environment can gather talents, stimulate endless creativity, and bring more content. The rich content naturally brings more users.

Deployment

This is the most important issue. Without this step, everything is zero.

How to deploy the new flash version? Update the plug-in on the basis of more than 90% desktop shares. How to deploy HTML5 and update the browser is a little difficult. Look at the tenacious IE6. I heard someone suggest that Microsoft include ie updates in the system serverpack. I can only say that this idea is good, but the anti-monopoly dashboard will definitely kill Microsoft.

So how to guide the user to upgrade the browser? This is not a problem for the Internet "core user". Many people are using the chrome development version that currently supports HTML5 and css3 features. However, the "light user" may not even understand the relationship between the window used to view webpages on a daily basis and the browser.

This requires the guidance of an HTML5 killer application. "Light user" will hardly upgrade the browser based on technology. They will only upgrade the browser based on application requirements. For example, YouTube no longer supports Internet Explorer 6 users. Users who like YouTube videos will upgrade Internet Explorer 6 to access Internet Explorer 6. It is inevitable that you choose to update IE6 because of poor HTML compatibility of IE6.

Where are HTML5 killer applications? Or do they all have the influence and appeal of YouTube? Without such appeal, who would rashly support HTML5 to require users to upgrade their browsers? These websites are bound to be in the prisoner's dilemma. In the repeated prisoner's dilemma, the game is played repeatedly. In the end, it will fully enter the HTML5 era. This process may be very short or long. After all, the existing web front-end is not so bad, but it is because Flash plug-ins and jquery JS frameworks are impressive.

Summary

HTML5 is not an urgent demand for user applications, but more a strategic demand for vendors to change the software ecosystem.
HTML5 compatibility in view of the past performance of various browsers, it is not suitable to migrate applications immediately.
HTML5 requires a mature and complete development environment, which cannot be handled by notepad + browsers.
As HTML5 features surge, browsers must have a high-performance graphics engine and script engine.
HTML5 requires killer applications to attract and guide users to upgrade their browsers, and finally complete the deployment of HTML5 terminals.
Flash is a continuously developing technology with high flexibility. HTML5 cannot completely replace Flash, and many developers will not abandon flash.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.