logo
  • Start here
  • Episodes
  • Log in
  • Sign up

Using Elixir macros to simplify our views

Topics:
Meta
Web Frameworks
Macros
Views

Building the Alchemist Camp website, Part 8.

Let's write some macros and make a lean view layer! We split our "kitchen sink controller" into reasonable framework abstractions for controllers and views and then take advantage of this work to create an episode controller for Alchemist.Camp.

Update: The var!() is unneeded since we don't need to modify name or assigns outside the macro.

Share

Back to index
Alchemist Camp 2017-2018
Interested in freelancing?
Terms and Conditions