
Developing Hybrid Applications for the iPhone Using HTML, CSS, and JavaScript to Build Dynamic Apps for the iPhone: Using HTML, CSS, and JavaScript to Build Dynamic Apps for the iPhone
by Barney, LeeRent Book
New Book
We're Sorry
Sold Out
Used Book
We're Sorry
Sold Out
eBook
We're Sorry
Not Available
How Marketplace Works:
- This item is offered by an independent seller and not shipped from our warehouse
- Item details like edition and cover design may differ from our description; see seller's comments before ordering.
- Sellers much confirm and ship within two business days; otherwise, the order will be cancelled and refunded.
- Marketplace purchases cannot be returned to eCampus.com. Contact the seller directly for inquiries; if no response within two days, contact customer service.
- Additional shipping costs apply to Marketplace purchases. Review shipping costs at checkout.
Summary
Author Biography
Lee S. Barney (Rexburg, Idaho) is a professor at Brigham Young University—Idaho in the Computer Information Technology Department of the Business and Communication College. He has worked as CIO and CTO of @HomeSoftware, a company that produced web-based, mobile data, and scheduling applications for the home health care industry. Prior to this, he worked for more than seven years as a programmer, senior software engineer, quality assurance manager, development manager, and project manager for AutoSimulations, Inc., the leading supplier of planning and scheduling software to the semiconductor industry. He is the author of Oracle Database AJAX & PHP Web Application Development.
Table of Contents
Creating Hybrid iPhone Applications with JavaScript | |
Introduction | |
Hybrid application runs on the phone but is built in JavaScript | |
Hybrid applications are not mini web browsers | |
Hybrid applications use standard iPhone UI components | |
Tools and Modularity make hybrid application creation easy | |
Developing with Dashcode and Xcode Hybrid application creation makes use of both Dashcode and Xcode | |
Dashcode is used for creating the user interface and JavaScript creation, editing, and debugging, and Xcode is used for compiling, deploying, and executing the application on the device | |
This chapter discusses and gives examples of how these two tools can effectively be used together to develop hybrid applications without burdening the developer | |
Introduction | |
Use Dashcode to | |
Create | |
Debug | |
Use Xcode to Deploy | |
The Dashcode QChybrid custom application template | |
Forward reference to appendix B for installation | |
Component parts | |
Adding Dashcode library objects | |
Adding JavaScript code to handle events in the interface | |
The Xcode hybrid application template | |
Forward reference to appendix B for installation | |
Component parts | |
Objective-C iPhone application design | |
Delegates and Controllers | |
The application delegate | |
Explanation and code | |
The browser view controller | |
Explanation | |
Purpose | |
Rotation of the phone | |
Dialing phone numbers | |
Source code example and description | |
Forward reference to Chapter 7 | |
JavaScript Modularity in iPhone Applications This chapter shows the reader how to create and use modularity in JavaScript to quickly and easily create dynamic iPhone hybrid applications | |
Modularity | |
What is modularity? | |
Tight cohesion | |
Loose coupling | |
Why modularity? | |
Eases development | |
Eases support | |
Division of labor | |
Business control functions in JavaScript | |
Purpose | |
Encapsulate decision making | |
Handles one or few decisions | |
Should data be retrieved? | |
What data should be retrieved? | |
Forward reference to Chapter 3 | |
Example | |
Retrieving user information | |
Source code example and description | |
View control functions in JavaScript | |
Purpose | |
Encapsulate screen updating | |
Code becomes reusable for multiple commands | |
Handles updating one or more portions of the screen | |
Multiple VCF can be used for one command | |
Example | |
Displaying user information | |
Source code example and description | |
Command - response behavior | |
Linking BCF's and VCF's | |
Dispatching | |
One BCF per command | |
Multiple VCF's per command | |
Command validation | |
Validation must happen prior to dispatching to BCF's and VCF's | |
Multiple Validation functions per comma | |
Table of Contents provided by Publisher. All Rights Reserved. |
Excerpts
An electronic version of this book is available through VitalSource.
This book is viewable on PC, Mac, iPhone, iPad, iPod Touch, and most smartphones.
By purchasing, you will be able to view this book online, as well as download it, for the chosen number of days.
Digital License
You are licensing a digital product for a set duration. Durations are set forth in the product description, with "Lifetime" typically meaning five (5) years of online access and permanent download to a supported device. All licenses are non-transferable.
More details can be found here.
A downloadable version of this book is available through the eCampus Reader or compatible Adobe readers.
Applications are available on iOS, Android, PC, Mac, and Windows Mobile platforms.
Please view the compatibility matrix prior to purchase.