Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the difference between apache cordova and ionic?

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

like image 881
Amazoom Avatar asked Jan 31 '15 16:01

Amazoom


People also ask

Does Ionic still use Cordova?

Ionic started working on a new native runtime to replace Cordova that was fully built in house and deeply integrated into the Ionic developer experience: Capacitor.

What is the difference between React Native and Ionic or Cordova?

React Native provides better performance than Ionic. The additional layer in Ionic, which involves Cordova plugins adds to the slowness since it is building a WebView and not a native app. React Native, on the other hand, wraps around native components, hence providing better performance.

What is the difference between Cordova and Capacitor in Ionic?

In cordova there is a config. xml that automatically configures and builds the native project/app and the user doesn't do anything manually. While with a capacitor you can open the project and do changes in it. This can be one of the reasons why Capacitor developed and people should use it.

Why is Cordova Ionic?

Apache Cordova is an open source native runtime that allows developers to build native mobile apps with HTML, CSS, and JavaScript. Similar to Capacitor, Ionic's own native runtime, Cordova allows developers to access native device features, such as camera, keyboard, and geolocation, using a system of plugins.


2 Answers

  • 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.

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

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).

All three projects are free and open-source.

like image 144
arainone Avatar answered Sep 30 '22 19:09

arainone


PhoneGap is the base, cordova is from Apache which acquired Phonegap. They both are nearly the same now, and ionic is a framework to enhance frontend UI

like image 23
Ashwin G Avatar answered Sep 30 '22 18:09

Ashwin G