Blog

Using eWebmachine to create a link shortener (part 4)

Posted on October 21, 2014 by Clive

In the previous posts, we have been using the temporary Erlang Term Storage or ETS to store the data. As this is an in-memory store, any data that is stored is lost whenever the application is stopped. In this post, we will look to change this and make the data persist between application restarts…

Using eWebmachine to create a link shortener (part 3)

Posted on October 12, 2014 by Clive

In the last of these articles on the link shortener, I am going to discuss static assets. There are two ways of serving static assets - through a webserver like Apache (Apache Webserver) or using Webmachine. We'll add some simple static serving capability to the project. First off add the following…

Using a template file with Elixir and Ewebmachine

Posted on September 29, 2014 by Clive

As an extension to the examples presented in my previous post: Basic templating with Elixir-Mustache, I am going to look at separating the HTML from the code. Usually this is done in the form of templates, and with Elixir and Mustache this is no different. Taking the last example of the previous…

Basic templating with Elixir-mustache

Posted on September 28, 2014 by Clive

This week I'll be looking at basic, inline templating using Mustache (Elixir-Mustache) within the context of Ewebmachine by way of an aside to the work that we have been doing on the link shortener as presented in my previous posts. Next week, I'll be looking at applying these concepts to the link…
  
DistortedThinking.Agency
Phone: +44 (0)7815 166434Email: clive@distortedthinking.agency
www.distortedthinking.agency