Book description
Over 100 recipes for creating HTML5-based cross-platform apps for touch devices
- Master cross platform application development
- Incorporate geo location into your apps
- Develop native looking web apps
In Detail
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
-
Sencha Touch Cookbook
- Table of Contents
- Sencha Touch Cookbook
- Credits
- About the Author
- About the Reviewers
- www.PacktPub.com
- Preface
-
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
-
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
-
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
- 4. Building Custom Views
-
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
-
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
-
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
- 8. Taking your Application Offline
- 9. Engaging Users by Responding to Events
- 10. Increased Relevance Using Geolocation
- Index
Product information
- Title: Sencha Touch Cookbook
- Author(s):
- Release date: December 2011
- Publisher(s): Packt Publishing
- ISBN: 9781849515443
You might also like
book
Smashing Mobile Web Development
Developers, here's what you need to migrate your skills to mobile If you're a devoted reader …
book
WebSphere Application Server - Express V6 Developers Guide and Development Examples
This IBM Redbooks publication is a practical guide for developing Web applications using the Rational Software …
book
CSS3 Pushing the Limits
Push CSS3 and your design skills to the limit—and beyond! Representing an evolutionary leap forward for …
book
Ext JS in Action
NEWER EDITION AVAILABLE Ext JS in Action, Second Edition is now available. An eBook of this …