Home >Backend Development >PHP Tutorial >javascript - Native browser basics. Can h5 websites build a new development model for apps?

javascript - Native browser basics. Can h5 websites build a new development model for apps?

WBOY
WBOYOriginal
2016-07-06 13:52:37941browse

Open source a native browser framework, the h5 website is embedded with h5 to communicate with the browser framework, and the framework communicates with the underlying system. As a newbie, is it feasible to indirectly implement a native app?

Reply content:

Open source a native browser framework, the h5 website is embedded with h5 to communicate with the browser framework, and the framework communicates with the underlying system. As a newbie, is it feasible to indirectly implement a native app?

Yes, this front-end technology can now be used for ios and android development. Desktop software such as NetEase Cloud Music are all implemented with this technology. You can refer to this question on ZhihuZhihu Question

This is not native, it is the most common hybrid development.

chrome app

You can check out DCloud
It has realized the use of HTML5 technology to achieve the experience of native applications. Of course, the experience is not as good as that of apps written with native code
But the biggest advantage of DCloud is that you can write the interface directly using html5 Packaging iOS and Android apps is the most powerful part of DCLOUD. One set of code can implement apps for two systems.

For example, the external interface of Word of Mouth in Alipay is written in HTML5. Many functions are still not as good as native ones, and now Alipay is slowly turning HTML pages into native pages.

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn