RAPID LEARNING SENCHA TOUCH
Last updated on 2015-09-27
About the Book
Sencha Touch home page is at http://www.sencha.com/.
This book is collection of standalone tutorials.
This means that each tutorial contains minimum amount of code needed to explain specific functionality.
This is in contrast to building a single application where each new functionality is added on top of already explained ones.
Each tutorial has minimum amount of supporting text making emphasis on the code example to do the explaining.
How to use this book
This book can be used as an introduction to Sencha Touch framework covering most of the basic core functionalities.
In addition book will be updated with more tutorials covering more specific subjects.
Book is also intended as Just In Time Support so that user can learn what it needs when it needs it.
This is why tutorials are standalone and minimalistic focusing only at one problem at the time.
You should however first go through the main features of Sencha Touch to familiarize yourself with the core concepts.
This can be done by first going through the main chapters as deep as you see fit.
Then later you can come back to explore other more specific chapters as you need them.
1.1 Application Example
1.2 Install Free Commercial Version
1.3 Create Sencha Touch Application
1.4 Start Application
1.4.1 From file system
1.4.2 From Web Server
1.4.3 From Mobile Device
2. Class System
2.1.1 Create Class using Ext.define()
2.2.1 Create Object using Ext.create()
2.2.2 Create Object using xtype
126.96.36.199 Segmented Button
188.8.131.52 Tabbed Panel
184.108.40.206 Navigation View
220.127.116.11 Nested List
18.104.22.168 Field Set
22.214.171.124 Auto Layout
126.96.36.199 Fit Layout
188.8.131.52 Card Layout
184.108.40.206 vbox Layout
220.127.116.11 hbox Layout
3.3.2 Form Panel
3.4.1 Action Sheet
3.4.3 Date Picker
3.4.4 Message Box
18.104.22.168 Text Field
22.214.171.124 Number Field
126.96.36.199 Radio Field
188.8.131.52 Select Field
184.108.40.206 Toggle Field
220.127.116.11 Checkbox Field
18.104.22.168 Text Area Field
3.5.2 Data Manipulation
22.214.171.124 Set Field Values
126.96.36.199.2 From Manually Created Record
188.8.131.52.3 From Data Store Record
184.108.40.206 Get Field Values
220.127.116.11.1 Into Object
18.104.22.168.2 Into Related Record
22.214.171.124.3 Submit Form through HTTP Request
126.96.36.199 Using event & fn properties
188.8.131.52 Using shortened syntax
184.108.40.206 Inside Object while creating it
220.127.116.11 Inside Object that already exists using on()
18.104.22.168 Inside Class initialize() method using on()
22.214.171.124 Inside Class listeners property
126.96.36.199 Inside Class onEvent property
188.8.131.52 Using un()
184.108.40.206 Using property single
4.2 Custom Events
4.2.1 Create, fire and catch custom Event
4.3 Event handlers
4.3.1 Use Input Parameters
220.127.116.11 By referencing Model
18.104.22.168 Without referencing Model
22.214.171.124 With initial data - Using Array of Objects
126.96.36.199 With initial data - Using Array of Arrays
188.8.131.52 With Proxy
5.1.2 Add Records
184.108.40.206 Using Array of Objects
220.127.116.11 Using Array of Arrays
5.1.3 Remove Records
5.1.4 Load Data Store
18.104.22.168 load() with Callback
5.1.5 Sync Data Store
22.214.171.124 Send updated records to server
126.96.36.199 Send created records to server
188.8.131.52 Send deleted records to server
184.108.40.206 By defining only column names
220.127.116.11 By defining column names and types
18.104.22.168 Create custom validator
22.214.171.124 Has One
126.96.36.199 Belongs To
188.8.131.52 Has Many
5.3.3 Local Storage
5.3.4 Session Storage
6.1 Create Controller Class
6.1.1 Create Controller – In controller directory
6.1.2 Create Controller – In subfolder of controller directory
6.1.3 Create View Controller
6.1.4 Controller Application Controller
6.2.1 Create reference
6.3.1 Assign listener using reference
6.3.2 Assign listener using component query
6.4 Event handlers
6.4.1 Use Parameters
6.4.2 Use this.getMyRef()
The Leanpub 45-day 100% Happiness Guarantee
Within 45 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.
See full terms
Free Updates. Free App. DRM Free.
If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).
Most Leanpub books are available in PDF (for computers), EPUB (for phones and tablets), MOBI (for Kindle) and in the free Leanpub App (for Mac, Windows, iOS and Android). The formats that a book includes are shown at the top right corner of this page.
Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.