RED.Skull
RED.Skull

Reputation: 1736

Unclear Difference between Phonegap and Apache cordova

After reading this article still i am not clear with Phonegap and Cordova. Some where said that Cordova is an engine which power up the Phonegap (like webkit in browser) My assumption is

  1. Phonegap -- Adobe product --> used for taking remote build Apache , Its not open source
  2. Cordova -- ASF product --> support only native machine build. (For an example if developer using Windows PC. To take build for IOS, he needs to setup Cordova environment in MAC too), but free of cost when moves to production.

Other than this anyother major concepts left. Best answer for this post will improve better understanding on this basic concepts.

http://docs.sencha.com/touch/2.3.1/#!/guide/cordova what about this one still i am in confused state

Upvotes: 0

Views: 807

Answers (1)

keldar
keldar

Reputation: 6252

PhoneGap is Cordova with some additional tools such as PhoneGap Build (which takes your HTML and packages it into the native installables (APK/IPA/XAP/etc.). Look at docs.phonegap.com and http://cordova.apache.org/docs/en/3.3.0/index.html you'll see they are exactly the same.

Cordova is a bridge between JavaScript and the native hardware. This means you can write a web app which runs on all platforms and uses Cordova to call native hardware calls through an abstract interface (i.e. the Cordova JavaScript library). E.g. I might need to take a photo, save it to the device's storage and then upload it (admittedly, HTML5 supports this out of the box anyway) - but with Cordova I can do this using the same JavaScript code - so much less coding effort.

The difference between a web app you access browsing the web, and a Cordova web app, is the Cordova web app is package into native binaries to imitate a native app (which is accessed through the device's app store and installed/updated like a native app).

Upvotes: 1

Related Questions