Jump to ratings and reviews
Rate this book

Elixir Cookbook

Rate this book
Unleash the full power of programming in Elixir with over 60 incredibly effective recipesAbout This BookUse Elixir to solve common problems associated with scalability, concurrency, fault tolerance, and high availabilityFrom command line to external API interaction, experience the joy of using this new languageExplore the concepts of data structures, immutability, and data transformation with the help of practical recipesWho This Book Is ForThis book is intended for users with some knowledge of the Elixir language syntax and basic data types/structures. Although this is a cookbook and no sequential reading is required, the book’s structure will allow less advanced users who follow it to be gradually exposed to some of Elixir’s features and concepts specific to functional programming. To get the most out of this book, you need to be well versed with Erlang.

What You Will LearnUtilize Erlang code seamlessly from Elixir, leveraging a huge amount of battle-tested librariesUse the Mix tool to generate applications and manage dependenciesCreate modules and functions and use them from different machines, taking advantage of Elixir's integrated distribution mechanismImplement OTP behaviors in ElixirPackage and deploy applications on running systemsWork with the Phoenix framework to generate a basic web applicationInteract with external programs and APIsServe static files and implement websocketsIn DetailThis 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.

238 pages, Kindle Edition

First published February 19, 2015

1 person is currently reading
12 people want to read

About the author

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
0 (0%)
4 stars
3 (30%)
3 stars
5 (50%)
2 stars
1 (10%)
1 star
1 (10%)
No one has reviewed this book yet.

Can't find what you're looking for?

Get help and learn more about the design.