Book Image

Sencha Touch Mobile JavaScript Framework

By : John Earl Clark, Bryan P. Johnson
Book Image

Sencha Touch Mobile JavaScript Framework

By: John Earl Clark, Bryan P. Johnson

Overview of this book

<p>Since its initial launch, Sencha Touch has quickly become the gold standard for developing rich mobile web applications with HTML5. Sencha Touch is the first HTML5 mobile JavaScript framework that allows you to develop mobile web apps that look and feel like native apps on both iPhone and Android touchscreen devices. Sencha Touch is the world's first application framework built specifically to leverage HTML5, CSS3 and JavaScript for the highest level of power, flexibility and optimization. It makes specific use of HTML5 to deliver components like audio and video, as well as a localStorage proxy for saving data offline. Sencha Touch also makes extensive use of CSS3 in its components and themes to provide an incredibly robust styling layer, giving you total control over the look of your application.<br /><br />Sencha Touch enables you to design both Apple iOS and Google Android apps without the need for learning multiple arcane programing languages. Instead you can leverage your existing knowledge of HTML and CSS to quickly create rich web applications for mobile devices in JavaScript. This book will show you how you can use Sencha Touch to efficiently produce attractive, exciting, easy-to-use web applications that keep your visitors coming back for more.<br /><br />Sencha Touch Mobile JavaScript Framework teaches you all you need to get started with Sencha Touch and build awesome mobile web applications. Beginning with an overview of Sencha Touch, this book will guide you through creating a complete simple application followed by styling the user interface and the list of Sencha Touch components explained through comprehensive examples. Next, you will learn about the essential touch and component events, which will help you create rich dynamic animations. The book follows this up with information about core data packages and dealing with data and wraps it up with building another simple but powerful Sencha Touch application.<br /><br />In short, this book has the step by step approach and extensive content to make a beginner to Sencha Touch into an ace quickly and easily.<br /><br />Exploit Sencha Touch &ndash; a cross-platform library aimed at next generation, touch-enabled devices</p>
Table of Contents (16 chapters)
Sencha Touch Mobile JavaScript Framework
Credits
About the Authors
About the Reviewer
www.PacktPub.com
Preface
Index

Summary


In this chapter, we covered a few advanced topics for the aspiring Sencha Touch developer. We first talked about creating your own API to communicate with a database server. We covered the REST method of communication for sending and receiving data from the server and discussed some options for building your own API.

Note

More resources on creating an API:

We then covered how to take your application offline using manifests and the Application Cache. We talked about best practices for alerting the user that the application is offline and about how you can detect the availability of an Internet connection using Sencha Touch and the device's web browser.

Note

More resources on how to take your application offline: