apache cordova 和 ionic 有什么区别? [英] What is the difference between apache cordova and ionic?

查看:37
本文介绍了apache cordova 和 ionic 有什么区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想开发一个混合移动应用程序,我想知道 Cordova 和 ionic 有什么区别?

I want to develop a hybrid mobile application and I want to know what is the difference between Cordova and ionic?

推荐答案

  • Apache Cordova 是一个社区项目,让您可以使用一个唯一代码为各种移动平台构建移动应用程序基础,因为您使用网络技术(HTML5、Javascript 和 CSS3)开发您的应用,而不是依赖于特定于平台的(原生)API,例如 Android、iOS 或 Windows Phone 的 API.
  • PhonegapCordova 的一个版本 但它是 Adob​​e 产品.
  • Ionic Framework 是一组 css 类和一个 Javascript 指令和模块库,构建在 Cordova,使用 AngularJS.
    • Apache Cordova is a community project, letting you build mobile apps for various mobile platforms with one unique code base, as you develop your app with web technologies (HTML5, Javascript and CSS3) instead of relying on platform-specific (native) APIs like those of Android, iOS, or Windows Phone.
    • Phonegap is a version of Cordova but it's an Adobe product.
    • Ionic Framework is a set of css classes and a library of Javascript directives and modules, built on top of Cordova, with AngularJS.
    • 这里摘自 Apache Cordova 维基百科页面,但对于 PhoneGapIonic 以及:

      Here is an extract from Apache Cordova Wikipedia page, but that is true for PhoneGap and Ionic as well:

      由此产生的应用程序被称为混合,这意味着它们既不是真正的原生移动应用程序(因为所有布局渲染都是通过 Web 视图而不是平台的原生 UI 框架完成的),也不是纯粹的 Web-基于(因为它们不仅是 Web 应用,而且被打包为用于分发的应用,并且可以访问本机设备 API).

      The resulting applications are said to be hybrid, meaning that they are neither truly native mobile application (because all layout rendering is done via Web views instead of the platform's native UI framework) nor purely Web-based (because they are not just Web apps, but are packaged as apps for distribution and have access to native device APIs).

      这三个项目都是免费开源.

      这篇关于apache cordova 和 ionic 有什么区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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