Ext.js Tutorial
Ext.js Useful Resources
Selected Reading
- Ext.js - Methods
- Ext.js - Debugging Code
- Ext.js - Accessibility
- Ext.js - Localization
- Ext.js - Drawing
- Ext.js - Style
- Ext.js - Fonts
- Ext.js - Data
- Ext.js - Custom Events and Listeners
- Ext.js - Themes
- Ext.js - Drag & Drop
- Ext.js - Components
- Ext.js - Layouts
- Ext.js - Containers
- Ext.js - Class System
- Ext.js - First Program
- Ext.js - Architecture
- Ext.js - Naming Convention
- Ext.js - Environment Setup
- Ext.js - Overview
- Ext.js - Home
Ext.js Useful Resources
Selected Reading
- Who is Who
- Computer Glossary
- HR Interview Questions
- Effective Resume Writing
- Questions and Answers
- UPSC IAS Exams Notes
Ext.js - Naming Convention
Ext.js - Naming Convention
Naming convention is a set of rule to be followed for identifiers. It makes the code more readable and understandable to other programmers as well.
Naming convention in Ext JS follows the standard JavaScript convention, which is not mandatory but a good practice to follow. It should follow the camel case syntax for naming the class, method, variable and properties.
If the name is combined with two words, the second word will start with an uppercase letter always. For example, doLayout(), StudentForm, firstName, etc.
Name | Convention |
---|---|
Class Name | It should start with an uppercase letter, followed by camel case. For example, StudentClass |
Method Name | It should start with a lowercase letter, followed by camel case. For example, doLayout() |
Variable Name | It should start with a lowercase letter, followed by camel case. For example, firstName |
Constant Name | It should be in uppercase only. For example, COUNT, MAX_VALUE |
Property Name | It should start with a lowercase letter, followed by camel case. For example, enableColumnResize = true |