Day 2: Building Apps
Yesterday we saw most of the pieces we’ll need to build a link shortener, and today we’ll put those pieces together to build the first version of it, called Petite.
Today we’ll also look at basic front-end tasks with Webmachine and related libraries as we build a web UI for Petite. You’ll see how to integrate HTML templating into a Webmachine resource with mustache.erl, a Mustache template implementation for Erlang.
Webmachine makes it easy to handle different types of incoming data to support both human and API use of the same resource. You’ll discover that representations of incoming data and the resource itself are important parts of Webmachine.
We’ll apply what we learned yesterday to build ...