Sencha Touch Cookbook, Second Edition
|Also available on:|
- Learn every aspect of creating, building, packaging, and running a Sencha Touch application
- Integrate your applications with different data sources and present them differently using list, data view, charts, and so on
- Package your application with or without Cordova/PhoneGap and run them on a desktop, emulator, and a real mobile device
Book DetailsLanguage : English
Paperback : 418 pages [ 235mm x 191mm ]
Release Date : August 2013
ISBN : 1782169180
ISBN 13 : 9781782169185
Author(s) : Ajit Kumar
Topics and Technologies : All Books, Mobile Application Development, Mobile, Cookbooks, Open Source
Table of Contents
Chapter 1: Gear Up for the Journey
Chapter 2: Catering to Your Form-related Needs
Chapter 3: Containers and Layouts
Chapter 4: Building Custom Views
Chapter 5: Dealing with Data and Data Sources
Chapter 6: Adding Components
Chapter 7: Adding Audio/Visual Appeal
Chapter 8: Taking Your Application Offline
Chapter 9: Increased Relevance Using Geolocation
Chapter 10: Device Integration
Download the code and support files for this book.
Please let us know if you have found any errors not listed on this list by completing our errata submission form. Our editors will check them and add them to this list. Thank you.
Errata- 4 submitted: last submission 19 May 2014
Errata Type: Technical | Page No: 14
It is: Copy the www directory and located at C:\sencha-touch-cookbook\softwares\touch-2.2.1 folder to the assets directory and rename it to touch.
It should be: Copy C:\sencha-touch-cookbook\softwares\ touch-2.2.1 folder to the assets directory and rename it to touch.
Errata Type: Typo | Page No: 72
It is: For example, Toolbar takes care of showing various buttons in the form of a toolbar and Media takes care of playing the audio/video.
It should be: For example, Toolbar takes care of showing various buttons in the form of a toolbar and tab.Panel takes care of showing mutiple tabs.
Errata type: Typo | Page no: 369
It is: If your application has been packaged using Sencha Cmd, which we will learn about in the next chapter, this implementation will be used.
It should be: If your application has been packaged using Sencha Cmd, this implementation will be used.
Errata type: Technical | Page no: 369
It is : In this recipe, we will see how to integrate with the Cordova API as Sencha does not provide the Cordova version of their Contact API, and you would not be able to get the contacts working if you packaged your application using Cordova.
It should be: In this recipe, we will see how to integrate with the Cordova API as Sencha does not provide the Cordova version of their Contact API, and you would not be able to get the contacts working if you packaged your application without using Cordova.
What you will learn from this book
- Set up your project for development, then build, package, and run it in a desktop browser, emulator, or a mobile device
- Understand form panels and various form fields and their behaviour
- Learn about different layouts to create well structured UI
- Create complete custom views with user interaction
- Work with different types of data and data sources, model them, and use them on components
- Define new components and extend the framework components to suite your need
- Get your application work in offline mode with automatic sync
Sencha Touch Cookbook, Second Edition is a practical, hands-on guide with easy to follow recipes that provide you with clear, step-by-step instructions, which will help you take complete advantage of the power of Sencha Touch 2 and will help you to build amazing applications for the mobile world.
Sencha Touch Cookbook, Second Edition starts by showing you how to set up your project for development, then walks through building, packaging, and running it in a browser, emulator, or a real device. With the groundwork set, the subsequent recipes of the book take you through the different UI components offered by the framework and explains how to use them, when to use them, and, if needed, how to extend them for your own application need.
You will also learn how to model your client side data, load data from different data sources, and use them on the data-centric UI components. The later parts of the book cover the practical day-to-day problems like how to create a custom view, how to take your application offline and support automatic sync, how to utilize the Geolocation to learn more about the user, how to utilize device features such as camera, contact, orientation, and how to link your application behaviour with the device buttons such as Back, Search, and so on. At the end, the book shows you how to create native packages without using PhoneGap/Cordova using Sencha Cmd.
Using this book, you will learn everything about using Sencha Touch classes and components to build mobile applications that can run across multiple platforms.
The book is written in a Cookbook style, presenting examples in the style of recipes, allowing you to go directly to your topic of interest or follow topics throughout a chapter to gain in-depth knowledge.
Who this book is for