Is there a difference between PhoneGap and Cordova commands? -
i installed phonegap first time , browsed through docs. confuses me fact docs using command "phonegap" , "cordova".
android platform guide:
$ cordova create hello com.example.hello "helloworld"
command line interface guide tells:
$ phonegap create hello com.example.hello helloworld
is there difference between 2 commands (resulting in different files , folder structures) or aliases same thing?
http://phonegap.com/blog/2012/03/19/phonegap-cordova-and-whate28099s-in-a-name/
i think url explains need. phonegap built on apache cordova nothing else. can think of apache cordova engine powers phonegap. on time, phonegap distribution may contain additional tools , thats why differ in command same thing.
edit: info added command difference , phonegap can while apache cordova can't or viceversa
first of command line option of phonegap
http://docs.phonegap.com/en/edge/guide_cli_index.md.html
apache cordova options http://cordova.apache.org/docs/en/3.0.0/guide_cli_index.md.html#the%20command-line%20interface
as of commands similar. there few differences (note: no difference in codebase)
adobe can add additional features phonegap not in cordova ,eg: building applications remotely need have account on https://build.phonegap.com
though local builds phonegap cli uses cordova cli (link check: https://github.com/phonegap/phonegap-cli/blob/master/lib/phonegap/util/platform.js)
platform environment names. mapping:
'local' => cordova-cli
'remote' => phonegap/build
also following repository: modules requires cordova are:
build create install local install local plugin add , list , remove run mode platform update run
which dont include cordova:
remote build remote install remote login,logout remote run serve
Comments
Post a Comment