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
Learning Ext JS_Fourth Edition

You're reading from   Learning Ext JS_Fourth Edition Create powerful web applications with the new and improved Ext JS 5 library

Arrow left icon
Product type Paperback
Published in Jul 2015
Publisher
ISBN-13 9781784394387
Length 452 pages
Edition 1st Edition
Tools
Arrow right icon
Authors (3):
Arrow left icon
Carlos A Mendez Segura Carlos A Mendez Segura
Author Profile Icon Carlos A Mendez Segura
Carlos A Mendez Segura
Crysfel Villa Crysfel Villa
Author Profile Icon Crysfel Villa
Crysfel Villa
Armando Gonzalez Armando Gonzalez
Author Profile Icon Armando Gonzalez
Armando Gonzalez
Arrow right icon
View More author details
Toc

Table of Contents (17) Chapters Close

Preface 1. An Introduction to Ext JS 5 2. The Core Concepts FREE CHAPTER 3. Components and Layouts 4. It's All about the Data 5. Buttons and Toolbars 6. Doing It with Forms 7. Give Me the Grid 8. DataViews and Templates 9. The Tree Panel 10. Architecture 11. The Look and Feel 12. Responsive Configurations and Tablet Support 13. From Drawing to Charting 14. Finishing the Application 15. What's Next? Index

Conventions

In this book, you will find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles, and an explanation of their meaning.

Code words in text are shown as follows: "Inside the app/view folder, we remove all existing files (the initial skeleton), and proceed to create the initial view our application will have."

A block of code is set as follows:

Ext.define('myApp.model.modulesModel', {
    extend: 'Ext.data.Model',
    requires: [
        'Ext.data.field.String',
        'Ext.data.field.Boolean',
        'Ext.data.field.Integer'
    ],
    fields: [
       {type: 'string', name: 'description'},
       {type: 'boolean', name: 'allowaccess'},
       {type: 'int', name: 'level'},
       {type: 'string', name: 'moduleType', defaultValue: ''},
       {type: 'string', name: 'moduleAlias', defaultValue: ''},
       {type: 'string', name: 'options'}
    ]
});

When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:

Ext.define('myApp.store.modulesTreeDs', {
  extend: 'Ext.data.TreeStore',
  requires: [
    'myApp.model.modulesModel',
    'Ext.data.proxy.Ajax'
  ],
  constructor: function(cfg) {
    var me = this;
    cfg = cfg || {};
    me.callParent([Ext.apply({
      storeId: 'mymodulesTreeDs',
      autoLoad: true,
      model: 'myApp.model.modulesModel',
      proxy: {
        type: 'ajax',
        url: 'serverside/data/menu_extended.json'
      }
    }, cfg)]);
  }

}); Any command-line input or output is written as follows:

sencha -sdk /path/to/ext generate app myApp /path/to/myApp

New terms and important words are shown in bold. Words that you see on the screen, in menus or dialog boxes for example, appear in the text like this: "Try to write something in the Customer ID field and you will see that it is read-only."

Note

Warnings or important notes appear in a box like this.

Tip

Tips and tricks appear like this.

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