Skip to content

Instantly share code, notes, and snippets.

@krainboltgreene
Created October 18, 2014 23:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save krainboltgreene/c6fd62b17d6ee540fe04 to your computer and use it in GitHub Desktop.
Save krainboltgreene/c6fd62b17d6ee540fe04 to your computer and use it in GitHub Desktop.
Deserializer: "I turn raw formats into native data."
Router: "I correctly dispatch requests."
Control: "I coordinate and return a status, headers, and body."
Normalizer: "I sanitize the payload."
Validator: "I make sure there is nothing wrong with the data."
Abstract: "I store or lookup data."
Presenter: "I act as a wrapper around the abstract."
Denormalizer: "I sanitize the outgoing data."
Serializer: "I turn native data into raw formats."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment