← All series

Series contents

Log in to track your progress

  1. 1. Making a site with just the Cowboy web server Episode
  2. 2. Deploying a simple Elixir app with Nanobox Episode
  3. 3. Building a router and handling static assets Episode
  4. 4. A minimal Plug.Conn clone to handle 404s Episode
  5. 5. Adding EEx templates to a Cowboy web server Episode
  6. 6. Catching EEx template errors and displaying them on the page Episode
  7. 7. Putting an Elixir OTP app in our Elixir OTP app Episode
  8. 8. Creating controllers for an Elixir web server Episode
  9. 9. Creating a DSL for our router Episode
  10. 10. Using Elixir macros to simplify our views Episode

Adding EEx templates to a Cowboy web server

This episode is part 5 in the Zero to Framework (building Alchemist Camp) series:

We add the ability to dynamically render and serve up EEx template files, without requiring a restart of the web server. In the process of building this, it was convenient to flesh out our minimal clone of Plug.Conn a little bit.


Note, there is a bug in the Cowboy routes seen in this video! See the first 90 seconds of this update.

Open standalone page ↗

No Comments