With HTML5, how far can flash go?

Source: Internet
Author: User
Tags stock prices
When talking about how far flash can go, we have to talk about the Applet as a flash predecessor. So I want to mention it because the first interactive application in the history of mankind that runs on a browser is a Java Applet, not flash. As early as 1995, when Gosling and GAGE showed 3D molecular models in webrunner's hotjava browser, the first impression of Java is that "this is a dynamic language that can turn static Web pages ", this is not a "language for developing mobile apps" or a "language for developing enterprise apps ". To put it bluntly, Java and Applet have been the first choice for implementing dynamic website effects (especially network teaching) since the emergence of Java and Applet until the emergence of Flash 5 in 2000 ). Flash was not the mainstream in the past, but not on the table. Why is Java (applet) less popular than flash? Aside from the influence of built-in JVM in later versions of Windows XP, we should say that it is stupid and incompetent with Sun's top management, as well as Macromedia's high-level lower-level middleware is not as relevant (flash in a certain period of time is like a rogue software, it will be installed without any warning, there is no necessary sandbox protection, and everything can run ). It was this group of strong-minded and enterprising minds that were overwhelmed by the treasure and wealth brought by Java technology (2000-When sun was the most prosperous in 2001, its stock peak reached $258.75/stock, the company has an estimated price of more than 200 billion US Dollars). It's just like Sun's senior manager of Tong Meng's technology trend. It finally ruined Java in the web page and desktop field. You know, although the applet at that time had a sound Java class library support, and a sound sandbox mechanism to ensure program security, but the running speed is very slow (especially JRE1.0-1.3 ), the running interface is far less bright and friendly than flash, and has gradually become unable to adapt to more and more complex network display requirements. The industry has even begun to see negative news about Java and applet. What's more important is that if there was no Macromedia Flash at the time, or flash was simply a spam that even the applet was not as good. However, Flash is far better than the applet at the time in terms of the interface effect and running speed! This group of Sun executives, which should have been engraved with S13 stars on their faces, not only broke with Microsoft too early at unnecessary times, but also remained indifferent to the threat of emerging technologies such as flash! They do not want to improve their Java and Applet systems, nor use the channel to squeeze flash out of the market. They have not been able to foresee the huge business opportunities contained in the front-end market, even more, it is impossible to adjust the company's business strategy in a timely manner to seek a new Java profit model. When others get angry, they just wish to swim leisurely and count the green banknotes brought about by soaring stock prices. -- If this generation is able to accomplish things, there is no reason! The results show that the system is relatively small and flexible, and Flash is supported by powerful graphic editing tools. The original applet technology seems bloated, slow, and difficult to develop, and does not even have a good graphic editor. You know, there is no such thing as resource scheduling in the IT field. Even a few decades of old stores are likely to be overwhelmed by the bodies of emerging companies in a garage. What's more, in the eyes of the foolish sun executives, the webpage front-end and even the desktop market may be simply a dispensable business. If you win, it's no good. It's a pity you lose. After all, the applet is only a small part of the Java function. Sun has three magic weapons, namely, iSCSI, Solaris, and Java. Even if Java has abandoned the applet, there is still a lot of money and there is no need to worry about it. Obviously, sun's senior management at that time lacked awareness of the business philosophy of "occupying the desktop and jumping into the pocket. If they understand that, no matter the applet, AWT, or swing, or j2's, it won't be today's status. The rise of flash and the fall of Applet have almost become inevitable. More and more developers are turning to the Flash camp, which eventually leads to the rise of flash and Java (applet/AWT/swing) the decline in the Web Front-end field. In the new era, with the gradual popularization of HTML5, the era of shuffling web technologies will come again. As the saying goes, "the waves of the Yangtze river go forward and the waves die on the beach", like the applet technology at that time, it will be replaced by Flash technology that is more advanced and enterprising (and more rogue, the emergence of a new technology system is always a nightmare that the old technology system cannot avoid. -- Even Adobe and flash cannot escape this pattern. It is true that today's Flash has improved a lot compared with the original flash, and Adobe has improved it more than before (they simply overwrote the flash core), in addition to the original small animation, small ads, small games, the emergence of flex allows J2EE or other technical systems to use flash to develop commercial applications. The ActionScript script allows hard-and-hard technology teams to directly compile flash programs without dragging the interface. From AV video display to online game applications, flash can be seen almost everywhere. Flash has become synonymous with RIA. Regardless of the actual situation, in today's era, "fast enough, simple enough, and popular enough" has long been a potential consensus on Flash technology. -- However, these impressions can only be maintained until HTML5 is popularized. Yes, the emergence of HTML5 standards will completely subvert the existing web front-end ecosystem. The emergence of HTML5 is largely due to the reflection of browser vendors on the front-end technical requirements of web pages. Simply put, it is simply a kind of awakening to flash. Here, we can imagine it as a conspiracy, an HTML5 scam. In a dark room, industry leaders may have discussed something like this: "Since flash uses a few MB of support libraries, it can be implemented in a browser, can't we use these platforms (browsers? Since it is a feature that everyone needs to use, why do we have to implement it through flash? Now that we all need these features and seek a better user experience, why don't we just bypass Flash and directly build them into a browser in exchange for fast and stable results ?!" These people will probably reach a consensus that flash is very good, and it is almost impossible. But in the long run, I am afraid the boys will not be confused. Therefore, we have to grievance Flash first! Just like running on a car, no matter how fast it is, it can never run on a car. How can flash UI surpass the browser platform itself when its UI is beautiful, easy to create, and fast to run? How can we get rid of these giants? In fact, the API standards provided by HTML5 are totally restrained by flash. Once the standard is popularized, HTML5 will kill Flash in seconds. You can imagine that with the gradual popularization of HTML5, you can play high-definition online videos through a <video> tag, when you use a <canvas> label to render a pretty beautiful web page animation, when webgl accelerates your web page hardware and runs a 3D effect that does not match World of Warcraft, when websql allows you to save data in a browser, it is as simple as operating a desktop application. When websocket easily implements browser-to-server communication, who cares about SWF, who will remember what flash? Ext3.0 provides the <video> tag application effect: Web3D effect: you are welcome to say that when HTML5 is truly popular, the advantages of flash will become no longer an advantage, but its shortcomings will begin to become more and more serious. All colleagues who rely on flash, especially flash, to support the website, I advise you never believe in the rumor that HTML5 will not be officially implemented until 2022, it may take a long time for Adobe to improve technology and even believe that he can be at the supervisor level before that. As long as you look at the latest update trends of chrome and Firefox and the future ie9 plan, you will immediately find that they will wait for you to reach 2022? Absolutely not! In less than 2015, HTML5 was already the de facto standard for various browsers. You may say, "nonsense! Flash is not just a feature. Besides, can we discard so many flash applications? Have you solved all the compatibility problems ?" -- Yes, the original flash function will be forgotten and discarded. Just like audio TV instead of silent TV and phone instead of sound transmitter, it may be difficult for you to decide which host you want on a free PS3 and a free Xbox. However, if you replace it with a free overlord and a white-to-white Xbox, you certainly do not need to know which one to move home. Even if 97% of websites on the network are using flash, even if countless Flash/flex applications exist on the network, once the HTML5 standard is more simple, faster, and more efficient, these will become meaningless. After all, new developers will never choose an inefficient, slow, outdated, and alternative technology as their own development language. At this time, even if you configure a flash application for each of the more than 6 billion people on the earth, the 6 billion will become an endless death toll, that is, the limit of flash. People have a long life, and websites also have a long life. Even if some hard-dead people do not want to give up, even if some hard-dead websites do not change their original intentions, they can only maintain their own websites, but it does not affect others' choices. In the end, they were either swallowed up by others, or changed their strings. At most they were holding flash until the end of their lives. But in any case, they would sooner or later end the same way. When talking about this, I hope you will not forget how much of Netscape's market share is now? Let alone, we should not forget how high the market share of Web Front-end applications was at the beginning of the web page. How high is the current market share? If they were replaced, we could all figure it out. Will we be confused when Flash is replaced? No. -- It should be said that, as long as HTML5 is popularized in the future, Flash is doomed to get married. Or you will think, if the low-end cannot get through, I will go through the middle-end, so that flash will continue to add features not available in html5, after all, there will be more than 10 MB of installation files after flash 10. The so-called "when you have more cockroaches, you don't have to worry about the debt", there is nothing to do with adding more points. Naturally, someone will use it. Well, that's right. If abde continues to complicate the flash function and can complete the complex applications that html5. -- But do you forget something? I really think that neither Java nor C # can be set up? Is the existing web front-end application solutions of Applet, javafx, and Silverlight nice? Are Oracle and Microsoft vegetarian in complex applications, especially enterprise applications? The Flash developers are really free to participate in the development of the wheel one by one over the past N years, and then do the project again? Is there a ready-made integrated solution that doesn't need to be used by the management team? Do you have to use your flash front-end, Microsoft or Oracle back-end? Even if you insist that flash development is simple, but now you have a simpler HTML5 available (even saving SWF loading), how can you survive? As we develop, even if there are a few questions at the beginning, once HTML5 is gradually becoming more and more popular, dummies will never be enough ...... At this moment, as long as you download the latest version of chrome and try out the new functions that HTML5 will bring soon, you will find that the SWF files that used to look so short and concise have been around for a while, how can it become so bloated and useless ?! In the past, how did the brilliant and vivid flash animation become so tedious and dull ?! -- We should clearly see that the emergence of HTML5 is not only a technological innovation, but also a shuffling of the industry! It will completely destroy the game rules of the existing web front-end technology, and break flash into a place where it will no longer be! Moreover, Flash has been widely used over the years, and there are not many people eating this bowl of rice. On the other hand, flash programmers are of varying quality, high and low technology. They are used to steal personal information from flash, but they are not used to steal personal information from flash. Without talking about the flash industry leaders like Steve Jobs, you and I are just ordinary technicians, and there are several other pages that have never been caused by flash advertisements on the website, how many other products have not been installed with flashblock? Some Flash developers may be unwilling to see it here, but at least in the front-end field of the web page, the decline of Flash is inevitable, and it is not the influence of ordinary people like you and me. Here, let's say in advance: "Flash hello, flash goodbye! What can be done by applet, javafx, and Silverlight? Now, when we look back at the applet, we will find that it has missed a technological revolution that should have belonged to it, and missed a feast that could have earned a huge profit. Let's assume that the sun manager was lucky enough to go through the time tunnel and go back to the present. I think Macromedia has nothing more than two ends, either acquired by Sun or lost by Sun. More directly, if Sun's top management came to this day to see javafx's "webfront-end technology", we can see that jdk1.6's "late" performance improvement, what flash/flex should I even learn about Android practices with my hands and put them into practice in that era? Where is Silverlight? Java should have been around for a long time. -- But at that time, several people could think that the front-end market of the web page would become so intense today? History does not allow assumptions. What we face is the era in which Macromedia is acquired by abode and sun is acquired by Oracle, it is also an era in which HTML5 will gradually become popular. Looking at the present, even if Flash is about to become the yellow flower of tomorrow as I have said, will it make a difference even if Microsoft's silver bullet-powered Silverlight doesn't talk about it? -- I think it is possible. In fact, anyone who knows about flash knows that flash is very simple, fast, and efficient. However, this is only limited to simple animation effects, or limited to some relatively simple business implementations. -- Any experienced flash programmer, even if you love flash, I am afraid it is hard to tell you That ActionScript is a well-designed and high-performance language? Using Flash to develop mini games such as stealing food, training secretaries, or creating a simple upload/download interface is indeed fast and good. But it is the turn of a really complex application, for example, letting you use it to develop a 3D World of Warcraft (only for simulated results), and even require a lower level, this is not the case if you want to launch a legend-level online game. In terms of Java, we all know that domestic companies such as langang online have tried to use Java technology to develop 2.5D instant combat games such as "Yi tianjian and Tu longdao" a long time ago, the Journey to the West developed by the company continues this system. But if we convert it to flash instead of Java Development, Which game company can make such a real-time combat effect without being stuck in the dead? Who dare say this ?! You may say that this is just a desktop application. Let's simply talk about web games. We all know that there are many companies in China that are trying to develop web games with flash, many Flash developers talk about foreign web games such as the Dark contract. However, when you look at the various modules that are repeatedly downloaded every time on the screen, when you look at each other's PK but suddenly do not move or blurred screen, what else can you do when you look at a game that will occupy up to 100% of the CPU until it is killed by the enemy and may not be moved again? In fact, even if Flash web games have sprung up today, I have never seen an arpg game, even if it is not a card, it is even rare for RPG classes that do not need to refresh after a continuous play. Otherwise, I will not invest hundreds of dollars in a flash online game to brush the golden dragon eggs and Phoenix eggs, but finally choose not to play. Here, I don't want to deliberately comment on some flash online games in China. I just picked out a flash game GM's reply to a player's comments at will, so I may be able to take a look (what did the player actually comment on, in fact, there is a clear comparison here (well, I admit this is my main reason ), that is, one of the players mentioned above mentioned Hansen's "Qingcheng", which is a very rare Java (applet) online game. Compared with players' comments, it is not difficult to find out what is the decisive difference between flash and Java technology. For example, compared with Flash suitable for simple graphics applications, Applet (including javafx) is the opposite. Its large class library and volume are not suitable for many scenarios that require fast loading, as a result, some people will think it is very slow when they first run it. However, as long as the application is loaded once, the applet (including javafx) will automatically establish its related cache until you modify the application and re-release it, the applet will not be repeatedly downloaded. That is to say, the applet's slowness is only limited to the first running, and then there is no such annoyance. Java's inherent rich support libraries and super powerful network communication functions are not comparable to those of Flash (in more extreme terms, Java is in a rush to access JNI, flash ?). It can be said that the more complex the game is, the more comfortable Java is, the more complicated the application is, the more familiar Java is (similar to Sun's singular features, complex things are simple, simple things are complicated ......). Flash is small and simple, but it becomes a disadvantage at this moment. Because the library is incomplete, you must develop a large number of program modules in person, it is possible to make it run normally in a complex environment such as online games. Because the performance is not in place, you must handle a large amount of graphic resources on your own, regardless of whether an object is released or not, in order to ensure that the program will not suddenly remain unchanged. Even if you have handled all of this, the inherent capabilities of Flash show that the stability of the application will still be poor. Even if the picture is good, as long as it runs for a while, it will become invisible sooner or later, and the card will become stuck, the crash will crash, and the hell will die. What's more, once OpenGL is used in Java, even the only advantage of flash, the image effect, will no longer exist. For example, Java online games in the famous runescape (http://www.runescape.com/), can be in the Web Front-end efficient operation of 3D games, but there is no trace of delay pause. In the world of Flash online games, is there any 3D application that matches it? If there is any, please give me a link. In fact, if Sun was able to significantly increase the speed of graphic operations like jre1.6 or later, or bind DirectX to OpenGL for more convenient calling (directly providing APIs) in JDK, currently, the mainstream development of web games may be applet or even javafx. Sun's initial inaction directly led to many people's misunderstandings and confusion about Java performance, which caused the rigid impression of the poor Java performance, eventually, many people mistakenly mounted the flash "thief ship ". (The most annoying thing is that Sun's actions are too slow. Although we now have expanded applications such as jogl, many Java programs have become unable to use OpenGL ......) -- The Ancients cloud "view the success or failure of ancient and modern times, can first see the machine, then always be blessed", sincerely do not bully me. With the popularity of HTML5 and the gradual improvement of Java performance, Flash's leading edge will no longer exist, and the low-end and high-end web applications will be diverted, in the future, who is the subject of the applet/javafx or Silverlight? It is still unknown. I hope Oracle will not go down the sun road any more. I am truly recognizing the situation and seize the opportunity! With the improvement of Java performance, also gradually some Chinese netizens will use Java to make some simple desktop games: http://blog.csdn.net/Kylixs/archive/2009/12/02/4922698.aspx and even students will use Java Development Game Wang online combat version (according to the author claims, this game will have 3D combat effect): http://bbs.duowan.com/thread-15633573-1-1.html "do not seek the global, lack of seeking a domain, do not seek the world, lack of seeking a moment", where to go, Weizhi identified.
Related Article

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.