The iPhone is a major innovation in how people interact with computers and hundreds of thousands of people want to know how to easily create truly wonderful applications quickly and easily. This book teaches and shows you how you can use this new device to create applications using the JavaScript language. Product Description
"For those not ready to tackle the complexities of Objective-C, this is a great way to get started building iPhone apps. If you know the basics of HTML, JavaScript, and CSS, you'll be building apps in no time."
-August Trometer, Owner of FoggyNoggin Software, www.foggynoggin.com
Discover the Easier, Faster Way to Build High-Quality iPhone Applications
Now, you don't need to dive headfirst into Objective-C to write state-of-the-art applications for the iPhone. You can use web development tools and technologies you already know: JavaScript, HTML, and CSS. In this book, long-time web and mobile application developer Lee S. Barney shows you how to use the QuickConnect and PhoneGap frameworks to create secure, high-quality, modular hybrid iPhone applications.
Lee S. Barney walks you through the entire hybrid iPhone development process, from creating great user interfaces to compiling, deploying, and executing applications. Along the way, he introduces techniques and sample code designed to streamline development, eliminate complexity, optimize performance, and leverage all iPhone's native capabilities-from its accelerometer and GPS to its built-in database. Coverage includes
Using Dashcode and Xcode together to create unique, exciting hybrid iPhone applications
Using the QuickConnect JavaScript API to perform tasks ranging from vibrating the phone to accessing the accelerometer and GPS location data
Accessing native iPhone functionality using the PhoneGap JavaScript API
Storing, retrieving, and managing data on the iPhone, even without network access
Using XMLHttpRequest to access or synchronize remote data and use web services
Creating Google-based maps for your own app that work like those you see in the iPhone's Maps application
This book systematically lowers the barriers to iPhone development, enabling web developers to build any iPhone application they can imagine without long development cycles or steep learning curves!
Features + Benefits
How to create standalone applications in JavaScript quickly and easily using modular techniques
How to use the new WebKit capabilities such as JavaScript database access and CSS animation
How to use Dashcode and Xcode together to quickly and easily create and deploy hybrid JavaScript applications
How to use gestures and the accelerometer/orientation sensors to control applications written in JavaScript
How to use memory and CPU management tools to reduce the footprint of and increase the speed of hybrid applications
Backcover
"For those not ready to tackle the complexities of Objective-C, this is a great way to get started building iPhone apps. If you know the basics of HTML, JavaScript, and CSS, you'll be building apps in no time."
-August Trometer, Owner of FoggyNoggin Software, www.foggynoggin.com
Discover the Easier, Faster Way to Build High-Quality iPhone Applications
Now, you don't need to dive headfirst into Objective-C to write state-of-the-art applications for the iPhone. You can use web development tools and technologies you already know: JavaScript, HTML, and CSS. In this book, long-time web and mobile application developer Lee S. Barney shows you how to use the QuickConnect and PhoneGap frameworks to create secure, high-quality, modular hybrid iPhone applications.
Lee S. Barney walks you through the entire hybrid iPhone development process, from creating great user interfaces to compiling, deploying, and executing applications. Along the way, he introduces techniques and sample code designed to streamline development, eliminate complexity, optimize performance, and leverage all iPhone's native capabilities-from its accelerometer and GPS to its built-in database. Coverage includes
Using Dashcode and Xcode together to create unique, exciting hybrid iPhone applications
Using the QuickConnect JavaScript API to perform tasks ranging from vibrating the phone to accessing the accelerometer and GPS location data
Accessing native iPhone functionality using the PhoneGap JavaScript API
Storing, retrieving, and managing data on the iPhone, even without network access
Using XMLHttpRequest to access or synchronize remote data and use web services
Creating Google-based maps for your own app that work like those you see in the iPhone's Maps application
This book systematically lowers the barriers to iPhone development, enabling web developers to build any iPhone application they can imagine without long development cycles or steep learning curves!
Preface xiii
Chapter 1: Developing with Dashcode and Xcode 1
Chapter 2: JavaScript Modularity and iPhone Applications 25
Chapter 3: Creating iPhone User Interfaces 45
Chapter 4: GPS, Acceleration, and Other Native Functions with QuickConnect 75
Chapter 5: Hybrid Applications, GPS, Acceleration, and Other Native Functions with PhoneGap 95
Chapter 6: Embedding Google Maps 111
Chapter 7: Database Access 127
Chapter 8: Remote Data Access 155
Appendix A: Introduction to JSON 173
Appendix B: The QuickConnectFamily Development Roadmap 179
Appendix C: The PhoneGap Development Roadmap 183
"For those not ready to tackle the complexities of Objective-C, this is a great way to get started building iPhone apps. If you know the basics of HTML, JavaScript, and CSS, you'll be building apps in no time." --August Trometer, Owner of FoggyNoggin Software, www.foggynoggin.com Discover the Easier, Faster Way to Build High-Quality iPhone Applications Now, you don't need to dive headfirst into Objective-C to write state-of-the-art applications for the iPhone. You can use web development tools and technologies you already know: JavaScript, HTML, and CSS. In this book, long-time web and mobile application developer Lee S. Barney shows you how to use the QuickConnect and PhoneGap frameworks to create secure, high-quality, modular hybrid iPhone applications. Lee S. Barney walks you through the entire hybrid iPhone development process, from creating great user interfaces to compiling, deploying, and executing applications. Along the way, he introduces techniques and sample code designed to streamline development, eliminate complexity, optimize performance, and leverage all iPhone's native capabilities--from its accelerometer and GPS to its built-in database.
Coverage includes -Using Dashcode and Xcode together to create unique, exciting hybrid iPhone applications
- Using the QuickConnect JavaScript API to perform tasks ranging from vibrating the phone to accessing the accelerometer and GPS location data
- Accessing native iPhone functionality using the PhoneGap JavaScript API
- Storing, retrieving, and managing data on the iPhone, even without network access
- Using XMLHttpRequest to access or synchronize remote data and use web services
- Creating Google-based maps for your own app that work like those you see in the iPhone's Maps application
This book systematically lowers the barriers to iPhone development, enabling web developers to build any iPhone application they can imagine without long development cycles or steep learning curves!
"For those not ready to tackle the complexities of Objective-C, this is a great way to get started building iPhone apps. If you know the basics of HTML, JavaScript, and CSS, you'll be building apps in no time."
-August Trometer, Owner of FoggyNoggin Software, www.foggynoggin.com
Discover the Easier, Faster Way to Build High-Quality iPhone Applications
Now, you don't need to dive headfirst into Objective-C to write state-of-the-art applications for the iPhone. You can use web development tools and technologies you already know: JavaScript, HTML, and CSS. In this book, long-time web and mobile application developer Lee S. Barney shows you how to use the QuickConnect and PhoneGap frameworks to create secure, high-quality, modular hybrid iPhone applications.
Lee S. Barney walks you through the entire hybrid iPhone development process, from creating great user interfaces to compiling, deploying, and executing applications. Along the way, he introduces techniques and sample code designed to streamline development, eliminate complexity, optimize performance, and leverage all iPhone's native capabilities-from its accelerometer and GPS to its built-in database. Coverage includes
Using Dashcode and Xcode together to create unique, exciting hybrid iPhone applications
Using the QuickConnect JavaScript API to perform tasks ranging from vibrating the phone to accessing the accelerometer and GPS location data
Accessing native iPhone functionality using the PhoneGap JavaScript API
Storing, retrieving, and managing data on the iPhone, even without network access
Using XMLHttpRequest to access or synchronize remote data and use web services
Creating Google-based maps for your own app that work like those you see in the iPhone's Maps application
This book systematically lowers the barriers to iPhone development, enabling web developers to build any iPhone application they can imagine without long development cycles or steep learning curves!
Features + Benefits
How to create standalone applications in JavaScript quickly and easily using modular techniques
How to use the new WebKit capabilities such as JavaScript database access and CSS animation
How to use Dashcode and Xcode together to quickly and easily create and deploy hybrid JavaScript applications
How to use gestures and the accelerometer/orientation sensors to control applications written in JavaScript
How to use memory and CPU management tools to reduce the footprint of and increase the speed of hybrid applications
Backcover
"For those not ready to tackle the complexities of Objective-C, this is a great way to get started building iPhone apps. If you know the basics of HTML, JavaScript, and CSS, you'll be building apps in no time."
-August Trometer, Owner of FoggyNoggin Software, www.foggynoggin.com
Discover the Easier, Faster Way to Build High-Quality iPhone Applications
Now, you don't need to dive headfirst into Objective-C to write state-of-the-art applications for the iPhone. You can use web development tools and technologies you already know: JavaScript, HTML, and CSS. In this book, long-time web and mobile application developer Lee S. Barney shows you how to use the QuickConnect and PhoneGap frameworks to create secure, high-quality, modular hybrid iPhone applications.
Lee S. Barney walks you through the entire hybrid iPhone development process, from creating great user interfaces to compiling, deploying, and executing applications. Along the way, he introduces techniques and sample code designed to streamline development, eliminate complexity, optimize performance, and leverage all iPhone's native capabilities-from its accelerometer and GPS to its built-in database. Coverage includes
Using Dashcode and Xcode together to create unique, exciting hybrid iPhone applications
Using the QuickConnect JavaScript API to perform tasks ranging from vibrating the phone to accessing the accelerometer and GPS location data
Accessing native iPhone functionality using the PhoneGap JavaScript API
Storing, retrieving, and managing data on the iPhone, even without network access
Using XMLHttpRequest to access or synchronize remote data and use web services
Creating Google-based maps for your own app that work like those you see in the iPhone's Maps application
This book systematically lowers the barriers to iPhone development, enabling web developers to build any iPhone application they can imagine without long development cycles or steep learning curves!
Preface xiii
Chapter 1: Developing with Dashcode and Xcode 1
Chapter 2: JavaScript Modularity and iPhone Applications 25
Chapter 3: Creating iPhone User Interfaces 45
Chapter 4: GPS, Acceleration, and Other Native Functions with QuickConnect 75
Chapter 5: Hybrid Applications, GPS, Acceleration, and Other Native Functions with PhoneGap 95
Chapter 6: Embedding Google Maps 111
Chapter 7: Database Access 127
Chapter 8: Remote Data Access 155
Appendix A: Introduction to JSON 173
Appendix B: The QuickConnectFamily Development Roadmap 179
Appendix C: The PhoneGap Development Roadmap 183
"For those not ready to tackle the complexities of Objective-C, this is a great way to get started building iPhone apps. If you know the basics of HTML, JavaScript, and CSS, you'll be building apps in no time." --August Trometer, Owner of FoggyNoggin Software, www.foggynoggin.com Discover the Easier, Faster Way to Build High-Quality iPhone Applications Now, you don't need to dive headfirst into Objective-C to write state-of-the-art applications for the iPhone. You can use web development tools and technologies you already know: JavaScript, HTML, and CSS. In this book, long-time web and mobile application developer Lee S. Barney shows you how to use the QuickConnect and PhoneGap frameworks to create secure, high-quality, modular hybrid iPhone applications. Lee S. Barney walks you through the entire hybrid iPhone development process, from creating great user interfaces to compiling, deploying, and executing applications. Along the way, he introduces techniques and sample code designed to streamline development, eliminate complexity, optimize performance, and leverage all iPhone's native capabilities--from its accelerometer and GPS to its built-in database.
Coverage includes -Using Dashcode and Xcode together to create unique, exciting hybrid iPhone applications
- Using the QuickConnect JavaScript API to perform tasks ranging from vibrating the phone to accessing the accelerometer and GPS location data
- Accessing native iPhone functionality using the PhoneGap JavaScript API
- Storing, retrieving, and managing data on the iPhone, even without network access
- Using XMLHttpRequest to access or synchronize remote data and use web services
- Creating Google-based maps for your own app that work like those you see in the iPhone's Maps application
This book systematically lowers the barriers to iPhone development, enabling web developers to build any iPhone application they can imagine without long development cycles or steep learning curves!