PacktLib: Sencha Touch Mobile JavaScript Framework

Sencha Touch Mobile JavaScript Framework

Credits

About the Authors

About the Reviewer

www.PacktPub.com

Preface

Let's Begin with Sencha Touch!

Frameworks

Mobile application framework

Designing applications for mobile and touch

Getting started with Sencha Touch

Setting up your development environment

Additional tools for developing with Sencha Touch

Summary

Creating a Simple Application

Setting up your folder structure

Starting from scratch with TouchStart.js

Controlling the container with layout

The panel

The TabPanel component

The list component

Testing and debugging the application

Updating the application for production

Putting the application into production

Summary

Styling the User Interface

Styling components versus themes

UI styling for toolbars and buttons

Sencha Touch themes

Setting up SASS and Compass

Creating a custom theme

Designing for multiple devices

Images on multiple devices with Sencha.io Src

Summary

Components and Configurations

The base component class

Layouts revisited

The TabPanel and Carousel components

FormPanel

MessageBox and Sheet

Map

Lists

Finding more information with the Sencha API

Summary

Events

What are events?

Listeners and handlers

Event delegation

Touch-specific events

Additional information on events

Summary

Getting Data In

Models

Introduction to data formats

Introduction to stores

Deleting from the Data Store

Summary

Getting Data Out

Using data stores for display

XTemplates

Sencha Touch Charts

Summary

The Flickr Finder Application

The basic application

Introduction to Model View Controller (MVC)

Building the foundation

The SearchPhotos component

The savedphoto component

Polishing your application

Try it yourself

Summary

Advanced Topics

Talking to your own server

Going offline

Getting into a marketplace

Registering for developer accounts

Summary

Index