Sencha Touch - Environment
Local Environment Setup
This section guides you on how to download and set up Sencha Touch on your machine. Please follow the steps to set up the environment.
Downloading library files
Download a commercial version of Sencha Touch library files from the following link https://www.sencha.com. You will get the trial version from the site on your registered mail id, which will be a zipped folder named sencha-touch-2.4.2-commercial.
|Sr.No||File & Description|
This is the core file which contains all functionalities to run the application.
This file contains all the code minified with no comments in the file.
This is the unminified version of sencha-touch-all.js for debugging purpose.
This file is also unminified and is used for development purpose as it contains all the comments and console logs to check any errors/issues.
You can add these files to your projects JS folder or you can provide a direct path where the files reside in your system.
CSS Files − There are number of theme based files which you can find under folder I:\sencha touch\sencha-touch-2.4.2-commercial\touch-2.4.2\resources\css\sencha-touch.css
These library files will be added in Sencha Touch application as follows −
You can keep Sencha Touch application code in app.js file.
CDN is content delivery network with which you do not need to download the Sencha Touch library files, instead you can directly add CDN link for ExtJS to your program as follows −
Notepad − On Windows machine, you can use any simple text editor such as Notepad (Recommended for this tutorial), Notepad++.
Brackets − Another popular IDE which can be downloaded from http://brackets.io/.
Sublime − Another popular IDE which can be downloaded from https://www.sublimetext.com/3/.