<p><pre><code> Defer view logic to CSS whenever possible.
Keep data in the HTML.
</code></pre>
Ugg, hate the idea of having logic in my CSS. CSS is for style information. How things should look, not what should be shown. "whenever possible" also rings alarm bells for me. There should be one place for logic.<p>HTML is also View if you ask me and I like to keep my Model separate from my View.<p>I dont know what people have against JavaScript. I say write more javaScript and less HTML and CSS.