AC7: Creating controllers for a Cowboy web server
Building the http://Alchemist.Camp website, Part 7. It’s time to make controllers.
Our router was starting to look like a kitchen sink so we factored a controller out of the app and started pulling some code into a framework. This required the use of simple macros.
Read next Elasticsearch