#Code Elixir LDN

Media

An event-driven approach to building Elixir applications

Article by Ben Smith

We experience the real world by reacting to events that have occurred, what if we modelled our Elixir applications in the same way? Event sourcing is an approach where application state changes are modelled as an immutable series of application-specific domain events over time. Changes made by end users of such applications are recorded as new events. Unlike in a traditional CRUD application, where updates and deletes are destructive operations, events are never deleted. OBJECTIVES Introduce the concept of event sourcing with a practical application in Elixir. Talk covers the how, why, and why not to apply an event-driven approach to building your Elixir applications and services. AUDIENCE Anyone interested in discovering how the simple concept of using domain events to capture state changes can bring tangible benefits to application development.

READ MORE

Do you know the answer to this Elixir Challenge?

Article by Martin Gausby

Elixir has a concept of protocols which provide polymorphism on data types and structures. In our example we pipe the result of generating a MapSet into the to_list/1 function on the Enum module. Enum is a module containing functions that work on data types implementing the Enumerable protocol; examples of these are lists, maps, and ranges.

READ MORE

Problems and Solutions: Elixircards coding quiz at Code Elixir LDN 2019

When a list in Elixir contains tuples, where the first element is an atom and the second element is a value of any term, it is considered a keyword list. Keyword lists have a special visual representation, and the square brackets can be omitted if the keyword list is the last argument of a function or macro call, or is the last element in a tuple.

READ MORE

Building Blockchain in Elixir

Article by Philipp Piwowarsky

Building Blockchain in Elixir At æternity we chose Elixir to build an alternative implementation of our blockchain protocol. We’ve had a lot of good experiences with this choice, and few bad ones.

READ MORE

Top 10 Elixir conferences in 2018

2018 was an incredible year for sharing knowledge and experience within the Elixir community, and the year has no signs of letting up! Here's a roundup of the exciting events covering Elixir and Phoenix which have caught our eye for the rest of 2018!

READ MORE

Successful Companies Use Erlang and Elixir

Companies choose Erlang and Elixir, because of the ease with which fault-tolerant and scalable programs deployable in a distributed network can be written. Erlang and Elixir are both functional languages that can use an Actor system to simplify the handling of concurrency and make error recovery possible. They are able to take full advantage of multicore computing, allowing more to be done with less. We are also now seeing a wider adoption of Elixir in production, especially for those companies more used to the syntax of Ruby.

READ MORE
BACK TO ALL MEDIA