Book Image

Learning Ext JS_Fourth Edition

Book Image

Learning Ext JS_Fourth Edition

Overview of this book

Table of Contents (22 chapters)
Learning Ext JS Fourth Edition
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 14. Finishing the Application

Since Ext JS version 4, we can compile our application using the Sencha CMD tool. This compilation gathers the required classes/JavaScript code and necessary resources in order to build our application for a production environment.

It's better to compile the code in order to protect the source code, and also minimize the size of the JS files, so that it will optimize the loading speed for our application. Also, while compiling the code, we must ensure that we have the necessary JavaScript classes and code in order to run our app, and also to avoid uploading the entire Ext JS framework on the server.

In this chapter, you are going to learn the basics of how to prepare our application and deploy it in a production environment. But before going further, please check the following properties in your application:

  • Make sure that the code has the correct code syntax. Be aware of trailing commas (,) and also have the semicolon (;) properly set in the JavaScript...