Skip to content

Instantly share code, notes, and snippets.

@iaindooley
Created November 26, 2011 05:47
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 iaindooley/1395114 to your computer and use it in GitHub Desktop.
Save iaindooley/1395114 to your computer and use it in GitHub Desktop.
Traditional separation of concerns in templating engines
+----------------------+ +---------------------+
| Controller/App layer | | View/template layer |
|----------------------| |---------------------|
| Responsible for some | | Responsible for |
| logic arbitrarily +------->| fragmentation and |
| defined as being | | some logic |
| business logic | | arbitrarily defined |
| | | as display logic |
+----------------------+ +---------------------+
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment