Some common verbs for function methods:
Get get/set settings, add add/remove Delete
Create creates/destory remove start start/stop stop
Open on/close off, read read/write write
Load load/save Save, create creates/destroy destroy
Begin/end End, backup/restore restore
Import imports/export export, split split/merge merge
Inject injected/extract extract, attach adhesion/detach detachment
Bind bind/separate Detach, view view/browse Browse
Edit/modify Modify, select Select/mark tag
Copy copy/paste paste, undo undo/redo Redo
Insert insertion/delete Remove, add adds/append
Clean cleanup/clear cleanup, index index/sort sort
Find Find/search Search, increase increase/decrease decrease
Play play/pause pause, launch start/run run
Compile compile/execute execution, debug debug/trace Trace
Observe watch/listen Monitor, build build/publish Release
Input/output output, encode encoded/decode decoding
Encrypt encryption/decrypt decryption, compress compression/decompress decompression
Pack Pack/unpack unpacking, parse parsing/emit generation
Connect connection/disconnect Disconnect, send sends/receive receive
Download Download/upload upload, refresh/synchronize sync
Update/revert Restore, lock lock/unlock unlock
Check out checkout/check in check-in, submit submission/commit delivery
Push push/pull Pull, expand expand/collapse Fold
Begin Start/end end, start/finish complete
Enter/exit exit, abort/quit leave
Obsolete waste/depreciate waste, collect collect/aggregate gather
Each local variable needs to have a type prefix, which can be categorized by type:
S: Represents a String. For example: sname,shtml;
N: Represents a number. For example: npage,ntotal;
B: Representation logic. For example: Bchecked,bhaslogin;
A: Represents an array. For example: Alist,agroup;
R: Represents the regular expression. For example: Rdomain,remail;
F: Represents a function. For example: Fgethtml,finit;
O: Other objects that are not mentioned above, for example: obutton,odate;
G: Represents a global variable, for example: Gusername,glogintime;
Added JS readability, common variables