HTML5 vs native, who is the world? |
HTML5 can be regarded as out of the limelight in the past two years, whether it is the end of October or the beginning of the year specification was finalized last year, the industry WeChat open JS SDK, or the layout compete between Tencent, Baidu, 360, Sohu and other Internet giants. All this seems to indicate that the HTML5 will bring disruptive changes to the mobile Internet industry. Perhaps later, HTML5 will redefine the golden age of mobile internet. But before that, when you are ready to develop an application, you must not blindly pursue the respected technology, the most important thing is to figure out their overall needs. One of the most critical issues include "what is the audience?" What do users want to get?" And what is the best strategy to attract customers?". In fact, in general, is two points: mobile user experience, labor and capital investment needs. Since there are so many concerns, then always choose the most suitable for their own development. In fact, there have been a variety of analysis on this issue, and this time we explore the overall integrity of Web, native and mixed application development between the historical origins. Web applications: minimize cost and update agility Don't look now HTML5 scenery infinite, actually it's way of development is to lament. From birth to last year, the standard dust settles, up to 8 years of long-distance running really not easy. One of the biggest defeat in 2012 to the number of Facebook events, Facebook CEO Zuckerberg was angry words "on HTML5 is Facebook, then the biggest mistake" of native applications, which makes people that support HTML5 suffered. Fortunately, HTML5 is still very much over, there have been a variety of HTML5 development framework and game development engine. In addition, some time ago to replace YouTube Flash, the official default HTML5 video player, HTML5 really good a feeling of exaltation upon fulfillment. One thing can be popular, there is always a popular reason. So, what are the advantages of HTML5? Write once, run anywhere". Most browsers have the same mode of operation, an application can run on almost all browsers, not limited to only the original application running in a system. For the user, "write once, run anywhere" HTML5 application means the continuity of the application, that is, no matter what operating system can run the application. Allow applications to continuously update. HTML5 also allows constant updates, developers do not need to submit new applications to the application store for approval. Every time a user logs on to the web application, the latest version is available. These two points are well-known, in fact, the main reason is the cost of application development. Compared to native applications, able to run anywhere HTML5, alone in the province to save a lot of money on the transplant. Moreover, in the face of the new platform, without the need to hire professionals or raise existing staff to re learn, the previous Web technicians can be used directly. Native applications: maximizing performance and user experience The primary application of history than Web long, such as long ago appeared in the mobile device application address book, calendar and calculator with default and available Web connection, 1998 worldwide NOKIA classic Snake game is a typical one. On average, the most widely used method of development is still the development of native applications. Although the HTML5 limelight is winning, but has a strong performance and high-quality user experience can not occupy the bulk of the primary application is not surprising. Relative to the Web application, the biggest advantage of native applications is to access all the features of the device, run faster, higher performance, and can enable excellent offline processing and storage capabilities. However, do not pay attention to its advantages, if you want to maintain the original development is definitely not a small challenge. It's the biggest problem is the support of the device is very limited, want to transplant to other platforms have to prepare more budget. In addition, the audit process is not a result of on-line time is uncertain, as well as the need to re download the new version of the application update. If you do not have too many restrictions before the application of the budget, then the development of the quality of the team using only native methods developed by the team, the quality is much higher than other teams. However, the reality is reality, there are few developers of funds are endless. Mixed application to fill gaps The so-called hybrid applications, as the name suggests, is a combination of native and Web applications, naturally inherited the advantages and disadvantages of both. In other words, the equivalent of a native application development using Web technology to prepare, such as HTML5, CSS and JavaScript are entering the primary container (Native Container) of the common language, the primary application contains a link to the HTML file WebView hidden browser. In general, hybrid applications are also quite attractive, developers can freely allocate the proportion of native and Web. It's also a lot of good: Cross platform advantages, not only save money and save time, but also the best way to put ideas into practice. • Web developers regardless of the level of how, just after a short training can become qualified hybrid application developers. The above two points show that the mixed application of cost savings, it is also a great advantage of its inheritance Web. However, the performance of hybrid applications eventually, but more than the original application, if the incorporation of too much of the Web technology, will slow down the speed of the application. However, with the continuous improvement of technology, mixed application development is also in the water |