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
Ext JS Application Development Blueprints

You're reading from   Ext JS Application Development Blueprints Develop robust and maintainable projects that exceed client expectations using Ext JS

Arrow left icon
Product type Paperback
Published in Apr 2015
Publisher
ISBN-13 9781784395308
Length 340 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Toc

Table of Contents (13) Chapters Close

Preface 1. Introduction FREE CHAPTER 2. MVC and MVVM 3. Application Structure 4. Sencha Cmd 5. Practical – a CMS Application 6. Practical – Monitoring Dashboard 7. Practical – an E-mail Client 8. Practical – Questionnaire Component 9. A Shopping Application 10. Debugging and Performance 11. Application Testing Index

Care for the environment


Sencha Cmd supports the concept of environments to allow different behavior depending on the stage of your workflow. We've already mentioned that Sencha Cmd leverages the power of the Ant build system to allow customization of the process. The different environments simply define variables that are consumed by Ant and passed into the build process to enable, disable, or amend a part of the build.

You can see the default build variables by running the following command:

sencha ant .props

This produces something that includes the following code along with a million and one other variables:

[INF] [echoproperties] app.output.js=app.js
[INF] [echoproperties] app.output.js.compress=false
[INF] [echoproperties] app.output.js.enable=true
[INF] [echoproperties] app.output.js.optimize=false

Here the variable app.output.js has the value app.js.

Note

Note that build variables and configuration variables are two separate things. Configuration variables are used by Sencha Cmd as...

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