混合应用程序和phone-gap cardova应用程序之间有什么区别? [英] What is the difference between hybrid application and a phone-gap cardova application?

查看:164
本文介绍了混合应用程序和phone-gap cardova应用程序之间有什么区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我需要解释一下混合应用程序和使用phonegap构建的应用程序之间的区别,我将如何解释?

解决方案

Phonegap



PhoneGap基本上是一个混合应用程序。

PhoneGap要达到什么目的?



PhoneGap的目的是允许基于HTML的网络应用程序作为本机应用程序进行部署和安装。 PhoneGap Web应用程序包装在本机应用程序shell中,可以通过多个平台的本机应用商店安装。此外,PhoneGap努力提供一个通用的Web应用程序无法使用的本机API集,例如基本的相机访问,设备联系人和传感器尚未在浏览器中显示。



要在本地仿真器/模拟器上运行PhoneGap应用程序,开发人员将为每个他们希望支持的本机平台生成一个项目,在Xcode,Eclipse或任何需要的本地工具链中配置该项目的web根目录


$ b

PhoneGap方法的优点

>任何支持Web视图或Web运行时的本机平台都可以是PhoneGap平台。任何人谁可以编写HTML,CSS,甚至一小部分的JavaScript可以在本机应用程序中的网页,并分发它本身。使用PhoneGap将网页打包为本机应用程序的入口门槛极低。



PhoneGap方法的弱点



PhoneGap应用程序中的用户界面的质量将根据平台上的Web视图和呈现引擎的质量而变化。在iOS上基于Webkit的呈现引擎是强大的,并提供最佳的性能。 Android网页检视功能正常,但有一些显着的限制。



PhoneGap也无法使用本机使用者介面进行扩充。



检查此链接以获取更多信息: Phonegap教程


If I need to explain my self whats the difference between a hybrid app and a application built using phonegap, how I am going to explain ?

解决方案

Phonegap

PhoneGap is basically a Hybrid Application.

What is PhoneGap Trying To Accomplish?

The purpose of PhoneGap is to allow HTML-based web applications to be deployed and installed as native applications. PhoneGap web applications are wrapped in a native application shell, and can be installed via the native app stores for multiple platforms. Additionally, PhoneGap strives to provide a common native API set which is typically unavailable to web applications, such as basic camera access, device contacts, and sensors not already exposed in the browser.

To run a PhoneGap application on a native emulator/simulator, developers will generate a project for each of the native platforms they wish to support, configure that project’s "web root" directory in Xcode, Eclipse, or whatever native toolchain is needed, and then run the project using that tool.

Strengths of the PhoneGap Approach

Any native platform that supports a web view or web runtime can be a PhoneGap platform. Anyone who can write HTML, CSS, and even a small bit of JavaScript can wrap up a web page in a native app and distribute it as such. The barrier to entry in using PhoneGap to package web pages as native apps is extremely low.

Weaknesses of the PhoneGap Approach

The quality of the user interface in a PhoneGap application will vary based on the quality of the web view and rendering engine on the platform. The Webkit-based rendering engine on iOS is strong, and provides the best performance. The Android web view is functional, but has some notable limitations.

PhoneGap also cannot be extended with native user interface. The end developer’s application its self lives inside a web view, and user interface is rendered in HTML.

Check this link for more Info : Phonegap Tutorial

这篇关于混合应用程序和phone-gap cardova应用程序之间有什么区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