Convention for |
Description |
Example |
| class |
|
mycustomclass |
|   |
|
base64 |
|   |
do not use underscores, hyphens, or any other non-alphanumeric characters. |
  |
|   |
. |
toplevelnamespace.myclassname |
|   |
|
  |
|   |
|
topnamespace.middnamespace.customclass |
| source File |
|
ext.util.observable is stored in path/to/src/ext/util/ Observable.js MyTopLevelNamespace.util.JsonToXml is tored in Path/to/src/mytoplevelnamespace/util/jsontoxml.js |
| methods |
method should always is in CamelCase. |
encodeusingmd5 (), gethtml () |
| variables |
variable should always is in CamelCase. |
var isgoodname |
| |
|
var base64encoder |
|   |
|
var SALARY = + |
|   |
Private variables should begin with the underscore "_" |
var _privatevariable |
Properties |
The CamelCase property should always be in the. Static properties should be capitalized. |
Ext.MessageBox.YES = "YES" |
From
"EXTJS6 Study Notes" 1.8 Initial: ExtJS naming convention