Creating fluid, multiple app views
One of the strengths of PhoneGap is that the app UI and logic are built upon web standards. A mobile app is made up of several views that allow the user to interact with its core features. As for a web app, when working with PhoneGap, you can think of a view as a web page or a fragment of a web page.
You can create multiple views in your app using different HTML pages or dynamically changing the markup of a single HTML page. The first approach is usually known as multipage pattern; the second one is known as single-page pattern.
Generally speaking, the multipage pattern is best suited to applications that mostly comprise static content or applications that rely mostly on the server for the business logic. When most of the content is static, you can package it using PhoneGap and deliver it as an app. When the business logic is defined on the server, you can think of the client as the presentation layer of your app and rely on a good mobile connection to make...