Book Image

PhoneGap Beginners Guide (third edition)

Book Image

PhoneGap Beginners Guide (third edition)

Overview of this book

Table of Contents (22 chapters)
PhoneGap Beginner's Guide Third Edition
About the Authors
About the Reviewers
Related Plugin Resources

Chapter 2. Building Your First PhoneGap Project

In Chapter 1, Introduction to PhoneGap, you learned about one of the problems PhoneGap is trying to solve—developing mobile applications consistently across multiple platforms—and how to set up your build environment. Next, you will delve into the internals of PhoneGap. First, you need to know how the project is structured and how the CLI tools are used.

In this chapter, you will:

  • Take a look at the structure of a PhoneGap/Cordova application

  • Learn about using the command-line tools of Cordova

  • Know about Cordova lifecycle events

  • Create a sample example

  • Get an overview of the browser's debugging tools

  • Review the debug workflow with mobile in mind

  • Learn how to build and deploy the applications