Rethinking render()
### Problem:
Drupal theming in D7 is a hodgepodge of too many APIs. See this helpful diagram for more information (image by John Wilkins).
We outlined how Twig solves a great deal of these issues at BADCamp 2012. But can template variables be smarter? While Twig is well underway to change the syntax of how we write markup, we have much bigger ideas for what it means to render content.
### Goal:
Imagine having template variables that simply would know how to format themselves:
{{ link }}
or
or
This would be awesomesauce, no?
### Proposed solution:
This session will summarize and boil down some of the ideas of https://github.com/c4rl/renderapi into an approachable and thought-provoking exploration.
Rethinking render()