Phoenix mitchellhanberg.com

Temple – an elegant HTML library for Elixir and Phoenix  ↦

Conventional template languages like EEx use a form of interpolation to embed a programming language into a markup language, which can result in some ugly code that can be difficult to write and debug.

Temple is written using pure elixir.

There are some good ideas here, for sure. (Click through for code samples.)

My concern with this (and with pretty much all non-HTML style template languages) is cognitive overhead for folks who’d rather be writing HTML. That being said, if I were creating a web app from scratch all by my lonesome, I’d 💯% give Temple a go.


Discussion

Sign in or Join to comment or subscribe

Player art
  0:00 / 0:00