Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Mastering ExtJS - Second Edition

You're reading from   Mastering ExtJS - Second Edition Learn how to develop advanced and efficient Internet applications with Ext JS

Arrow left icon
Product type Paperback
Published in Feb 2015
Publisher
ISBN-13 9781784390457
Length 400 pages
Edition 2nd Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Loiane Avancini Loiane Avancini
Author Profile Icon Loiane Avancini
Loiane Avancini
Arrow right icon
View More author details
Toc

Table of Contents (13) Chapters Close

Preface 1. Sencha Ext JS Overview FREE CHAPTER 2. Getting Started 3. The Login Page 4. The Logout and Multilingual Capabilities 5. Advanced Dynamic Menu 6. User Management 7. Static Data Management 8. Content Management 9. Adding Extra Capabilities 10. Routing, Touch Support, and Debugging 11. Preparing for Production and Themes Index

Packaging the application for production

Our theme is created, so now the only thing left is to make the production build and deploy the code on the production web server. Again, we will use Sencha Cmd to do it for us.

  1. To do a production build, we need to have a terminal opened. We also need to change the directory to the application's root directory and type the following command:
    sencha app build

    Here's how the command looks on the terminal:

    Packaging the application for production
  2. Once the command execution is completed, it will create a new directory called build/production/NameofTheApp. As our application namespace is Packt, it creates the directory build/production/Packt, as follows:
    Packaging the application for production

    What this command does is get all the code we developed (inside the app folder) plus the Ext JS code we really need to run the application and put it inside the all-classes.js file. Then, using YUI Compressor, Sencha Cmd will minimize the code and obfuscate the JavaScript code; this way, we will have a very small JavaScript file that the...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime