Common naming
List, Luser array, arruser string, strtitle, split string, Strstatuss (multiple states separated by commas)
C #Entity layer unification starting with E, such as euser,eorder, such as the creation of the object is Var euser=new euser ();D to layer (search object layer) unified to D, such as Duservar duser=new Duser (); Multi-table search objects to d+ Each table name, Duserorder property Description Equal,notequal,equalgreatthan,greatthan,equallessthan,lessthan,startwith,endwith, Containrepository layer (persistence layer)unification begins with R, such as Ruser, etc.var ruser=new ruser ();Multi-table persistence, formatted as Ruserorder, commonly used for select,leftjoin of multiple tables, etc.method Name: Getlist,get,insert,edit,del as headService Tier (services tier)Unity begins with S, such as Suservar suser=new suser ();Controller Layerunify end with controller, Usercontroller
Css/js/jquerymethod names have been camel-written, such as Ajaxedituser,searchformattribute names are unified lowercase, such as insert,popup,update,del, etc.css/js file name Unified lowercase, common.js, source file used Common_source.js
C#/JS Code Naming conventions