ScalaTags

Name
ScalaTags
Homepage
https://github.com/lihaoyi/scalatags
Description
Li Haoyi's implementation of a simple but radical idea: if you are writing a Scala program, instead of defining your HTML as strings, define it as actual Scala objects and then render it. This allows you to get the usual strong typing and solid error-checking of a real programming language, while still writing something that is still clearly going to become HTML. Rocket-fast, and allows you to render to strings, or directly to DOM objects if you are in Scala.js, making it a good alternative to jQuery.
As of this writing, the Querki client does everything with Scalatags, and the server is migrating in that direction. My expectation is that, in the long run, more or less all of our HTML will be generated this way. It requires a bit of brain readjustment to stop expecting all those angle brackets, but once you get the idea, it is much easier to build complex pages and part this way.