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 Micro-Frontends
What's the answer to today's increasingly complex web applications? Micro-frontends. Inspired by the microservices model, this …
book
Head First Ajax
Ajax is no longer an experimental approach to website development, but the key to building browser-based …
book
Designing Data-Intensive Applications
Data is at the center of many challenges in system design today. Difficult issues need to …
book
Next-Generation Video Coding and Streaming
Reviews the new High Efficiency Video Coding (HEVC) standard and advancements in adaptive streaming technologies for …