Posts tagged "elixir"
Okay, you’ve been delving into Elixir. That’s good! 🙂 Of course the first question that pops up in your head is not about immutability, concurrency nor functional programming. It is How can I quit the Elixir shell? Today this question will be answered. Ctrl-C When you start your iex sessions, you are greeted with: Interactive … »
Tags: elixir, Posted in English, 6 Comments »
Hello everyone, We are really glad to announce that Ecto 2.0.0-beta.0 has been released. The upcoming Ecto version packs many goodies: We have migrated to DBConnection, which considerably improves the performance of how Ecto manages connections to the database as a whole. Improved pool management, faster encoding/decoding, support for prepared queries and more The effective … »
Tags: ecto, elixir, phoenix, Posted in English, 11 Comments »
Writing tests is an important step in software development and everyone knows the benefits. In our last post, we took a look on how to write acceptance tests in Phoenix and today we will see how to configure CI to run the tests. Install Erlang and Elixir We use Jenkins to run ours builds and … »
Tags: elixir, phoenix, tests, Posted in English, Comments Off on How to setup CI to run Phoenix projects
With Rails 5 soon to be released, many developers are planning to further explore Action Cable and add stateful features to their web applications via WebSockets. In this article we will highlight some points worth discussing when deploying such features. When we use HTTP, scaling horizontally and vertically is cheaper and easier as the server … »
Tags: elixir, phoenix, Posted in English, 4 Comments »
Acceptance testing seems to be in its first steps in the Elixir ecosystem, but there are already some cool libs that can help us out to do it. I’m going to show you how we did it with Hound. In this blog post, we’ll write a few acceptance tests for an expenses report listing page, … »
Tags: acceptance tests, elixir, phoenix, tests, Posted in English, 15 Comments »
Sometimes Erlang programmers are worried “Elixir variables may be the source of hidden bugs”. This article discusses those concerns and shows how variables in Erlang can produce related “hidden bugs”, some of those eliminated by Elixir. Before we start, a short disclaimer: Elixir does not have mutable variables, it has rebinding. Mutability is often associated … »
Tags: elixir, Posted in English, Comments Off on Comparing Elixir and Erlang variables