Chapter 2. Using Sencha Touch for the first time

 

This chapter covers

  • Downloading Sencha Touch
  • Exploring the package contents
  • Creating a “Hello World” example
  • Developing an application

In the previous chapter you looked at what Sencha Touch provides developers. That chapter effectively set the stage for you to begin using the framework, and that’s precisely what you’ll be doing next.

In this chapter you’ll begin to understand how pieces of Sencha Touch work and fit together as you start to develop an application using critical pieces of the framework such as the class Loader. Because this is an introductory chapter we won’t be going into too much detail about how things operate. We’ll go into more detail starting with chapter 3.

2.1. License considerations

To get a copy of the Sencha Touch framework you’ll need to visit http://sencha.com/products/touch/download/. You’ll be greeted with a page like the one in figure 2.1.

Figure 2.1. You must make a decision about which version of Sencha Touch you’re going to download.

From here you’re required to make a decision about which license you’re going to use. In case you’re not sure which version to choose we’ve detailed a few scenarios in table 2.1.

2.2. Unpacking the framework

2.3. Sencha Touch says “Hello World”

2.4. Setting the stage for your first application

2.5. Developing your app

2.6. Summary