All descriptions are located at the top of the programming code. Only when adding a description in else, the description is placed in front of it.
In descriptions the first character of each meaningful English letter is capitalized.
The start and end of a style class set is specified in a style file as follows:
The description of the function of the methods is appropriate to the description in backend code.
Example:
Classes of style files start with the letters el and before all English words underline (_) is added and written in lower case.
Example:
JavaScript file methods start with the letters el_ and the first character of each meaningful English letter is capitalized.
The classes, methods, and variables of the server-side programming language are named as follows:
The first character of any meaningful English word is written in capital letters.
Example:
The id names and names attribute of html inputs begin with the tag name summary in the box, and after the underline (_), the first character of each meaningful English letter in the input name is capitalized. Id names and names attribute should be equal.
Example:
The procedures stored in the database and the names of the columns of the tables are written in lower case and the space between all meaningful English words is separated by an underline (_).
Example:
The names of the tables in the database start with the letters el and before all English words underline (_) is added and written in lower case.
Example:
The names of the files and folders in the new add-ons or the names of the files and folders added in the core of the framework, as well as the original names of the add-on files, should not conflict with the url.
Example:
Only the following values are acceptable:
Underline character (_)
Dash character (-)
English alphabet
number
Non-English alphabet letters
Note: The space character ( ), the dot character (.), And the dollersine character ($) are not acceptable.
The xml tags are written in lower case and the space between all meaningful English words is separated by an underline (_) and the number is not acceptable.
Example:
The way phrases or sentences are written in the frame follows the Allman style coding rule.
A set of expressions that are within a method and are independent of each other are separated by two empty line.
Example:
All errors are stored under the logs directory in the App_Data directory, with the name and date of the error occurring with the .log extension.
The contents of the error file are as follows:
First line: error title
Second line: error path
Third line: date of error creation
Fourth line: time of error creation
Fifth line: The username of the person whose request encountered an error
Sixth line: The IP of the person whose request encountered an error
Seventh line: error text
Description of all errors in the Security.SetLogError(ex) method; are saved.
Example:
Elanat is add-on oriented framework. Elanat is free and open-source ASP.NET Core CMS under license GPL V3. The Elanat kernel is designed to create an add-on for it as easily as possible; the Elanat kernel contains a variety of add-ons; the structure of Elanat allows the programmer to create a new web system containing different types of add-ons.
Download