更新时间:2021-08-20 15:56:35
coverpage
Sencha Touch Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files eBooks discount offers and more
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
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
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
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
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
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
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
Animate me!
Ding-dong! You have a message!
Working with videos