Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Phonegap Essentials

You're reading from   Phonegap Essentials Use PhoneGap to build cross-platform mobile applications quickly and efficiently

Arrow left icon
Product type Paperback
Published in Sep 2015
Publisher
ISBN-13 9781785284687
Length 178 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Ivan Turkovic Ivan Turkovic
Author Profile Icon Ivan Turkovic
Ivan Turkovic
Arrow right icon
View More author details
Toc

Project folder structure

PhoneGap emphasizes convention over configuration when it comes to its project folder structure. There are four main folders and a configuration file called config.xml. The configuration file is where you can change different preferences of the application, such as the starting home screen, that will load first. Throughout the book we will use the default option for home screen page that is pointing to index.html.

There are four folders in the root structure:

  • hooks: Contains all the scripts that are used to customize different PhoneGap commands. Any scripts added to these internal folders will be executed before and after the specific command that corresponds to the folder name. It is useful to create your own building process in case some manual work is required with some of the plugins. These features are meant for advanced users but it is worth explaining them since the folder is created by default.
  • platforms: Inside this folder, new folders are created for each...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image