Re:HTML as a programming language – unifying HTML with Erlang
by aikah on Tuesday March 17, 2015 @01:23AM
(#9216405)
> I have always found something really off putting about mixing html with programming languages. Whether it be HAML or Rails or really anything.
You could use XSL , i'm pretty sure you never do that.
Any solution that relies on "templating" involves logic in templates. And templating languages are there because they ALLOW separation of concern. A template is independent from the controller that called it. They just share a contract at the data level.
You could use XSL , i'm pretty sure you never do that.
Any solution that relies on "templating" involves logic in templates. And templating languages are there because they ALLOW separation of concern. A template is independent from the controller that called it. They just share a contract at the data level.