Contenido
Introduction
-
IntroductionAbout the authors, the book, the volumes, nomenclature y acknowledges.
Capítulos
-
What you should know about Erlang extractoDefinitions of Erlang as language and platform, features, history, what was made with Erlang and the concurrency.
-
The Language extractoSyntaxis of the language, data types (atoms, integers and floats, variables, lists, tuples, records y maps), data conversion and printing to the screen.
-
Real TimeDate and times, definition of monotonic time, how works the time and time measurement in Erlang and important changes in OTP 18.
-
Expressions, Structures and ExceptionsArithmetic and logic expressions, operators precedence, pattern matching, control flow structures (case and if), comprehension lists and functional blocks.
-
Functions and ModulesCode organization, functions scope, polymorphism and pattern matching, guards, closures, functional programming, recursivity and built-in functions.
-
ProcessesProcess 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.
-
ETS, DETS and FilesHow 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).
-
CommunicationsCommunication network concepts, creation of clients and servers for TCP and UDP protocols and concurrent connections using TCP.
-
Erlang EcosystemAt 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.
Appendixes
-
Erlang InstallationErlang installation for Windows, Mac and GNU/Linux.
-
The commandlineWe will check the Erlang command line. This appendix is very useful to follow the samples along the book and perform the examples.
-
Graphic toolsThe graphic tools of Erlang let us connect to all of the nodes and even in production to analyze the system behaviour. We will see the toolbar, the applications monitor, the processes administrator, table viewer, debugger and a tool which try to put everything together: observer.