/LegacyApp

Primary LanguagePHPMIT LicenseMIT

PHP Legacy Code - TODO App

This package has been created to demonstrate how to work with Legacy Code.

System requirements

  • PHP >=5.3 <5.5
  • MySQL >=5.0 <=5.5

Coding Standards and Conventions

  • Add a blank line before return statements, unless the return is alone inside a statement-group
  • Use braces to indicate control structure body regardless of the number of statements it contains
  • Define one class per file
  • Declare class properties before methods
  • Naming Conventions
    • Classes: ClassName
    • Variables: $variableName
    • Methods: methodName()
    • Parameters: parameter_key