Book Image

HTML5 iPhone Web Application Development

By : Alvin Crespo
Book Image

HTML5 iPhone Web Application Development

By: Alvin Crespo

Overview of this book

<p>Create compelling web applications specifically tailored for distribution on iOS Safari. Work through real world examples with references, and in-depth discussions on the approach; including its benefits and drawbacks.<br /><br />"HTML5 iPhone Web Application Development" strives to teach all levels of developers, beginners and professionals, the process of creating web applications for iOS Safari. Utilizing current industry standards for frontend development, learn to take advantage of HTML5, CSS3 and JavaScript to create compelling software.<br /><br />Start with reviewing current industry standards for frontend development, and end with creating a native application using the same codebase.</p> <p>Your journey will begin with an overview of current industry standards for frontend technology, quickly moving to solve real world issues; from creating a resizable or responsive gallery, to creating a single page application that utilizes the popular Backbone.js framework.</p> <p>"HTML5 iPhone Web Application Development" aims to make you an expert in developing web applications for the iOS Safari platform.</p>
Table of Contents (17 chapters)
HTML5 iPhone Web Application Development
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Transferring a web application


At this point, we have created a sample HelloWorld application using PhoneGap and Xcode. Now, we'll take it up a notch by reviewing transferring our single-page application from Chapter 7, One-page Applications. In this section, we'll go over transferring our assets, including our markup, styles, and scripts, and then learn how to debug our applications. Finally, we'll extend our single-page application by using native functionality that PhoneGap has allowed us to tap into using the code we've already written.

Transferring our assets

Let's start by transferring our assets. This section will briefly go over how to transfer what we have written with a minimal level of effort. The goal here is to basically have the same application we have running natively. We won't be using PhoneGap's built-in features just yet, but we'll have an app up and running quickly.

Including our markup

The first thing we want to do here is open up the Xcode project that was generated previously...