Sencha touch authoritative guide

Source: Internet
Author: User

Sencha touch authoritative guide
Basic Information
Author: Lu lingniu [Translator's introduction]
Press: Machinery Industry Press
ISBN: 9787111395010
Mounting time:
Published on: February 1, August 2012
Start: 16
Page number: 1
Version: 1-1
Category: Computer> Software and programming> network programming> Javascript
Computer> Software and programming> network programming> html

For more information, sencha touch's authoritative guide
Introduction
Books
Computer books
How can we fully and thoroughly understand and master the mobile application development framework sencha touch and develop exciting mobile applications? This book will give us a satisfactory answer! Its content system is comprehensive and detailed, explaining all the features, features, usage methods, and development skills of sencha touch, so that we can be well aware of sencha touch, not only is each knowledge point equipped with a well-designed small case (specific implementation steps, complete implementation code, the final implementation effect, illustrated), but there are also comprehensive cases, this allows us to quickly gain practical experience. All the instance code in this book has been successfully debugged and run. We can modify the code to observe different effects and deepen our understanding of the Instance code.
Part 1 (1st ~ Chapter 2): first introduces the functions and features of sencha touch, then describes how to build a development environment and release applications, as well as the basic knowledge of sencha touch. second part (3rd ~ Chapter 15): This is the core part of this book. It gives a comprehensive and concrete explanation of all the commonly used la S, components, and API functions, features, and usage methods of sencha touch, this not only helps us skillfully use various styles for sencha touch components, but also customize style themes in sencha touch applications, it can also be combined with sencha touch's command line tool and sencha's SDK development tool to create and deploy an MVC-mode application. Part 3 (chapter 16th): This chapter implements an integrated MVC application case in iterative mode and analyzes it in detail, this case covers most of the knowledge points involved in each chapter of this book. Readers can perform practical operations according to the steps in the book, and associate theory with practice to consolidate the theoretical knowledge they have learned.
Directory
Sencha touch authoritative guide
Preface
Part 1 Preparation
Chapter 2 sencha touch 1st Overview/2
1.1 sencha touch/2
1.1.1 features of the sencha touch framework/2
1.1.2 new features in sencha touch 2.0/3
1.2 sencha touch 2.0 Framework/4
1.2.1 build a learning environment/4
1.2.2 content in the Development Kit/10
1.2.3 first sencha touch 2.0 Sample Page/11
1.3 build and release an application/13
1.3.1 dynamic loading technology in sencha touch 2.0/13
1.3.2 differences between several core script files/14
1.3.3 processing performed when building an application/14
1.3.4 publish an application/16
1.4 Summary of this chapter/17
Chapter 2 sencha touch 2nd Basic knowledge/18
2.1 A simple example Page/18
2.2 configuration object and configuration options/19
2.3 Application naming and startup/21
Panel components in 2.4 sencha touch 2.0/22
2.4.1 how to create a panel component/22
2.4.2 viewport component/23
2.5 Dom access and control/23
2.5.1 use of Ext. Get method/24
2.5.2 Ext. componentmanager. Get method/24
2.5.3 use of Ext. Fly method/25
2.6 summary of this chapter/26
Part 2 Basics
Chapter 2 panel and layout/28
3.1 place images in panel components/28
3.1.1 sample code and configuration options/28
3.1.2 image components in sencha touch 2.0/30
3.1.3 Event Listeners and event processing functions in sencha touch 2.0/30
3.1.4 dynamic loading technology in sencha touch 2.0/31
3.2 tab panel component/33
3.2.1 use and example of the tab panel component/33
3.2.2 tab panel component configuration option/35
3.2.3 built-in icons in sencha touch 2.0/36
Common Layout in 3.3 sencha touch 2.0/38
3.3.1 box layout/38
3.3.2 fit layout/42
3.3.3 card layout/44
3.3.4 container internal component docking/47
3.4 carousel component/49
3.4.1 use and example of the carousel component/49
3.4.2 container component ults configuration option/51
3.4.3 common method for using usel components/52
3.5 navigationview component/53
3.5.1 use and example of the navigationview component/53
3.5.2 configure the title bar of the navigationview component/55
3.6 xtype configuration options/56
3.6.1 use and example of xtype configuration options/56
3.6.2 use the getcomponent method to obtain sub-components in the container/58
3.6.3 xtype values and functions of important components/59
3.7 summary of this chapter/60
Chapter 2 form and form field components/61
4.1 A simple form example/61
4.1.1 core components of the form/61
4.1.2 example of using the first form/62
4.1.3 configuration options used in the form/63
4.1.4 scroll in sencha touch 2.0/67
Special input component in 4.2 sencha touch 2.0/69
4.2.1 password input component/69
4.2.2 value input component/70
4.2.3 spinner component/71
4.2.4 email input component/72
4.2.5 URL input component/73
4.2.6 textarea component/74
4.2.7 Search Component/75
4.3 single button and check box components/76
4.3.1 single component/76
4.3.2 check box component/80
4.4 select box component/81
4.4.1 example of using the component in the selection box/81
4.4.2 select the configuration option used by the component in the box/83
4.5 Data Warehouse loading selection box/84
4.5.1 what is a data warehouse/84
4.5.2 select box for loading local data/86
4.5.3 proxy and Reader/88
4.5.4 server-side data loading selection box/89
4.6 date Selection Component/91
4.6.1 date Selection Component use example/91
4.6.2 date select the configuration option for the component/92
4.7 slide bar components/94
4.7.1 slide bar component use example/94
4.7.2 configuration options for slide components/95
4.7.3 setvalue and getvalue/95
4.8 toggle component/95
4.9 hidden component/96
4.10 Summary of this chapter/97
Chapter 2 form verification and submission/98
5.1 button/98 in sencha touch 2.0
5.1.1 button usage and example/98
5.1.2 modify the button style/99
5.1.3 define button function/102
5.2 form verification/103
5.2.1 form asynchronous Ajax submission/103
5.2.2 use built-in verification in sencha touch 2.0/108
5.2.3 data append after server verification and verification success/114
5.3 load form data/115
5.3.1 load local data/115
5.3.2 load server data/117
5.3.3 modify server data/120
5.3.4 Delete server data/123
5.4 set the form to invalid status/125
5.5 summary of this chapter/126
Chapter 2 tool bar/6th
6.1 use and example of toolbar components/127
6.2 segmentedbutton component/128
6.2.1 segmentedbutton component example/129
6.2.2segmentedbutton component configuration option/130
6.3 tool bar alignment and separator/131
6.3.1 example of right alignment of toolbar/131
6.3.2 example of insert interval in child components/132
6.4 Use the icon button in the toolbar/133
6.4.1 use the custom icon button/133
6.4.2 use the built-in icon button in sencha touch 2.0/135
6.5 use form field components in the toolbar/135
6.6 title bar components/138
6.6.1 differences between the title bar component and the tool bar component/138
6.6.2 example of using the title bar component/139
6.7 summary of this chapter/139
Chapter 2 xtemplate template and domhelper component/7th
7.1 xtemplate template/141
7.1.1 define xtemplate template/141
7.1.2 use an array/144 in the template
7.1.3 use the operator/148 in the template
7.1.4 use built-in variables in the template/149
7.1.5 use a UDF in the template/151
7.2 domhelper component/153
7.2.1 append an element using the append method/153
7.2.2 use the overwrite method to override elements/155
7.2.3 add and delete elements at the specified position/156
7.3 summary of this chapter/162
Chapter 2 dataview components/8th
8.1basic functions of dataview/163
8.1.1dataview component usage and example/163
8.1.2 use a style for dataview components/166
8.1.3 sort data in the dataview component/168
8.1.4 dataview component selection method/171
8.2 common events of dataview components/171
8.2.1 itemsingletap event, itemdoubletab event, and itemtap event/171
8.2.2 itemswior event/173
8.2.3 refresh event/175
8.2.4 selectionchange event and deselect event/177
8.3 create a list using dataview components/183
8.3.1 procedure for creating a list/183
8.3.2 add sorting function for the list/185
8.3.3 Add a search function for the list/189
8.4 use the dataview component to display server data/193
8.4.1 display data in the XML file/193
8.4.2 display data in the JSON file/197
8.4.3 display data in the server database/198
8.4.4 paging the server data/200
8.4.5 sort data on the server side/206
8.4.6 search for data in the database/212
8.5 use a proxy to manage data/223
8.5.1memory proxy/223
8.5.2sessionstorage proxy/235
8.5.3localstorage proxy/240
8.5.4ajax proxy/241
8.5.5rest proxy/247
8.6 operation object usage/253
8.6.1 insert URL parameters through the operation object/253
8.6.2 retrieve paging data/255
8.6.3 sort and filter server data/260
8.7 obtain exotic data/263
8.7.1 obtain exotic data through the jsonp proxy/264
8.7.2 obtain exotic data using the Ext. Data. jsonp object/268
8.8 summary of this chapter/275
Chapter 2 list components/9th
9.1list basic functions/276
9.1.1 use the list component to display the list on the page/276
9.1.2itemdisclosure event/277
9.1.3 use the index bar/279 in the list component
9.1.4listpagingview INS/280
9.2 grouping data in the list component/282
9.2.1 use grouper configuration options for grouping/283
9.2.2 dynamically set the grouping mode of the List component/286
9.2.3 automatic grouping of the List component when data is dynamically updated/287
9.3nestedlist component/289
9.3.1nestedlist component usage and example/290
9.3.2 display the server folder and file list/297
9.3.3 display data in the server database/302
9.4 summary of this chapter/307
Chapter 5 map and multimedia/10th
10.1 use the map component to display Google Maps/308 on the page
10.1.1 use and example of the map component/308
10.1.2 Ext. util. geolocation class usage and example/309
10.2 use the video component to play the video file/313
10.2.1 usage and example of the video component/313
10.2.2 main video control method/315
10.3 use the audio component to play audio files/317
10.3.1 use and example of the audio component/317
10.3.2 main method for controlling audio/318
10.4 summary of this chapter/320
Chapter 5 Use Associated models/11th
11.1 define an associated model/321
11.2 define a model with One-to-multiple relationships/322
11.2.1 example of using a one-to-multiple relationship model/323
11.2.2 use a sub-model data warehouse to access data/326
11.2.3 filter for customizing the parent model/337
11.3 define a model with multiple-to-one relationships/343
11.3.1 example of using a multi-to-one model/343
11.3.2 use the getter method of the sub-model to obtain the records of the parent model/346
11.3.3 use the setter method of the sub-model to set the association ID/351
11.4 define a model with a one-to-one relationship/361
11.4.1 use the getter method of the model to obtain the record of the associated model/361
11.4.2 use the setter method of the model to set the association ID/363
11.5 establish associations within the same model/364
11.6 summary of this chapter/369
Chapter 2 ext direct API in sencha touch 12th/2.0
12.1 components provided by the server/370
12.1.1 configuration/370
12.1.2 API/372
12.1.3 routing/372
Provider/12.2 In 2.0 sencha touch 374
12.2.1 use and example of the pollingprovider method/374
12.2.2 use and example of the remotingprovider method/377
12.3 direct proxy/387
12.3.1 example of direct proxy/388
12.3.2 submit the naming parameters in the method used by the direct proxy/391
12.4 directstore Data Warehouse/394
12.5 summary of this chapter/402
Chapter 2 Sheet component of adaptive size/13th
13.1 sheet component Overview/403
13.2 use and example of the actionsheet component/403
13.3 sencha touch 2.0 prompt box/406
13.3.1 prompt box/406
13.3.2 confirmation message box/408
13.3.3 Ext. msg. Show method/409
13.4 use and example of Picker components/411
13.5 use the datepicker component to select the date/417
13.6 Summary of this chapter/419
Chapter 2 styles and themes in sencha touch 14th/2.0
14.1 set the style of a single component using configuration options/420
14.2 built-in topic in sencha touch 2.0/421
14.2.1 reload the style of the component in the default topic/421
14.2.2 modify the built-in topic in sencha touch 2.0/422
14.3 use sass to customize sencha touch 2.0 themes/423
14.3.1 install sass and Compass/423
14.3.2 use sass/2.0 in sencha touch 424
14.3.3 modify the sencha touch 2.0 default topic variable/425
14.4 SCSs style sheet file/426
14.4.1 advanced features provided by SCSs/426
14.4.2 Mixin/2.0 provided by sencha touch 431
14.4.3 compile the SCSs style sheet file/432
14.4.4 use SCSs style sheet file custom topic example/433
14.4.5 examples of customizing component styles in the SCSs style sheet file/434
14.5 summary of this chapter/436
Chapter 2 create a custom component and an application in MVC mode/15th
15.1 implement custom components/437
15.1.1 package and namespace in sencha touch 2.0/437
15.1.2 create a custom component/438
15.1.3 Add a custom method for a custom component/441
15.2 use the command line tool to create and deploy MVC-Mode Applications/443
15.2.1 installation and use of the command line tool/443
15.2.2 create an application in MVC mode/444
15.2.3 deploy an application in MVC mode/446
15.2.4 page file and script file analysis/447
15.2.5 default naming convention in the application/450
15.2.6 function call sequence at application startup/451
15.3 create a view and Controller/452
15.3.1 create the main view of the Application/452
15.3.2 create the master controller of the application/453
15.3.3 interaction between users and applications through controllers/454
15.4 specify a route in the Controller/457
15.4.1 specify the route/458 through the routes configuration option
15.4.2 use parameters in routing/464
15.4.3 use the before configuration option to intercept route method execution/467
15.5 Device Configuration File/474
15.5.1 detect the device configuration file currently used by the application/474
15.5.2 compile the device configuration file for the application/475
15.5.3 use the launch function/476 in the device configuration file
15.5.4 separate views for devices/477
15.5.5 combine various views in different ways on different devices/480
15.5.6 write controllers/487 for devices separately
15.6 summary of this chapter/491
Part 3 comprehensive Cases
Chapter 5 comprehensive application cases/16th
16.1 All files of the application and their paths/494
16.2 application page files and script files/496
16.3 use sass to customize style themes/498
16.4 Device Configuration File/500
16.5 model and data warehouse/501
16.6 views and controllers/508
16.6.1 main view of the Application/508
16.6.2 User Registration/logon view and Controller/510
16.6.3 display view and Controller/516
16.6.4 book list display view and Controller/524
16.6.5 book information editing view and Controller/534
16.7 summary of this chapter/540

This book is from: China Interactive publishing network

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.