You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
acasimiro edited this page Aug 28, 2012
·
14 revisions
Here are the code conventions used in komoo project. PLEASE FOLLOW THEM!
Naming
The golden rule on naming programming objects (i.e. classes, variables, styles, functions, etc.) using more generic components firsts. Where, namely, the components are: category > entity > action > id.
Examples:
class FormCommunity (category: Form > entity: Community)
#community_5 (entity: community > id: 5)
function community_edit() (entity: community > action: edit)
Obs.: This is valid for code itself, but not for the folders structure, which are organized by flask blueprints (same idea as django like apps).