Book description
Get hands-on experience building speedy mobile web apps with Sencha Touch 2.3, the user interface JavaScript framework built specifically for the mobile Web. With this book, you’ll learn how to build a complete touch application, called Find a Cab, that has the look and feel of a native app on Android, iOS, Windows, and BlackBerry devices.
In the process, you’ll work with Sencha’s model-view-controller (MVC) components for form handling, styling, integration with outside data, and other elements. The Sencha Touch learning curve can be steep, but if you’re familiar with JavaScript, HTML5, CSS3, and JSON, this guide will get you up to speed through real-world examples.
- Learn the fundamentals, including the class and layout systems
- Use the Sencha MVC architecture to structure your code
- Implement data models and stores, and create an event controller
- Make remote connections by implementing server proxies
- Save data offline by implementing client proxies
- Work with view components such as maps, lists, and floating panels
- Implement and handle forms, and construct a custom theme
- Create production and native build packages
Table of contents
- Dedication
-
Preface
- Why Sencha Touch?
- Sencha Touch Versus jQuery Mobile
- Sencha Touch Versus Appcelerator Titanium
- Sencha Touch Versus Kendo UI Mobile
- About Sencha Inc.
- Audience and Approach
- Sencha Touch Releases
- The FindACab App
- Using Code Examples
- How This Book Is Organized
- Conventions Used in This Book
- Safari® Books Online
- How to Contact Us
- Acknowledgments
-
I. Sencha Touch Essentials
- 1. Introduction to Sencha Touch
- 2. Installation
- 3. The Fundamentals
- 4. The Class System
- 5. The Layout System
-
II. Building the FindACab App
-
6. Structured Code
- Design Patterns
- Generating an Application with Sencha Cmd
- Generating Workspaces
- Generating a Model with Sencha Cmd
- Implementing a Data Store
- Implementing a View
- Generating a Controller with Sencha Cmd
- Referencing a Component from a Controller
- Listening to Events from a Controller
- Implementing the MVC Entry Point
- Loading External Classes
- Summary
- 7. Data Models
- 8. Remote Connections (Server Proxies)
- 9. Data Stores
- 10. Offline Storage (Client Proxies)
- 11. View Components
- 12. Forms
- 13. Themes and Styles
- 14. Builds
- A. Help with iOS Certificates and Provisioning
- B. Custom Stylesheet for the FindACab App
-
6. Structured Code
- Index
- Colophon
- Copyright
Product information
- Title: Hands-On Sencha Touch 2
- Author(s):
- Release date: July 2014
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781449366483
You might also like
book
Ext JS Application Development Blueprints
Develop robust and maintainable projects that exceed client expectations using Ext JS In Detail Ext JS …
book
Plug-In CSS 100 Power Solutions
100 CSS power solutions in one handy guide This practical resource contains 100 ready-to-run CSS plug-ins …
book
HTML5: 20 Lessons to Successful Web Development
Master HTML and HTML5 in 20 lessons--online video tutorials included! Based on the author's successful online …
book
Even Faster Web Sites
Performance is critical to the success of any web site, and yet today's web applications push …