To start using this framework, follow this guide: http://cordova.apache.org/docs/en/4.0.0/guide_cli_index.md.html#The%20Command-Line%20Interface_installing_the_cordova_cli
PhoneGap and Cordova are two different names for the same framework; in October 2011 PhoneGap was donated to Apache under the name of Apache Cordova; for this reason, you may find references to both names, but the framework is the same.
We could, ourselves, build the application to be distributed, but we will take advantage of the Adobe PhoneGap Build system; you can use it for free, for any open source application and for private applications you want to build.
To get Cordova working, you need to install NodeJS and a Git client; then, after installing Cordova, we use it to create our new application with this command (from the command line):
cordova create PiggyBank com.ko_blueprint.piggybank "Piggy Bank"
Cordova will create a new...