Image for post
Image for post

Elixir: the new kid in town

Functional Programming strikes back!

Theorem
Theorem
Sep 8, 2015 · 8 min read

What is Elixir?

Dummy Application

Installation

$ brew install elixir
$ brew install node
$ mix local.hex 
$ mix archive.install https://github.com/phoenixframework/phoenix/releases/download/v0.15.0/phoenix_new-0.15.0.ez

Creating the application

$ mix phoenix.new /tmp/random_movies 
$ mix phoenix.new random_movies
$ mix phoenix.new random_movies --no-ecto 
$ cd random_movies
$ mix do deps.get, compile
Image for post
Image for post
get "/", PageController, :index
get "/:query", PageController, :index

Use the application

Source Code


Theorem

We are an engineering and innovation firm.

Theorem

Written by

Theorem

Innovate like a startup even if you aren’t one

Theorem

Theorem

We are an engineering and innovation firm. We solve complex business problems through optimization of process, technology, and culture.

Theorem

Written by

Theorem

Innovate like a startup even if you aren’t one

Theorem

Theorem

We are an engineering and innovation firm. We solve complex business problems through optimization of process, technology, and culture.

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch

Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore

Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store