Book Detail
Paperback: 168 pages
Publisher: O'Reilly Media (June 27, 2012)
Language: English
ISBN-10: 1449327850
ISBN-13: 978-1449327859
File Size : 13.7 Mb | File Format : PDF + Epub
Book Description When developing apps for the latest smartphones, you’re faced with several vexing questions. How many platforms do you need to accommodate? What level of support do mobile browsers provide? To help you address these and many other key issues, this guide provides a hands-on tour of the most powerful JavaScript frameworks available today.
You’ll build sample apps with jQuery Mobile, Sencha Touch, and PhoneGap to learn the unique advantages—and disadvantages—of each framework. From there, you can determine which one is best for your project. This book is ideal for web developers familiar with JavaScript, HTML, and CSS.
- Experience the simplicity of jQuery Mobile for building cross-browser applications
- Learn how Sencha Touch’s architecture, widgets, and blazing-fast rendering engine makes it a good choice for enterprise software
- Use PhoneGap to package your web app into a native iOS, Android, or Windows Phone application
- Discover the impact of various HTML5 features on mobile app development
- Pick up JavaScript productivity tips as you delve into its object orientation, closures, and coding conventions
- Test and debug your app with a collection of tips, tricks, and tools
About The Author
Adrian Kosmaczewski has been working as an iOS developer since 2008. Before that, he was a web developer working with classic ASP since 1996, ASP.NET, PHP, Ruby on Rails, Django, and more. He runs a consulting and training business in Oron-la-Ville, Switzerland. He has a degree of Master of Science in Information Technology from the University of Liverpool.
Table of Contents
Chapter 1 HTML5 for Mobile Applications
A Bit of History
Declarations and Meta Tags
HTML5 Applications
HTML5 Application Cache
Testing for HTML5 Features
Geolocation
Device Orientation
Device Motion
Network Connectivity
Canvas
CSS3 Animations and Transitions
Client-Side Storage
Rich Media Tags
Conclusion
Chapter 2 JavaScript Productivity Tips
About JavaScript
Object Literals
Single or Double Quotes?
JavaScript Base Types
Dynamic Overloading of Base Types
Functions
How to Organize Code in namespaces
Create Objects and Arrays the Easy Way
Create a Singleton Object
Scheduling Function Execution
Concatenating Strings
Iterating Over Arrays
Using toString() for Reflection
Easy Code Injection
Object-Oriented Programming in JavaScript
Conclusion
Chapter 3 jQuery Mobile
Supported Platforms
Key Features
At a Glance
To Do List Application
Codiqa
ThemeRoller
Conclusion
Chapter 4 Sencha Touch
Introduction and History
Characteristics
Supported Platforms
Key Features
JavaScript Idioms
Creating a To Do List App
Using Sencha Architect 2
Conclusion
Chapter 5 PhoneGap
Introduction
Installing PhoneGap
Creating an iOS Application
Creating an Android Application
Creating a Windows Phone Application
Accessing Native Functionality
Plug-ins
The JavaScript Bridge
Conclusion
Chapter 6 Debugging and Testing
Your Browser Web Inspector
iWebInspector
Adobe Shadow
Testing
Conclusion
Chapter 7 Conclusion
Download Ebook : Mobile JavaScript Application Development
0 comments:
Post a Comment