Re:Why the Elixir language has great potential
by da02 on Thursday December 22, 2016 @01:42AM
(#13235384)
I remember reading Phoenix had templating (eg HTML). Is Erlang/Elixir good for this? Or is it something better suited for NIF?
[ Parent
| on HN ]
Re:Why the Elixir language has great potential
by strange_aeons on Thursday December 22, 2016 @02:11AM
(#13235491)
Phoenix uses IO lists for very efficient templating.
Read more here https://www.bignerdranch.com/blog/elixir-and-io-lists-part-1... and in part 2.
Re:Why the Elixir language has great potential
by da02 on Thursday December 22, 2016 @02:36AM
(#13235599)
Thanks. This helps a lot even though I don't use Elixir or Erlang.
Re:Why the Elixir language has great potential
by yellowapple on Thursday December 22, 2016 @04:43AM
(#13236113)
Elixir itself ships with a module called EEx that should feel very familiar if you've used Ruby's ERB. There's also a HAML rendering library (Calliope) among others.