Sencha Touch Cookbook

Over 100 recipes for creating HTML5-based cross-platform apps for touch devices with this book and ebook
Preview in Mapt

Sencha Touch Cookbook

Ajit Kumar

Over 100 recipes for creating HTML5-based cross-platform apps for touch devices with this book and ebook
Mapt Subscription
FREE
$29.99/m after trial
eBook
$18.90
RRP $26.99
Save 29%
Print + eBook
$44.99
RRP $44.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$18.90
$44.99
$29.99p/m after trial
RRP $26.99
RRP $44.99
Subscription
eBook
Print + eBook
Start 30 Day Trial

Frequently bought together


Sencha Touch Cookbook Book Cover
Sencha Touch Cookbook
$ 26.99
$ 18.90
Sencha Touch Cookbook, Second Edition Book Cover
Sencha Touch Cookbook, Second Edition
$ 29.99
$ 21.00
Buy 2 for $35.00
Save $21.98
Add to Cart
Subscribe and access every Packt eBook & Video.
 
  • 5,000+ eBooks & Videos
  • 50+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 

Book Details

ISBN 139781849515443
Paperback350 pages

Book Description

Sencha touch is a versatile HTML5-based framework for developing mobile web apps that look and feel native on touch screen devices, and with it you can write your code once and deploy it to both iOS and Android saving you both time and money.

The Sencha touch cookbook has a comprehensive selection of recipes covering everything from installation right through to HTML5 geo location.

The Sencha Touch Cookbook really is your one stop resource for cross platform HTML5 application development. It covers the basics such as setting up an iOS and Android development environment right through to much more complex development issues such as touch gestures, animation, rich media and geo location. Every recipe is practically focused. Maximum action. Minimum theory.

Table of Contents

Chapter 1: Gear up for the Journey
Introduction
Setting up the Android-based development environment
Setting up the iOS-based development environment
Setting up the Blackberry-based development environment
Setting up the browser-based development environment
Setting up the production environment
Detecting the device
Finding information about features that are supported in the current environment
Initializing your application
Tweaking your application to configure itself using profiles
Responding to the orientation change
Chapter 2: Catering to your Form Related Needs
Introduction
Getting your form ready with FormPanel
Working with search
Putting custom validation in the e-mail field
Working with dates using DatePicker
Making a field hidden
Working with the select field
Changing the value using Slider
Spinning the number wheel using Spinner
Toggling between your two choices
Checkbox and Checkbox group
Text and TextArea
Grouping fields with FieldSet
Validating your form
Chapter 3: Containers and Layouts
Introduction
Keeping the container lightweight
Working with Panel
Adding items to a container at runtime
Building wizards using CardLayout
Panel docking using DockLayout
Fitting into the container using FitLayout
Arranging your items horizontally using HBoxLayout
Arranging your items vertically using VBoxLayout
Mixing layouts
Chapter 4: Building Custom Views
Introduction
Basic HTML templating using Template
Using XTemplate for advanced templating
Conditional view rendering using XTemplate
Designing a custom view using DataView
Showing the filtered data
Responding to the user action
Chapter 5: Dealing with Data and Data Sources
Introduction
Creating models
Loading the form using a data model
Working with Store
Converting incoming JSON data into models using JsonReader
Converting incoming XML data into models using XmlReader
Validations in models
Defining the custom validation
Relating models using association
Persisting session-specific data using SessionStorageProxy
Persisting data using LocalStorageProxy
Accessing in-memory data using MemoryProxy
Loading data through AJAX using AjaxProxy
Sorting of the data
Data grouping
Filtering data
Using a cross-domain URL in your application
Chapter 6: Adding the Components
Introduction
Working with Button
Creating a sheet of buttons with ActionSheet
Carousel
Managing a list of data using List
Grouping items in a List
Navigating through a list of data using indexBar
Working with a list of nested data using NestedList
Picking your choice using Picker
Switching between multiple views using SegmentedButton
Working with Tab panels
Quicker access to application features using Toolbar
Creating a new component
Extending an existing component capability
Overriding a component behavior
Adding behavior to an existing component using plugins
Chapter 7: Adding Audio/Visual Appeal
Introduction
Animate me!
Ding-dong! You have a message!
Working with videos
Adding the chart support to your app
Working with an area chart
Generating a bar chart
Creating a column chart
Showing a group of bars and columns
Switching between stacked and grouped orientation
Highlighting and displaying an item detail
Creating a gauge chart
Creating a line chart
Creating a pie chart
Rotating the pies
Grouping the pies
Highlighting a pie
Using a radar chart
Using a scatter chart
Chapter 8: Taking your Application Offline
Introduction
Detecting offline mode
Storing your data offline
Storing your images offline
Application caching
Chapter 9: Engaging Users by Responding to Events
Introduction
Handling Touch Events
Handling Scroll Events
Handling Tap Events
Handling Double Tap Events
Handling TapHold Events
Handling Swipe Events
Handling Pinch Events
Handling Drag Events
Chapter 10: Increased Relevance Using Geolocation
Introduction
Finding out your location
Auto-update of your location
Tracking direction and speed
Hooking up Google Maps with your application
Working with Google Maps options
Mapping Geolocation on Google Maps

