Naming Convention for ExtJs Programmer.

Total Post:70

Points:350
 714  View(s)
Ratings:
Rate this:
  1. Post:70

    Points:350
    Naming Convention for ExtJs Programmer.

    Being a good programmer, one should always follow some standards of naming convention of that programming. So that your code must be readable to other programmers. Here are the some of the basic about the naming convention of Sencha ExtJs.

    As ExtJs full form is extended JavaScript. So, it almost follows all those set of rules that we follow in case of JavaScript.
    For Example:

    Class Name: 1st letter must be Upper Case and followed by Camel Case.

    Example: EmployeeClass

    Method Name: 1st letter must be Lower Case and followed by Camel Case.

    Example: employeeTax()

    Variable Name: 1st letter must be Lower Case and followed by Camel Case.

    Example: employeeSalary.

    Constant Name: All letter must be in UpperCase.
    Example: TAXCONStANT : 5

    Property Name:  1st letter must be Lower Case and followed by Camel Case.

    Example: emplyeeStatus=true.

    Note: All the name must be meaning full.

    Remember: If you don’t use meaning full name then it might be difficult for you to understand same code in future.

      Modified On Mar-29-2018 12:18:07 AM

Answer