Sencha Touch 2 Mobile JavaScript Framework

Your knowledge of HTML and CSS is a door to the world of mobile web apps thanks to this handy guide to Sencha Touch. Through code and screenshots it gives you the practical know-how to use the framework.

Sencha Touch 2 Mobile JavaScript Framework

This ebook is included in a Mapt subscription

John Earl Clark, Bryan P. JohnsonNovember 2013

Your knowledge of HTML and CSS is a door to the world of mobile web apps thanks to this handy guide to Sencha Touch. Through code and screenshots it gives you the practical know-how to use the framework.

Book Details

ISBN 139781782160748

Paperback324 pages

Book Description

Sencha Touch is a versatile HTML5-based framework for developing mobile web apps. Sencha Touch 2 has raised the bar for developing rich mobile web applications with HTML5. Using this framework you can develop mobile web apps that look and feel like native apps on iOS, Android, Blackberry, and Windows Mobile. It is built for enabling world-class user experiences.

"Sencha Touch 2 Mobile JavaScript Framework" is a step-by-step tutorial that will show you how to use Sencha Touch to produce attractive, exciting, native-quality, user friendly, easy-to-use mobile applications, that will keep your visitors coming back for more. There is sample code provided and explained with essential screenshots for better and quicker understanding.

"Sencha Touch 2 Mobile JavaScript Framework" will provide you with a hands-on approach to learning the language, taking you through the basic concepts and designs, to building a complete application from scratch.

We start with a foundation of JavaScript basics and work our way through the various components and features of Sencha Touch. We will explore how to leverage the Sencha Cmd utility to create applications quickly and cleanly. We will talk about how to get data in and out of your application, how to create new styles and themes, and even how to compile an application for sale on the various app stores.

"Sencha Touch 2 Mobile JavaScript Framework" will make you an expert application developer, using clear examples, code, and concepts.

Table of Contents

Chapter 1: Let's Begin with Sencha Touch

Frameworks

Mobile application frameworks

Designing applications for mobile devices and touch technology

Getting started with Sencha Touch

Setting up your development environment

Additional tools for developing with Sencha Touch

Summary

Chapter 2: Creating a Simple Application

Setting up the application

Controlling the look with layouts

Testing and debugging the application

Updating the application for production

Putting the application into production

Summary

Chapter 3: 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

Default themes and theme switching

Images on multiple devices with Sencha.io Src

Summary

Chapter 4: Components and Configurations

The base component class

Taking another look at layouts

The TabPanel and Carousel components

Creating a FormPanel component

The MessageBox and Sheet components

Creating a Map component

Creating lists

Finding more information with the Sencha Docs

Summary

Chapter 5: Events and Controllers

Exploring events

Adding listeners and handlers

Controllers

Getting more out of events

Additional information

Summary

Chapter 6: Getting the Data In

Models

Introducing data formats

Introducing stores

Deleting from the data store

Summary

Chapter 7: Getting the Data Out

Using data stores for display

XTemplates

Sencha Touch Charts

Summary

Chapter 8: Creating the Flickr Finder Application

Generating the basic application

Introducing the Model View Controller

Building the foundation with Sencha Cmd

Adding to the basic application

Making the SearchPhotos components

Building the SavedPhotos components

Polishing your application

Improving the application

Summary

Chapter 9: Advanced Topics

Talking to your own server

Going offline

Getting into the marketplace

Summary

What You Will Learn

Make use of technologies such as HTML5 and CSS3 to provide native-quality application experiences without the need for plugins

Create a sample application using Sencha Touch that will run on Apple iOS, Google Android, BlackBerry 10, and Windows Phone

Use the list of components available in the Sencha Touch framework libraries such as tab panels, scrollable list views, and toolbars

Discover the rich event communication that is available in every Sencha Touch component, allowing you to quickly respond to your users and create intuitive, native quality applications

Control the look of your application with Sencha Touch themes and styling options

Put together simple components quickly, backed by the data package

Allow your users to store information with forms, or access remote information from other services like Google maps and Flickr

Authors

John Earl Clark

John Earl Clark holds a Master's degree in Human Computer Interaction from Georgia Tech and an undergraduate degree in Music Engineering from Georgia State University. He and his co-author, Bryan P. Johnson, worked together at MindSpring and, later, EarthLink; starting out in Technical Support and Documentation before moving into application development and, finally, the management of a small development team. After leaving EarthLink in 2002, John began working independently as a consultant and a programmer, before starting Twelve Foot Guru, LLC. with Bryan in 2005.
He has been working with Sencha Touch since its first beta releases. He has also worked with Sencha's ExtJS since its early days when it was still known as YUI-Ext. He has also previously written a book with Bryan Johnson called Sencha Touch Mobile JavaScript Framework, Packt Publishing.
When he is not buried in code, John spends his time woodworking, playing guitar, and brewing his own beer.

Bryan P. Johnson

Bryan P. Johnson is a graduate of the University of Georgia. He went to work for MindSpring Enterprises in late 1995, where he met his co-author John Earl Clark. At MindSpring and later, EarthLink; Bryan served in multiple positions for over seven years, including the Director of System Administration and Director of Internal Application Development. After leaving EarthLink, he took some time off to travel before joining John to start Twelve Foot Guru.
Bryan has worked with Sencha's products since the early days of YUI-Ext and has used Sencha Touch since its first betas.

Alerts & Offers

Series & Level

We understand your time is important. Uniquely amongst the major publishers, we seek to develop and publish the broadest range of learning and information products on each technology. Every Packt product delivers a specific learning pathway, broadly defined by the Series type. This structured approach enables you to select the pathway which best suits your knowledge level, learning style and task objectives.

Learning

As a new user, these step-by-step tutorial guides will give you all the practical skills necessary to become competent and efficient.

Beginner's Guide

Friendly, informal tutorials that provide a practical introduction using examples, activities, and challenges.

Essentials

Fast paced, concentrated introductions showing the quickest way to put the tool to work in the real world.

Cookbook

A collection of practical self-contained recipes that all users of the technology will find useful for building more powerful and reliable systems.

Blueprints

Guides you through the most common types of project you'll encounter, giving you end-to-end guidance on how to build your specific solution quickly and reliably.

Mastering

Take your skills to the next level with advanced tutorials that will give you confidence to master the tool's most powerful features.

Starting

Accessible to readers adopting the topic, these titles get you into the tool or technology so that you can become an effective user.

Progressing

Building on core skills you already have, these titles share solutions and expertise so you become a highly productive power user.