Book description
Launch into Sencha Touch 2 with this hands-on book, and quickly learn how to develop robust mobile web apps that look and behave like native applications. Using numerous code samples, author Adrian Kosmaczewski guides you every step of the way through this touchscreen-enabled JavaScript framework—from creating your first basic app to debugging, testing, and deploying a finished product.
Learn how to craft user interfaces, build forms, and manage data, then deploy as either an HTML5 offline app or as a native app for Android, iOS, or Blackberry.
- Define classes and create instances with Sencha Touch’s object-oriented abstraction
- Build user interfaces with the framework’s extensive set of high-level components
- Develop apps that consume complex data, whether it’s stored locally or on remote servers
- Organize your application code in a consistent, predictable, and maintainable way
- Use Sass stylesheets to craft a personalized look and feel for your app
- Debug, test, and document your app with WebKit Web Inspector, Jasmine, Siesta, and JSDuck
- Use the Sencha Architect UI designer and IDE to simplify complex project development
Table of contents
- Dedication
- Preface
- 1. Getting Started
-
2. The Class System
- Architectural Considerations
- Understanding the Class System
-
Foundation Utilities
-
Ext
- emptyFn
- version
- application()
- bind()
- clone()
- create(), define(), and widget()
- decode() and encode()
- defer()
- destroy()
- each()
- getBody(), getDoc(), and getHead()
- getClass() and getClassName()
- getCmp() and getStore()
- id()
- isArray(), isBoolean(), isDate(), isDefined(), isElement(), and others
- iterate()
- namespace()
- typeOf()
- Ext.Array
- Ext.ComponentQuery
-
Ext.DateExtras
- add()
- between()
- clearTime()
- format()
- getDayOfYear(), getWeekOfYear(), isLeapYear()
- getDaysInMonth(), getFirstDateOfMonth(), getFirstDayOfMonth(), getLastDateOfMonth(), getLastDayOfMonth()
- getElapsed()
- getGMTOffset(), getTimezone(), isDST()
- getMonthNumber(), getShortDayName(), getShortMonthName(), getSuffix()
- isValid()
- parse()
- Ext.DomHelper and Ext.DomQuery
- Ext.env.Feature
- Ext.Function
- Ext.JSON
- Ext.Logger
- Ext.Number
- Ext.Object
- Ext.String
- Ext.Version
- Ext.mixin.Observable
- Ext.util.DelayedTask
- Ext.util.HashMap
- Ext.util.Inflector
-
Ext
- Conclusion
- 3. Views
- 4. Data
- 5. Forms
- 6. Controllers
- 7. Styling Applications
- 8. Debugging, Testing, and Documenting
- 9. Sencha Architect
- 10. Deployment in Devices
- 11. Conclusion
- Index
- About the Author
- Colophon
- Copyright
Product information
- Title: Sencha Touch 2 Up and Running
- Author(s):
- Release date: February 2013
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781449339388
You might also like
book
Building Microservices, 2nd Edition
As organizations shift from monolithic applications to smaller, self-contained microservices, distributed systems have become more fine-grained. …
book
BDD in Action: Behavior-Driven Development for the whole software lifecycle
BDD in Action teaches you the Behavior-Driven Development model and shows you how to integrate it …
book
Introduction to JavaScript Object Notation
What is JavaScript Object Notation (JSON) and how can you put it to work? This concise …
book
Small, Sharp Software Tools
The command-line interface is making a comeback. That's because developers know that all the best features …