Skip to content

UOMx/peer-review-system

Repository files navigation

Peer Review System

Research Project

Coding Conventions

  1. Routes - URLs: lower case with hiphens (kebab-case)

     hello-world-in-the-snow
    
  2. Routes - Names: lower case with underscores (snake_case)

     hello_world_in_the_snow
    
  3. Models and Controllers: begin with an Uppercase letter. CamelCase

     HelloWorldInTheSnow
     SnowController
    
  4. Method: begin with a lower case letter. camelCase

     getHelloWorldWithSnow()
    
  5. HTML Attributes. lowercase with hiphens (kebab-case)

    id="hello-world" 
    class="snow" 
    name="hello-world-with-snow
  6. Migrations. lowercase with underscore (snake_case)

    first_name
    last_name
    the_place_where_everything_started