Upgrade Releases with Edeliver

Check out the last part of this Elixir deployment mini-series with this article on building and deploying upgrade releases with edeliver.

Serving encoded JSON with POISON

When building JSON APIs you often find yourself in a situation when you have part of the JSON already encoded and want to embed it in a bigger structure. A common solution is to decode the encoded part and embed the outer structure just to encode it back again. It’s obvious how that back-and-forth decoding and encoding is wasteful. Fortunately with poison we have a much better alternative.

http://michal.muskala.eu/2017/01/25/serving-encoded-json-with-poison.html

Flowex - Railway Flow-Based Programming with Elixir GenStage

Flowex is a set of abstractions build on top Elixir GenStage which allows writing program with Flow-Based Programming paradigm. I would say it is a mix of FBP and so-called Railway Oriented Programming (ROP) approach. Flowex DSL allows you to easily create “pipelines” of Elixir GenStages.

More details here: https://github.com/antonmi/flowex

Erlang & Elixir Conference at Buenos Aires

Erlang & Elixir Factory is finally reaching South America!! And I wrote a blog post about it :P

Join us next June 29th/30th! It will be great!

You can buy Super Early Bird tickets starting today through the official site.

We also welcome sponsors :)

Integration Testing Phoenix with Wallaby

Tutorial on writing integration tests for Phoenix apps with Wallaby:

https://semaphoreci.com/community/tutorials/integration-testing-phoenix-with-wallaby

Key transformation after decoding json in Elixir

Useful when you want to transform your input data right after decoding json into Elixir: http://minhajuddin.com/2017/01/24/key-transformation-after-decoding-json-in-elixir/

Credo v0.6.0 released

I just released v0.6.0 of Credo, the static code analysis tool emphasizing code consistency and teaching.

Defql: create Elixir functions with SQL as a body

The module that provides macros to create functions with SQL as a body.

Blog post about the library: https://blog.fazibear.me/sql-queries-as-elixir-functions-5f8b1d67169e

Github repo: https://github.com/fazibear/defql

ExTrello - wrapping the Trello API

A simple library to make integration with Trello in your Elixir application easier.

PRs/Issues welcome!

Github | Hex

HTML parsing in Elixir with leex and yecc

As part of my attempt to build a text-based web browser, I needed an HTML parser I could use from Elixir.

Rather than jump straight into an existing solution, I decided to see how writing a parser with leex and yecc would go (ultimately deciding a library was a better option).

Using Elixir's GenStage and Flow to build product recommendations

A real-world example of building a computational parallel pipeline using Flow.

Crowdsourcing product mentions, applying sentiment analysis, and scoring to rank products. Used to build the Start learning Elixir recommendation website.

Step-by-step guide to building, visualising and optimising a pipeline built with the new Flow library.

Agent Obsession: The Elixir Anti-Pattern I fell into and how to avoid it.

A blog post I wrote up describing the Elixir Anti-Pattern I fell into while building my first process heavy application and how other folks new to the language can avoid it.

https://medium.com/@tony_winn/agent-obsession-a92efd5c23ab

Eliver: Interactively bump the version of any mix project

A project I started a few months back to learn Elixir.

https://github.com/glasnoster/eliver

Simplifying Elixir Releases with Edeliver

Check out this article about using edeliver to simplify your Distillery-powered Elixir releases.

OK 1.3.0: Added `with` special form for `:ok/:error` tuples

Improved sugar for combining multiple functions that may fail. Very useful in clearing up code with a high branching factor due to error cases. Works by considering tagged tuples as a result monad and providing the relative for comprehension.

https://github.com/CrowdHailer/OK

https://elixirforum.com/t/experimental-alternative-to-with-help-with-naming/3264/9

A simpler way to generate an incrementing version for elixir apps

http://minhajuddin.com/2017/01/18/a-simpler-way-to-generate-an-incrementing-version-for-elixir-apps/

Live Like a Hippy - First StLouis Elixir Meetup

St Louisans: Come join us on Monday, February 20th, for a dry run of the talk @adkron will be giving at @ElixirDaze.

https://www.meetup.com/StL-Elixir/events/236734871/

Bottling Elixir with Docker - Part 1

Blog post describes how to build an Elixir release and save it to the local file system using Distillery and Docker.

https://paullamb.exposed/blog/2017/1/11/bottling-elixir-with-docker-part-1

Reusable Templates in Phoenix

In this blog post, I show how to make your server-rendered templates reusable in a way similar to React:

http://blog.danielberkompas.com/2017/01/17/reusable-templates-in-phoenix.html

Elixir deployment & clustering with Docker & Rancher

Two posts about Elixir deployment using Docker and Rancher. Also introduction to mix_docker package.

Part 1: Docker in production - http://teamon.eu/2017/deploying-phoenix-to-production-using-docker/

Part 2: Clustering nodes with Rancher - http://teamon.eu/2017/setting-up-elixir-cluster-using-docker-and-rancher/

Previous page Next page