摘要
Hybrid App融合了Native开发和Web开发的优势,其开发方式在移动应用开发和桌面应用开发中所占的比重越来越大.本文实现了Web View和Native的双向通信机制,建立了Hybrid App的开发框架,并通过对Web数据进行本地离线存储,对Web文件采用基于字节流的差量更新的方式对框架进行优化.最后对开发框架和优化机制进行了实际测试,采集数据并进行分析,实验结果表明开发框架和优化机制具有实用性和可行性.
The Hybrid App combines the advantages of Native development and Web development, which takes more and more proportions in the mobile application development and desktop application development. This paper realizes bidirectional communication mechanism between Web View and Native, set up development framework for Hybrid App,and optimizes the performance of Hybrid App by means of off-line storage for Web data and delta update based on byte stream for Web files. Finally, the development framework and optimization mechanism are actually tested and the collected data are analyzed, and the experimental results reveal that development framework and optimization mechanism have good feasibility and practicability.
出处
《计算机系统应用》
2017年第7期130-136,共7页
Computer Systems & Applications