This book introduces you the language and let you learn:
Learning the idioms, the good way and best practices to get real and production code.
Not only about processes, we also review some important modules and how to work with dates, files, ETS, DETS and much more.
We talk about processes and then nodes and how to work with them.
And most important, we talk about real code and how to release and hot-upgrade your projects.
Here you can check it out what you can find inside of the book, chapter by chapter and some extracts if you want jump into the reading right now.
Date and times, definition of monotonic time, how works the time and time measurement in Erlang and important changes in OTP 18.
Arithmetic and logic expressions, operators precedence, pattern matching, control flow structures (case and if), comprehension lists and functional blocks.
Code organization, functions scope, polymorphism and pattern matching, guards, closures, functional programming, recursivity and built-in functions.
Process anatomy, advantages and disadvantages of the Erlang process system, spawn, registering processes with names and process communication, link processes, monitoring processes, reloading code, nodes and remote process calling.
How to use ETS and DETS, create, remove and look up for information. Handling files individually (create, read, write and remove) and inside of a directory (active working directory, create directory, list and remove directories).
Communication network concepts, creation of clients and servers for TCP and UDP protocols and concurrent connections using TCP.
At last we'll give a tour to the Erlang ecosystem. We will learn to develop a project using rebar3 as main tool to create the project and create releases and hot-upgrades for our code.
* eBook includes PDF & ePUB versions
“It was a terrific and well written book. I found it a pleasure to read and extremely informative. While I've read several books on Erlang, I find Manuel's presentation excellent, thorough and well thought out. I have started Volume II and so far am not disappointed. I look forward to reading the entire book. I wish that I had his books available a few years ago when I started with Erlang. I believe I would be much farther along than I am now in my understanding and proficiency with the Erlang had I read his books when I started.”