Elixir Cookbook

More Information
  • Utilize Erlang code seamlessly from Elixir, leveraging a huge amount of battle-tested libraries
  • Use the Mix tool to generate applications and manage dependencies
  • Create modules and functions and use them from different machines, taking advantage of Elixir's integrated distribution mechanism
  • Implement OTP behaviors in Elixir
  • Package and deploy applications on running systems
  • Work with the Phoenix framework to generate a basic web application
  • Interact with external programs and APIs
  • Serve static files and implement websockets

This book is a set of recipes grouped by topic that acts as a good reference to get ideas from or to quickly search for a solution to a problem. You will begin by launching an IEx session and using it to test some ideas. Next, you will perform various operations like loading and compiling modules, inspecting your system, generating a supervised app, and so on. Furthermore, you will be introduced to immutability, working with data structures, performing pattern matching, and using stream modules to generate infinite data sequences. You will learn about everything from joining strings to determining the word frequency in text. With respect to modules and functions, you will also discover how to load code from other modules and use guards and pattern matching in functions.

  • Use Elixir to solve common problems associated with scalability, concurrency, fault tolerance, and high availability
  • From command line to external API interaction, experience the joy of using this new language
  • Explore the concepts of data structures, immutability, and data transformation with the help of practical recipes
Page Count 236
Course Length 7 hours 4 minutes
ISBN 9781784397517
Date Of Publication 19 Feb 2015


Paulo A Pereira

Paulo A Pereira is a journalist and senior software engineer with a background in Grails and Rails. He fell in love with Elixir and has a passion for exploring new technologies and keeping himself up to date with the industry's developments.

Paulo previously worked as a consultant and lead developer for Mediadigital, implementing Grails and Rails solutions, and he is currently working at Onfido Background Checks, a London-based tech start-up that is proving to be a key player in the background checking industry.