Wesley Developing Hybrid Applications for the iPhone, Using HTML CSS and JavaScript to Build Dynamic Apps for the iPhone


წელი:  2009
ავტორი: Lee S. Barney
ISBN-13: 978-0-321-60416-3
ISBN-10: 0-321-60416-4

This book covers the two most commonly used open-source JavaScript software packages for writing applications for the iPhone and iPod touch devices: QuickConnectiPhone and PhoneGap.These packages enable you to build applications that access native device features directly from JavaScript, such as vibration, GPS location information, the accelerometer, and many other things—all without writing a single line of Objective-C or Cocoa. QuickConnectiPhone, downloaded from http://sourceforge.net/projects/quickconnect, exposes the most native device behavior and provides a highly engineered, full-featured framework for development use. QuickConnectiPhone dramatically reduces your application’s time-to-market because part of the framework consists of all of the glue code you have to typically write in Objective-C, Cocoa, and JavaScript. Best of all, it does not require a remote server for hosting JavaScript, HTML, and CSS files. The second package is PhoneGap, downloaded from http://phonegap.com. PhoneGap exposes fewer native behaviors and is a library rather than a full-fledged framework.As a library, PhoneGap enables you to engineer your application any way you want. It does, however, require a remote server for hosting files. To reduce the learning curve and improve your understanding, good, solid examples are used throughout this book. If you want to create installable iPhone applications, have the web skills required, and want to create dynamic, compelling solutions that people will use, this book shows you how using these two packages. Table P.1 compares what each package can do at the time of writing this book.