HTML appeared in 1991 as a format for distributing scientific documents. JavaScript appeared in 1995 as a way to dynamically manipulate HTML. Since then, HTML and JavaScript have evolved into a capable and universal computing platform.
But it's also one of the most complex. Why?
HTML was not designed in anticipation of JavaScript, and JavaScript was not designed in anticipation of Ajax. Framework authors since the 90s have exhausted nearly every paradigm, from MVC to FRP, to fuse HTML and JavaScript into a coherent platform.
Hoplon proposes a different way to fuse them: by making them both different syntaxes for the same programming language, ClojureScript. In the Hoplon model, HTML elements are just functions and vice versa. Elements are created and composed functionally, and their states are coordinated with an abstract spreadsheet.
I'll explain Hoplon's core concepts and show, with code examples, how new degrees of concision and composition can be achieved using Hoplon.