API and Application Development Guidelines

This document will provide links to various aspect of the system in regards to standards and API access.

[MessageHandling Message Handling]
[ViewVariables View Variables]

[LayoutLogo Template Layout/Logo Design]

PHP Coding Conventions

HTML/CSS Guidelines

  • Always use underscores to separate words in element identifiers and CSS selectors
    Good
    #project_name
    .project_name
    
    Bad:     
    #project-name, #projectName, #projectname, #PROJECTNAME
    .project-name, .projectName, .projectname, .PROJECTNAME
    
  • Always use a stylesheet, never inline styles, and <head> styles only when absolutely required

Javascript Guidelines

  • Always place javascript actions in the /js/effects.js file