Understanding of three development modes of APP and research on mainstream APP

Understanding of the three development modes of APP and research on mainstream APPs :

Native APP : Written in pure code, the development cost is high, and the update is troublesome. The advantages are fast speed, high performance, and good user experience.

Web App : Load web pages directly. Web App is not equal to the wap of mobile websites. Advantages: low development cost, multi-platform support, and users can use the latest version without updating. Disadvantages: poor user experience, requires networking.

Hybrid App : Combining the advantages of good native user experience and strong scalability of webAPP .

How to judge whether the loaded web page belongs to the original sound or the web:

Open the APP when the network is disconnected. If the page cannot be opened or the network is interrupted, the loaded page is a web page. If the page can be loaded, it is judged that when the page is opened, if the page displays the content directly, it will be the original sound. If there is a short interval It takes time to load the page, then the local web page is loaded.

Research on mainstream apps on the market:

Mobile Jingdong: This is a Hybrid APP , enter the home page, my page is developed with native, and the data is loaded through the interface in the background, the shopping cart is also written natively, and the data inside is obtained from the background (the shopping cart is I suspect , further verification is required). The other tops and bottoms of the home page are developed natively, and the H5 web page is loaded in the middle, which will cache the page. Next time, the cached page will be displayed when there is no network. The first time you enter the page, there is no cache, and it will jump if there is no network. go to a specified page,

Taobao: This is a native development. The bottom navigation buttons and the top of the home page are written natively. The middle page is also natively developed. The data in it is obtained from the background, and the user experience effect is still very good.

Comparing JD.com with Taobao: Obviously, Taobao's user experience is better than JD.com's, and JD.com's scalability is much higher than Taobao's.

Alipay: This is a native development, with a little bit of Hybrid APP development. I think the main purpose of this is to focus on user experience, and at the same time to maximize the scalability of the product. The bottom of the home page uses native Development, except for the word-of-mouth part, which is mixed development, other pages in the TabBar are native development, and the data inside is obtained through the background. Of course, an excellent product like Alipay is not just as simple as we see it on the surface. I have seen that Alipay uses a lot of open source frameworks on the Internet . I think the reason for using a lot of open source frameworks is to improve data loading. Speed, on the one hand, is to improve the user experience, but also security.

Through comparison, it is found that the external framework of Hybrid is basically written in the original sound, and the H5 webpages are basically loaded inside.

Personal opinion: Hybrid APP development will become a trend of mobile development, especially in e-commerce, Hybrid App will become the mainstream, but in the information category, e-book reading category APP is still dominated by native development.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325958936&siteId=291194637