Dart vs PhoneGap: What are the differences?
What is Dart? A new web programming language with libraries, a virtual machine, and tools. Dart is a cohesive, scalable platform for building apps that run on the web (where you can use Polymer) or on servers (such as with Google Cloud Platform). Use the Dart language, libraries, and tools to write anything from simple scripts to full-featured apps.
What is 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.
Dart belongs to "Languages" category of the tech stack, while PhoneGap can be primarily classified under "Cross-Platform Mobile Development".
Some of the features offered by Dart are:
- Dart’s comprehensive libraries give you lots of choices
- Compilation to JavaScript lets you deploy Dart apps now
- Pub package manager
On the other hand, PhoneGap provides the following key features:
"Backed by Google" is the primary reason why developers consider Dart over the competitors, whereas "Javascript" was stated as the key factor in picking PhoneGap.
PhoneGap is an open source tool with 4.15K GitHub stars and 974 GitHub forks. Here's a link to PhoneGap's open source repository on GitHub.
According to the StackShare community, PhoneGap has a broader approval, being mentioned in 86 company stacks & 34 developers stacks; compared to Dart, which is listed in 19 company stacks and 74 developer stacks.