Technical requirements
This chapter is filled with a lot of iex
examples, along with the usual Elixir code snippets. To get the most out of this chapter, I recommend following along with all the iex
examples and trying to change a few things to see how that changes the final results.
Just like the rest of this book, this code in this chapter was run using Elixir 1.12.x
and Erlang 23.2.x
.
This chapter is one of the harder chapters to understand in this book because of the nature of metaprogramming. Therefore, reading it multiple times and experimenting with the code in the chapter is the key to setting up a good metaprogramming foundation for the rest of the book.
The code examples for this chapter can be found at https://github.com/PacktPublishing/Build-Your-Own-Web-Framework-in-Elixir/tree/main/chapter_08