iPhone JavaScript Cookbook
Undoubtedly, the iPhone is one of the most exciting mobile devices in the world. Its iOS is used in other Apple devices such as the iPad and iPod Touch. With this book you’ll learn how to build and develop applications for these devices without applying Apple’s burdensome and at times restrictive technologies. Just use your experience and knowledge combined with web front-end technologies like JavaScript to build quality web apps. Nobody will know you haven’t used Objective-C and Cocoa.
The iPhone JavaScript Cookbook offers a set of practical and clear recipes with a step-by-step approach for building your own iPhone applications applying only web technologies such as JavaScript and AJAX. Web developers won’t need to learn a new programming language for building iOS applications with a native look and feel.
The first part of the book introduces you to the world of iPhone applications. Understanding how it works is required for designing good user interfaces for this device. You will continue learning about how to apply multimedia features to your applications. Common features of web applications, such as AJAX and SQL, can also be applied to our iPhone applications. The third part of the book explains how to deal with specific features of iPhone such as the accelerometer. At the end, you learn how to offer additional features through external websites. With the iPhone JavaScript Cookbook, you will be able to develop outstanding web applications with a for Apple’s mobile devices, offering your users all of the advantages of the native look and feel.
What you will learn from this book :
- Installing and configuring a set of frameworks to make your life easier for developing web applications for iPhone
- Designing graphical user interfaces for iPhone applications using XHTML, CSS, and JavaScript
- Working with different events, actions, and effects, including touch gestures, multi-touch events, drag & drop, and sliding
- Dealing with images and pictures including accessing the device’s camera
- Adding video and sound for your iPhone web applications
- Applying AJAX for better performance in web applications
- Differences between native and web applications for iPhone
- Working with data and SQL using the new HTML 5 features of Safari Mobile
- Accessing phone-specific features such as the Address Book for contacts
- Recognizing accelerometer movements and other features about positioning and geolocation
- Integrating your application with popular third-party websites and services such as Facebook, Twitter, and Flickr
Approach
Written in a cookbook style, this book offers solutions using a recipe-based approach. Each recipe contains step-by-step instructions followed by an analysis of what was done in each task and other useful information. The cookbook approach means you can dive into whatever recipes you want in no particular order.
Who this book is written for
This book is for web developers interested in applying their knowledge for building web applications for iOS devices. You can develop your own iPhone web applications using nothing but JavaScript combined with XHTML and CSS. You can even give these apps a native look and feel though you won’t be able to submit them to the App Store. You will develop an application for iOS without having to learn the Objective-C programming language. This is the book for any iPhone developer looking to side-step Apple’s totalitarian App Store regime.
Book Details
- Paperback: 328 pages
- Publisher: Packt Publishing (June 2011)
- Language: English
- ISBN-10: 1849691088
- ISBN-13: 978-1849691086