SOLID

  1. Single resposibility principle
  2. Open/Close Principle
  3. Liskov substitution principle
  4. Interface segregation principle
  5. Dependency inversion principle
  1. Single resposibility principle
  2. Open/Close Principle
  3. Liskov substitution principle
  4. Interface segregation principle
  5. Dependency inversion principle

Single resposibility principle

+ Some strategies on how to deal with a legacy code

Just two things...

  1. Please ignore the boilerplate, it's not relevant
  2. YUI is not relevant either

Lifecycle methods

  1. afterRender

Demo

Single resposibility principle

A class should have only one reason to change.
Made with Slides.com