Apache Cordova vs PhoneGap: What are the differences?
Apache Cordova: Platform for building native mobile applications using HTML, CSS and JavaScript. Apache Cordova is a set of device APIs that allow a mobile app developer to access native device function such as the camera or accelerometer from JavaScript. Combined with a UI framework such as jQuery Mobile or Dojo Mobile or Sencha Touch, this allows a smartphone app to be developed with just HTML, CSS, and JavaScript; PhoneGap: Easilily create mobile apps using HTML, CSS, and JavaScript. PhoneGap is a web platform that exposes native mobile device apis and data to JavaScript. PhoneGap is a distribution of Apache Cordova. PhoneGap allows you to use standard web technologies such as HTML5, CSS3, and JavaScript for cross-platform development, avoiding each mobile platforms' native development language. Applications execute within wrappers targeted to each platform, and rely on standards-compliant API bindings to access each device's sensors, data, and network status.
Apache Cordova and PhoneGap can be primarily classified as "Cross-Platform Mobile Development" tools.
Some of the features offered by Apache Cordova are:
- Cross-platform (CLI) workflow
- Platform-centered workflow
- Hundreds of plugins
On the other hand, PhoneGap provides the following key features:
"Lots of plugins" is the primary reason why developers consider Apache Cordova over the competitors, whereas "Javascript" was stated as the key factor in picking PhoneGap.
Apache Cordova and PhoneGap are both open source tools. It seems that PhoneGap with 4.15K GitHub stars and 974 forks on GitHub has more adoption than Apache Cordova with 766 GitHub stars and 327 GitHub forks.
According to the StackShare community, Apache Cordova has a broader approval, being mentioned in 96 company stacks & 45 developers stacks; compared to PhoneGap, which is listed in 86 company stacks and 36 developer stacks.