Skip to content
Peter Goodhall edited this page Oct 29, 2020 · 14 revisions

Work in progress to try to define some coding standards & rules to make things easier

  • ALL Code must be commented.
  • Code is Tabbed 4 Spaces.
  • Any Javascript where possible must be stored within a separate file within assets/js/sections unless otherwise not suitable.
  • New Controllers must have associated method to match, this must contain ALL features for this item, do not add items to other models.
  • SQL queries must be limited and designed to be fast as possible this keeps Cloudlog fast as possible

Page Design

  • Page functional headings are H2

button colours

  • Blue Solid = Add something, activate something, or perform any other primary action.
  • Blue Outline = Edit, change or update something.
  • Red = Delete something or make an irreversible change.
  • Grey = Deactivate something.
  • Yellow = Reset something or clear a field (no permanent delete).
  • Green = Search.

Assets

Assets must be stored locally not CDNs and placed correctly within the /assets folder

Clone this wiki locally