Skip to Content
Hands-On Sencha Touch 2
book

Hands-On Sencha Touch 2

by Lee Boonstra
July 2014
Intermediate to advanced
344 pages
7h 33m
English
O'Reilly Media, Inc.
Content preview from Hands-On Sencha Touch 2

Part II. Building the FindACab App

This part will be the starting point for building a real-world application, the FindACab app.

The FindACab app is a touch application for tablets that can be used to browse through nearby taxi services (provided by Yelp). This MVC app uses all the techniques covered in this part—creating the application architecture, requesting live data through the Yelp API web service, saving data offline, handling forms, theming your app, and creating production/native device builds.

If you want to create a Sencha Touch application without using Sencha Architect (Sencha’s visual design tool), you’ll need to use Sencha Cmd, command-line tools for generating and building a Sencha Touch app. As depicted in Figure 34, the first important step is to generate your folder structure with Sencha Cmd. It’s important to use Sencha Cmd, because it also saves metadata in a hidden .sencha folder that is required for building your application later. Step 2 is to write your application logic and classes, using the coding editor or IDE of your choice. Step 3, the last step, is to build your application. You need to build the application to create a minified package before going to production.

The process for writing a Sencha Touch application
Figure 34. The process for writing a Sencha Touch application

This part focuses on all three steps of this process, and you’ll learn:

  • How to structure your code
  • How to implement data models ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Ext JS Application Development Blueprints

Ext JS Application Development Blueprints

Colin Ramsay
Learning Ext JS

Learning Ext JS

Carlos A Mendez Segura, Crysfel Villa, Armando Gonzalez

Publisher Resources

ISBN: 9781449366513Errata