What You Will Learn

  • Set up your production environment
  • Add life to your application using animations and media
  • Make your application available offline.
  • Engage users by responding to the events
  • Map GeoLocation on Google Maps

Authors

Table of Contents

Chapter 1: Gear up for the Journey
Introduction
Setting up the Android-based development environment
Setting up the iOS-based development environment
Setting up the Blackberry-based development environment
Setting up the browser-based development environment
Setting up the production environment
Detecting the device
Finding information about features that are supported in the current environment
Initializing your application
Tweaking your application to configure itself using profiles
Responding to the orientation change
Chapter 2: Catering to your Form Related Needs
Introduction
Getting your form ready with FormPanel
Working with search
Putting custom validation in the e-mail field
Working with dates using DatePicker
Making a field hidden
Working with the select field
Changing the value using Slider
Spinning the number wheel using Spinner
Toggling between your two choices
Checkbox and Checkbox group
Text and TextArea
Grouping fields with FieldSet
Validating your form
Chapter 3: Containers and Layouts
Introduction
Keeping the container lightweight
Working with Panel
Adding items to a container at runtime
Building wizards using CardLayout
Panel docking using DockLayout
Fitting into the container using FitLayout
Arranging your items horizontally using HBoxLayout
Arranging your items vertically using VBoxLayout
Mixing layouts
Chapter 4: Building Custom Views
Introduction
Basic HTML templating using Template
Using XTemplate for advanced templating
Conditional view rendering using XTemplate
Designing a custom view using DataView
Showing the filtered data
Responding to the user action
Chapter 5: Dealing with Data and Data Sources
Introduction
Creating models
Loading the form using a data model
Working with Store
Converting incoming JSON data into models using JsonReader
Converting incoming XML data into models using XmlReader
Validations in models
Defining the custom validation
Relating models using association
Persisting session-specific data using SessionStorageProxy
Persisting data using LocalStorageProxy
Accessing in-memory data using MemoryProxy
Loading data through AJAX using AjaxProxy
Sorting of the data
Data grouping
Filtering data
Using a cross-domain URL in your application
Chapter 6: Adding the Components
Introduction
Working with Button
Creating a sheet of buttons with ActionSheet
Carousel
Managing a list of data using List
Grouping items in a List
Navigating through a list of data using indexBar
Working with a list of nested data using NestedList
Picking your choice using Picker
Switching between multiple views using SegmentedButton
Working with Tab panels
Quicker access to application features using Toolbar
Creating a new component
Extending an existing component capability
Overriding a component behavior
Adding behavior to an existing component using plugins
Chapter 7: Adding Audio/Visual Appeal
Introduction
Animate me!
Ding-dong! You have a message!
Working with videos
Adding the chart support to your app
Working with an area chart
Generating a bar chart
Creating a column chart
Showing a group of bars and columns
Switching between stacked and grouped orientation
Highlighting and displaying an item detail
Creating a gauge chart
Creating a line chart
Creating a pie chart
Rotating the pies
Grouping the pies
Highlighting a pie
Using a radar chart
Using a scatter chart
Chapter 8: Taking your Application Offline
Introduction
Detecting offline mode
Storing your data offline
Storing your images offline
Application caching
Chapter 9: Engaging Users by Responding to Events
Introduction
Handling Touch Events
Handling Scroll Events
Handling Tap Events
Handling Double Tap Events
Handling TapHold Events
Handling Swipe Events
Handling Pinch Events
Handling Drag Events
Chapter 10: Increased Relevance Using Geolocation
Introduction
Finding out your location
Auto-update of your location
Tracking direction and speed
Hooking up Google Maps with your application
Working with Google Maps options
Mapping Geolocation on Google Maps

Book Details

ISBN 139781849515443
Paperback350 pages
Read More

Read More Reviews

Recommended for You

Ext JS 4 First Look Book Cover
Ext JS 4 First Look
$ 26.99
$ 18.90
Sencha Touch Mobile JavaScript Framework Book Cover
Sencha Touch Mobile JavaScript Framework
$ 26.99
$ 18.90
Ext JS 4 Web Application Development Cookbook Book Cover
Ext JS 4 Web Application Development Cookbook
$ 34.99
$ 24.50
Responsive Web Design with HTML5 and CSS3 Book Cover
Responsive Web Design with HTML5 and CSS3
$ 23.99
$ 4.80
Creating Mobile Apps with Sencha Touch 2 Book Cover
Creating Mobile Apps with Sencha Touch 2
$ 26.99
$ 18.90
Learning Ext JS 4 Book Cover
Learning Ext JS 4
$ 29.99
$ 21.00